Talk:Installing Ubuntu 7.10 (Gutsy Gibbon) on a ThinkPad T61

From ThinkWiki
Revision as of 21:32, 28 August 2007 by Darrena (Talk | contribs)
Jump to: navigation, search

We should really just rename/move the old article which updates all the links etc.... This is especially helpfull since nobody is going to care about Tribe4/5/6 when the final is released!  ;-) Though it looks like the Wiki is smart enough to handle it all when I redirected the Tribe 4 page...

Noting things that work

Darren, I actually went through and took out all the notes for things that "just worked" (e.g. the Intel Video). It seems more logical to just list the problems. Gutsy on the T61 is coming together, and the page would be huge if we listed everything that worked.


Mike, I think that people would find it helpful if we note what works out of the box. If someone is looking at a T61 and sees a large number of "Just works" it will help them decide if the items they need to work are there. In a perfect world every item on this wiki would be "Just works!"  ;) --Darrena 21:59, 26 August 2007 (UTC)

Renaming vs Redirecting

I agree with you about the renaming vs redirecting though. When you search for 'Ubuntu T61' in Google, the links to this page are all screwy because of the redirects. This is my first time contributing to a wiki though, so I didn't know what I was doing.

The ALSA "hard" fix

Anyone want to test the latest incarnation of the ALSA "hard" fix to see if there are any problems? It should be easier than the "easy" fix now -- just open a terminal, copy-n-paste the commands as one big bunch, reboot, and you have sound. Plus, I don't think the Python hack gives you working headphones or microphone.

If nobody has problems with the "hard" fix, the "easy" fix should be removed. It's a nasty hack ;-)

The REAL "easy" fix for ALSA

I added an REAL easy fix from the Bug report from Tim Gardner with Canonical. I am archiving the other solutions here in case it doesn't work for everyone.

The old stuff from the ALSA section

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:

  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.

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:

  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.