Difference between revisions of "User:Nynexman4464/Installing Ubuntu 6.06 on a ThinkPad T23"

From ThinkWiki
Jump to: navigation, search
Line 1: Line 1:
{{Todo|This isn't really done, I just wanted a place to put what I had done so far.}}
 
 
It just works<sup>TM</sup>
 
 
 
==Summary==
 
==Summary==
 +
Installing Ubuntu 6.06 (dapper) on a [[:Category:T23|T23]] was straightforward.  Almost everything worked fine out of the box.
  
 
===What Works Out of the Box===
 
===What Works Out of the Box===
 
* Display
 
* Display
 
* Sound
 
* Sound
* Wireless
+
* Wireless ([[IBM High Rate Wireless LAN Mini-PCI Adapter with Modem|IBM High Rate Wireless LAN]])
 
* USB
 
* USB
 
* Proccessor frequency scaling
 
* Proccessor frequency scaling
Line 16: Line 13:
 
* Lid Switch
 
* Lid Switch
 
* Brightness (adjusts when on battery)
 
* Brightness (adjusts when on battery)
* Laptop-mode (after setting to true in /etc/default/acpi-support)
 
 
* Wired Lan
 
* Wired Lan
 
* External VGA
 
* External VGA
 +
* Serial Port
  
 
===What Works After Tweaking===
 
===What Works After Tweaking===
 
* Volume Buttons
 
* Volume Buttons
 +
* Laptop-mode
  
===Not Tested (yet)===
+
===Not Tested===
* IRDA
+
* [[IrDA]]
* PCMCIA
+
* [[PCMCIA]]
* UltraBay 2000
+
* [[UltraBay|UltraBay]] 2000 hotswapping
 
* Modem
 
* Modem
 
* TV Out
 
* TV Out
  
==Notes==
+
==Fixes After Installation==
====volume buttons====
+
 
Volume buttons were originally causing software mixer to change volume. As the T23 has a hardware mixer, this was causing the volume range to be reduced since both were adjusted at the same time.  Upon attempting to disable the adjustment I came across hotkey-setup and thinkpad-keys.  I ran them in an attempt to see what they didThe net effect of this was that it seemed to bork the configuration of the volume keys (ie, they didn't work)Although this is what I wanted, it wasn't the way I wanted to do it (I since discovered that the keys are configured under system->preferences->keyboard shortcuts).  The keys seem not to generate events any longer.  Warrants further investigation.
+
===Laptop-Mode===
 +
[[Laptop-mode]] appears to work fine, but is disabled by default.  To enable it edit {{path|/etc/default/acpi-support}} and set <tt>ENABLE_LAPTOP_MODE=true</tt>.  When your laptop goes on battery power it should be automatically enabled.
 +
 
 +
===Volume Buttons===
 +
The default installation maps the laptop's volume buttons to the software mixer. As the T23 has a hardware mixer, this was causing the volume range to be reduced since both were adjusted at the same time.  The simplest way to avoid this is to clear the keyboard shortcut that causes the software mixer to be adjustedThis can be done with the Keyboard Shortcut preference tool (System->Preferences->Keyboard Shorcuts), and hitting the backspace key when selecting volume mute, volume up and volume downThere is currenly a bug filed for this in the ubuntu bugtracker, but nothing has been done with it as of writing.
 +
 
 +
Another possibility is to use [[tpb]].  You can do this by typing {{cmduser|sudo aptitude install tbp}} in a terminal window (you could also use synaptic package manager).  This will cause the hotkey-setup and ubuntu-desktop packages to be uninstalled {{footnote|1}}.  Once installed tpb will show it's on screen display (OSD) when one of the special buttons is pressedThis worked when installed, but on a reboot, the OSD was no longer displayedI have not yet found the cause of this.
  
Installed tpb for the overlay, which uninstalled hotkey-setupOverlay worked the first time, but did not on subsequent reboots.
+
==Other Notes==
 +
===NetworkManager===
 +
[[NetworkManager]] is a utility that is meant to simplfy networking for laptop users, allowing easy and automatic switching between network connections.  It can be installed by typing {{cmduser|sudo aptitude install network-manager}} in a command prompt (you can also use synaptic).  In order for NetworkManager to detect all of the installed networking cards properly, you will need to edit {{path|/etc/network/interfaces}} and remove (or comment out) all the lines except
 +
auto lo
 +
iface lo inet loopback
 +
Once this is done a reboot should allow NetworkManager to detect all network cards (resetting dbus with {{cmduser|sudo /etc/init.d/dbus restart}} should work as well).  You can then pick which network to connect to the with the NetworkManager applet in the gnome system tray, or let NetworkManager pick one automaticallyUnfortunately, I could not get NetworkManager to connect to my AP when using [[WEP]], using either the [[orinoco]] or the [[hostap]] driver (the normal gnome network applet had no problems however), so I was unable to use it.
  
====wireless====
+
{{footnotes|
When I first installed ubuntu, I could not seem to get wireless to work (configuring it with system->administration->networking).  I gave up on it for a whileWhen I tried it again later on, it worked.  I didn't install any updates (since I had no network) so I assume it was probably me typing the WEP key incorrectly.
+
#hotkey-setup is the default package that handles the special keys on various laptops, and ubuntu-desktop is the special superpackage that depends on all the other packages in a standard ubuntu desktop installationBoth are safe to uninstall, however without ubuntu-desktop any packages added/removed to the default installation (say, on a distribution upgrade) won't automatically be installed.
 +
}}

Revision as of 19:31, 15 October 2006

Summary

Installing Ubuntu 6.06 (dapper) on a T23 was straightforward. Almost everything worked fine out of the box.

What Works Out of the Box

  • Display
  • Sound
  • Wireless (IBM High Rate Wireless LAN)
  • USB
  • Proccessor frequency scaling
  • Hibernate (suspend to disk)
  • Suspend (suspend to ram)
  • Function Buttons (generate ACPI events)
  • Lid Switch
  • Brightness (adjusts when on battery)
  • Wired Lan
  • External VGA
  • Serial Port

What Works After Tweaking

  • Volume Buttons
  • Laptop-mode

Not Tested

Fixes After Installation

Laptop-Mode

Laptop-mode appears to work fine, but is disabled by default. To enable it edit /etc/default/acpi-support and set ENABLE_LAPTOP_MODE=true. When your laptop goes on battery power it should be automatically enabled.

Volume Buttons

The default installation maps the laptop's volume buttons to the software mixer. As the T23 has a hardware mixer, this was causing the volume range to be reduced since both were adjusted at the same time. The simplest way to avoid this is to clear the keyboard shortcut that causes the software mixer to be adjusted. This can be done with the Keyboard Shortcut preference tool (System->Preferences->Keyboard Shorcuts), and hitting the backspace key when selecting volume mute, volume up and volume down. There is currenly a bug filed for this in the ubuntu bugtracker, but nothing has been done with it as of writing.

Another possibility is to use tpb. You can do this by typing $ sudo aptitude install tbp in a terminal window (you could also use synaptic package manager). This will cause the hotkey-setup and ubuntu-desktop packages to be uninstalled 1. Once installed tpb will show it's on screen display (OSD) when one of the special buttons is pressed. This worked when installed, but on a reboot, the OSD was no longer displayed. I have not yet found the cause of this.

Other Notes

NetworkManager

NetworkManager is a utility that is meant to simplfy networking for laptop users, allowing easy and automatic switching between network connections. It can be installed by typing $ sudo aptitude install network-manager in a command prompt (you can also use synaptic). In order for NetworkManager to detect all of the installed networking cards properly, you will need to edit /etc/network/interfaces and remove (or comment out) all the lines except

auto lo
iface lo inet loopback

Once this is done a reboot should allow NetworkManager to detect all network cards (resetting dbus with $ sudo /etc/init.d/dbus restart should work as well). You can then pick which network to connect to the with the NetworkManager applet in the gnome system tray, or let NetworkManager pick one automatically. Unfortunately, I could not get NetworkManager to connect to my AP when using WEP, using either the orinoco or the hostap driver (the normal gnome network applet had no problems however), so I was unable to use it.


FOOTNOTES [Δ]
  1. hotkey-setup is the default package that handles the special keys on various laptops, and ubuntu-desktop is the special superpackage that depends on all the other packages in a standard ubuntu desktop installation. Both are safe to uninstall, however without ubuntu-desktop any packages added/removed to the default installation (say, on a distribution upgrade) won't automatically be installed.