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

From ThinkWiki
Jump to: navigation, search
(Audio)
(Audio)
Line 9: Line 9:
 
== Audio ==
 
== Audio ==
  
Tim Gardner from Canonical posted test packages on the [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/122560 Launchpad bug report]:
+
Audio does not work out of the box. See the [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/122560 Launchpad bug report]. Here are two ways to get audio working:
  
'''This does not work on x86_64. Put the old instructions back in! Why is anyone even running i386 on a T61 anyway???'''
+
'''Method 1 (ONLY WORKS ON i386, NOT x86_64):''' Copy and paste the following commands into a terminal, entering your password when prompted:
  
'''All the instructions about how to get the get the speakers mapped to the thinkpad keys and the volume applet were removed also. Why?'''
+
cd
 +
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
 +
 
 +
Reboot the computer and sound should work.
 +
 
 +
'''Method 2 (works everywhere):''' Copy and paste the following commands into a terminal, entering 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 the computer and sound should work.
  
'''Ok, I found the old instructions. For everyone who is running x86_64, the solution below will not work. See the "discussion" page for a working method. The discussion page also shows you how to get your thinkpad volume keys working, and also fix the volume applet so it actually controls the speakers.''' (Still don't understand why people would be running i386 on this machine...)
+
===Enabling Sound and Fixing the Volume Controls===
  
wget http://people.ubuntu.com/~rtg/linux-ubuntu-modules-2.6.22-10-generic_2.6.22-10.24_i386.deb-122560.1
+
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:
sudo dpkg -i linux-ubuntu-modules-2.6.22-10-generic_2.6.22-10.24_i386.deb-122560.1
+
 
sudo reboot
+
# 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.
  
 
== Modem ==
 
== Modem ==

Revision as of 03:51, 29 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

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. See the Launchpad bug report. Here are two ways to get audio working:

Method 1 (ONLY WORKS ON i386, NOT x86_64): Copy and paste the following commands into a terminal, entering your password when prompted:

cd
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

Reboot the computer and sound should work.

Method 2 (works everywhere): Copy and paste the following commands into a terminal, entering 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 the 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 control 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 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:

  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