Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61
Contents
Video
Intel X3100 Works out of the box
Nvidia accelerated 3D support is not installed by default. To install 3D support click System->Administration->Restricted Drivers Manager
The Restricted Drivers Manager drivers didn't work for me, crashing X on reboot. This is a known bug [1]. The really quite easy solution was to install the latest Nvidia drivers using the ENVY script, which needs to be slightly edited to run on Gutsy... see this thread [2] at Ubuntu forums for details.
Audio
Easy Solution
Tim Gardner from Canonical posted test packages on the Launchpad bug report:
wget http:people.ubuntu.com/~rtg/linux-ubuntu-modules-2.6.22-10-generic_2.6.22-10.24_i386.deb-122560.1 sudo dpkg -i linux-ubuntu-modules-2.6.22-10-generic_2.6.22-10.24_i386.deb-122560.1 sudo reboot
Once this is done no further changes should be required.
Audio does not work out of the box. See the extended Launchpad bug report for details.
ALSA driver patch
This is the "proper" way to fix audio. Simply copy and paste the following commands into a terminal and all the work will be done for you. Note that you can copy and paste these as one big batch; there's no need to do it line by line. Just enter your password when prompted.
sudo apt-get install alsa-source cd && mkdir alsa-patched && cd alsa-patched tar -jxvf /usr/src/alsa-driver.tar.bz2 cd modules/alsa-driver/ wget -O alsa-kernel/pci/hda/patch_analog.c http://launchpadlibrarian.net/9021234/patch_analog.c ./configure --with-cards=hda-intel && make sudo make install sudo cp ./modules/snd-hda-intel.ko /lib/modules/$( uname -r )/ubuntu/media/snd-hda-intel/ sudo depmod -a
Reboot and sound should work. If for some reason this does not work, please make a note of what went wrong in the "Discussion" section of this wiki, and see the Python hack below.
Enabling Sound and Fixing the Volume Controls
By default, the sound may be disabled and the volume control buttons on the laptop (up by the ThinkVantage button) and the volume control applet (up by the clock) will not control the speaker volume. To fix this:
- Right-click on the volume control applet (by the clock) and select "Open Volume Control"
- In the "Switches" tab, make sure "Headphone" and "Speaker" are both checked.
- Close the Volume control.
- Right-click on the volume control applet again and select "Preferences".
- Make sure the device is set to "HDA Intel (Alsa mixer)" and highlight the "PCM" option.
- Close the preferences.
- Select System->Preferences->Sound.
- In the "Default Mixer Tracks" section, make sure "PCM" is highlighted.
- Close the sound preferences.
You should now hear sound and be able to control the volume using the laptop buttons or volume applet.
Python script hack
This is a nasty hack for getting audio working. It will only enable internal audio; the headphones and microphone jacks will still not function. This should only be used as a last resort if you have trouble with the ALSA driver patch commands above:
- Download the T61 audio hack from Launchpad. Move it to a convenient folder (e.g., not your desktop).
- Go to System -> Preferences -> Sessions -> Startup Programs -> Add.
- Name it whatever you want. Choose something simple like "Python audio fix."
- Go to Command, and enter the following (with quotation marks):
gksudo "[THE FOLDER THAT T61_AUDIO_HACK.PY IS IN]/t61_audio_hack.py"
For example, on my computer, I put t61_audio_hack.py into the /fixes folder in my home folder, so I entered:
sksudo "/home/sims/fixes/t61_audio_hack.py"
into the Command textbox.
- Log out, log back in, and type your password quickly when prompted the second time.
Modem
The modem works with the Linuxant drivers available at http://www.linuxant.com
Fingerprint Reader
The reader works with ThinkFinger. Instructions.
Trackpad scrolling
Trackpad scrolling works out of the box in the standard thinkpad way: Slide your finger up and down the very right edge of the trackpad.
To enable using the middle mouse button to scroll, add the following lines to the "Configured Mouse" section in /etc/X11/xorg.conf:
Option "EmulateWheel" "true" Option "EmulateWheelButton" "2"
Suspend/Hibernate
Hibernate works fine, but when resuming from a suspend the backlight doesn't come back on, making it nearly impossible to see anything on the screen. Switching to a console (Ctrl-Alt-F1) and then back to X (Ctrl-Alt-F7) brings the screen back to life. Launchpad bug report.
Fonts on High-Res Screens
On high-res screens (e.g. 15" 1680x1050), the default fonts are too big. You can fix this by following these steps:
- Open System->Preferences->Appearance
- Select the "Fonts" tab
- Click the "Details" button (lower right)
- Adjust the Resolution down until fonts look how you like them (96dpi is a common standard)
- Make sure you have Subpixel (LCD) Smoothing enabled
- Close the Details window and adjust the Application, Document, Desktop, etc fonts as desired (I set them all to 10).
Brightness
The brightness controls (Fn-Home, Fn-End) don't seem to work reliably (if at all), and the brightness dialog box occasionally will pop up at random or "stick" on the screen, often causing the screen to flicker. Messing around with the brightness controls (Fn-Home, Fn-End) will usually make the dialog to go away and the flickering stop. Launchpad bug report.
With the Nvidia card to increase/decrease brightness hit Ctrl+Alt+F1 to drop to a virtual console, change the brightness and hit Ctrl-Alt-F7 to return to Gnome. This can be done without affecting running applications.
If you install the Gnome Brightness Applet, it'll give you an easy way to change the brightness from within Gnome:
- Right-click on the top menu bar.
- Select "Add to Panel".
- Scroll down to the "System & Hardware" section.
- Highlight the "Brightness Applet" and click the "Add" button.
Using this applet often results in the "flickering screen syndrome" described above, but jiggling the brightness slider a little will cause this flickering to stop.