Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61

From ThinkWiki
Revision as of 12:52, 26 August 2007 by TonyS (Talk | contribs) (Video)
Jump to: navigation, search

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

Audio does not work out of the box. There are a few different ways to fix this:

Python script fix (easy fix, recommended for most users)

  1. Download the T61 audio hack from Launchpad. Move it to a convenient folder (e.g., not your desktop).
  2. Go to System -> Preferences -> Sessions -> Startup Programs -> Add.
  3. Name it whatever you want. Choose something simple like "Python audio fix."
  4. 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.

  1. Log out, log back in, and type your password quickly when prompted the second time.

References: Launchpad Bug #122560 Launchpad Bug #133105

ALSA driver patch (hard fix, recommended for advanced users)

Either download and compile ALSA from CVS, or apply the ALSA 1.0.14 patches posted in the Launchpad bug report.

Another solution is to download Alsa 1.0.14 and replace patch_analog.c with the patch_analog.c found in ciphermonk's Fedora on a T61 guide.

wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.14.tar.bz2
wget http://forums.fedoraforum.org/attachment.php?attachmentid=12630
tar -jxvf alsa-driver-1.0.14.tar.bz2
tar -zxvf patch_analog.c.tar.gz
cp patch_analog.c alsa-driver-1.0.14/alsa-kernel/pci/hda/
cd alsa-driver-1.0.14
./configure && make
sudo make install

Then, add the following line to /etc/modprobe.d/alsa-base

options snd-hda-intel index=0 model=thinkpad

Reboot your computer and sound should work.

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:

  1. Right-click on the volume control applet (by the clock) and select "Open Volume Control"
  2. In the "Switches" tab, make sure "Headphone" and "Speaker" are both checked.
  3. Close the Volume control.
  4. Right-click on the volume control applet again and select "Preferences".
  5. Make sure the device is set to "HDA Intel (Alsa mixer)" and highlight the "PCM" option.
  6. Close the preferences.
  7. Select System->Preferences->Sound.
  8. In the "Default Mixer Tracks" section, make sure "PCM" is highlighted.
  9. Close the sound preferences.

You should now hear sound and be able to conrol the volume using the laptop buttons or volume applet.

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 in your Trackpoint InputDevice section in /etc/X11/xorg.conf:

   Option    "EmulateWheel"          "true"
   Option    "EmulateWheelTimeOut"   "200"
   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:

  1. Open System->Preferences->Appearance
  2. Select the "Fonts" tab
  3. Click the "Details" button (lower right)
  4. Adjust the Resolution down until fonts look how you like them (96dpi is a common standard)
  5. Make sure you have Subpixel (LCD) Smoothing enabled
  6. 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:

  1. Right-click on the top menu bar.
  2. Select "Add to Panel".
  3. Scroll down to the "System & Hardware" section.
  4. 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.

T61