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

From ThinkWiki
Jump to: navigation, search
Line 23: Line 23:
 
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.
 
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.
+
It doesn't work for anyone who is using x86_64, which should be pretty much anyone using this laptop. (Why would anyone install i386 on this machine?)
  
Audio does not work out of the box. See the extended [https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/122560 Launchpad bug report] for details.
+
I'm restoring the original instructions, as well as the instructions on how to map the Thinkpad keys and volume applet to the speaker.
 
 
===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 [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>
 
# Go to System -> Preferences -> Sessions -> Startup Programs -> Add.<br>
 
# Name it whatever you want. Choose something simple like "Python audio fix."<br>
 
# 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>
 
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>
 
# Log out, log back in, and type your password quickly when prompted the second time.
 

Revision as of 03:46, 29 August 2007

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.


It doesn't work for anyone who is using x86_64, which should be pretty much anyone using this laptop. (Why would anyone install i386 on this machine?)

I'm restoring the original instructions, as well as the instructions on how to map the Thinkpad keys and volume applet to the speaker.