Difference between revisions of "Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61"

From ThinkWiki
Jump to: navigation, search
m (Python script fix (easy fix, recommended for most users))
(Audio)
Line 6: Line 6:
  
 
== Audio ==
 
== 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)===
 
===Python script fix (easy fix, recommended for most users)===
1) Download the [http://launchpadlibrarian.net/8899521/t61_audio_hack.py T61 audio hack] from [[Launchpad]]. Move it to a convenient folder (e.g., not your desktop).<br>
+
# Download the [http://launchpadlibrarian.net/8899521/t61_audio_hack.py T61 audio hack] from [[Launchpad]]. Move it to a convenient folder (e.g., not your desktop).<br>
2) Go to System -> Preferences -> Sessions -> Startup Programs -> Add.<br>
+
# Go to System -> Preferences -> Sessions -> Startup Programs -> Add.<br>
3) Name it whatever you want. Choose something simple like "Python audio fix."<br>
+
# Name it whatever you want. Choose something simple like "Python audio fix."<br>
4) Go to Command, and enter the following (with quotation marks):
+
# Go to Command, and enter the following (with quotation marks):
 
<pre>gksudo <nowiki>"[THE FOLDER THAT T61_AUDIO_HACK.PY IS IN]</nowiki>/t61_audio_hack.py"</pre>
 
<pre>gksudo <nowiki>"[THE FOLDER THAT T61_AUDIO_HACK.PY IS IN]</nowiki>/t61_audio_hack.py"</pre>
 
For example, on my computer, I put t61_audio_hack.py into the /fixes folder in my home folder, so I entered:
 
For example, on my computer, I put t61_audio_hack.py into the /fixes folder in my home folder, so I entered:
 
<pre>sksudo "/home/sims/fixes/t61_audio_hack.py"</pre> into the Command textbox.<br>
 
<pre>sksudo "/home/sims/fixes/t61_audio_hack.py"</pre> into the Command textbox.<br>
5) Log out, log back in, and type your password quickly when prompted the second time.
+
# Log out, log back in, and type your password quickly when prompted the second time.
  
 
References:
 
References:
Line 21: Line 23:
 
[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/133105 Launchpad Bug #133105]
 
[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/133105 Launchpad Bug #133105]
  
===ALSA driver (hard fix, recommended for advanced users)===
+
===ALSA driver patch (hard fix, recommended for advanced users)===
Audio does not work out of the box. You need to either download and compile [http://alsa.opensrc.org/index.php/AlsaCVS ALSA from CVS], or apply the ALSA 1.0.14 patches posted in the  
+
Either download and compile [http://alsa.opensrc.org/index.php/AlsaCVS ALSA from CVS], or apply the ALSA 1.0.14 patches posted in the  
 
[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/122560 Launchpad bug report].
 
[https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/122560 Launchpad bug report].
  
Line 36: Line 38:
 
Then, add the following line to /etc/modprobe.d/alsa-base
 
Then, add the following line to /etc/modprobe.d/alsa-base
 
  options snd-hda-intel index=0 model=thinkpad
 
  options snd-hda-intel index=0 model=thinkpad
Reboot and open Gnome Volume ControlIn the Switches tab, make sure Speaker and Headphone are both checked. The sound hotkeys may not work correctly by default. To fix them, go to System -> Preferences -> Sound. Under Default Mixer Tracks, choose PCM.
+
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:
 +
# 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.
 +
# Select System->Preferences->Sound.
 +
# In the "Default Mixer Tracks" section, make sure "PCM" is highlighted.
 +
# You should now hear sound and be able to conrol the volume using the laptop buttons or volume applet.
  
 
== Modem ==
 
== Modem ==

Revision as of 19:10, 25 August 2007

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

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. Select System->Preferences->Sound.
  5. In the "Default Mixer Tracks" section, make sure "PCM" is highlighted.
  6. 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) and moving the cursor around the screen 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