Installing Ubuntu 7.10 (Gutsy Gibbon) Tribe 4 on a ThinkPad T61

From ThinkWiki
Revision as of 20:21, 23 August 2007 by Darrena (Talk | contribs) (Video)

Jump to: navigation, search

Initial Install

Issue #1: The initial install from the live CD graphical installer does not work if the laptop is in SATA AHCI mode. You have to go into the BIOS (Press the ThinkVantage button almost as soon as you turn on your computer) and set the SATA controller to "Compatibility" mode or else you get a "can't access tty" error. After Ubuntu is installed and you've done an "apt-get update" you can -- and should -- set the controller back to AHCI mode.

Issue #2: The initial install from the live CD graphical installer hangs with a blank tan screen after gdm loads. It is clear that gdm is running, but the desktop never actually loads. The solution is to:

EITHER

  1. switch to a console (Ctrl-Alt-F1)
  2. type "sudo bash"
  3. type "killall gdm"
  4. type "/etc/init.d/gdm start"

Note that typing "/etc/init.d/gdm stop" does not work for step 3 -- you must run "killall gdm".

OR

  1. Simply (Ctrl-Alt-Backspace) which will kill gdm, and bring you back to the login screen. Login as normal now.

Video

You can access a good tool for changing video (and for that matter, keyboard and many other devices) options by running the following in the terminal (Applications -> Accessories -> Terminal):

sudo dpkg-reconfigure xserver-xorg

Intel:

At higher resolutions, the gnome toolbars function in a smaller area than the rest of the desktop. This is because the TV output is turned on. If you see the login screen show up in the top-left corner of the screen, taking up only 2/3 of the screen, then you have this issue and you'll need to disable the TV output.

To turn the TV output off and fix the small desktop issue, add the following section in /etc/X11/xorg.conf.

 Section "Monitor"
   Identifier "TVOutput"
   Option "Disable" "true"
 EndSection

and then in the Device Section, add the option:

 Option "monitor-TV" "TVOutput"

Reference: [1]

Nvidia:

NOTE!
As of August 22nd the latest Nvidia driver is available via Restricted Driver Manager and the steps below are not required.


If you would like 3D acceleration then you must download and install the proprietary drivers from Nvidia here: http://www.nvidia.com/object/unix.html

To install these drivers:

  1. install build-essentials from Synaptic
  2. Download the drivers from the link above to your home directory
  3. When the download completes hit Ctrl-ALT-F1 to drop to a console.
  4. Login and type:
    1. sudo /etc/init.d/gdm stop
    2. sudo sh NVIDIA-Linux-x86-100.14.11-pkg1.run

If the file you download is newer that 100.14.11 make sure you modify the command appropriately

When asked, permit the installer to modify xorg.conf

Reboot: # sudo shutdown -r now

NOTE!
With each new Kernel release this process must be repeated except you should tell the installer to not update xorg.conf

Audio

Audio does not work out of the box. You need to download and compile ALSA from CVS

Also look at Ubuntu Launchpad bug# 122560 for the relevant patches to apply over Alsa driver 1.0.14 if you do not want to use the CVS version.

Wireless:

Thinkpad 11A/B/G

The Atheros card works with the Madwifi driver included as part of the Restricted-Modules package in Gutsy and should be installed by default


Intel IWL4965 A/G/N

The iwlwifi driver included in Gutsy often stops transmitting or receiving after an hour or so. This issue can be resolved by installing iwlwifi 1.0.0-1. Go here for installation instructions.

Fingerprint Reader

The reader works with ThinkFinger, see instructions at: [2]

Trackpad scrolling

To enable using the middle mouse button to scroll add the following in your Trackpoint section in /etc/X11/xorg.conf /etc/X11/xorg.conf:

       Option          "EmulateWheel"          "on"
       Option          "EmulateWheelButton"    "2"

Trackpad scrolling works out of the box for me in the standard thinkpad way: slide your finger up and down the very right edge of the trackpad --Plumpy 23:04, 16 August 2007 (UTC)

Bugs

Font Issues on High-Res Screens

On high-res screens (15" 1680x1050), the default fonts are too bold above 8 or 9px (the exact number depends on the font). I have not heard people with normal-resolution screens complaining about this. You can easily see this by running gnome-specimen and gradually stepping up the font size. At some point (usually around 8-9px) the font will turn bold.

Suspend/Hibernate

Suspend has major problems. Suspend-to-disk always hangs, and the only suspend-to-ram command I've gotten to work at all is "s2ram -f -a1". About half the time s2ram never resumes, and usually when it fails to resume it just shows a blank console with "Linux!" written in the upper left. However, even when it does resume to the desktop, it invariably does something very odd: It *loses* a processor and a half. Before running s2ram you can do a "cat /proc/cpuinfo" (note the space after the word cat) and see two processors running at ~1800MHz, but after resuming from a s2ram, the same command will only show a single processor running at ~900MHz, and any further suspends will completely hang the system. Very bizarre.

Console Switching

After a while of running in X mode, it becomes impossible to switch to a console and see anything. I've not figured out any pattern here, but this is what eventually happens after a few hours: You do a Ctrl-Alt-F1 (or F2 or whatever) to go from X to a console, and all you see is a blank screen. The console is actually there and running -- you just cannot see it. You can log in blind and type commands into the console and they'll run just find; you just cannot see what you're doing.

Brightness

After installing the proprietary Nvidia drivers you will be unable to modify the brightness setting. A workaround is to drop into a text console by hitting ctrl-alt-F1, modify the brightness and then return to X windows with ctrl-alt-F7. Your X session will not be lost and you can do this with applications running.

Launchpad bugs related to the T61

General listing of issues: [3]

Update Nvidia GLX: [4]

Update ALSA to support the sound card in the T61: [5]

Brightness dialog doesn't always disappear: [6]

Wireless connection "Hangs" after a couple of hours

This is reported to be fixed in version 1.0.0.-1 to install this version follow the instructions below **Note, this did not fix it for me**:


Install the necessary prerequisites and get the directories symlinked right.

sudo apt-get install build-essential linux-headers-`uname -r`
sudo ln -s /usr/src/linux-headers-`uname -r` /lib/modules/`uname -r`/source

Download and install the latest mac80211 from the 8.x.x branch. 8.0.2 is the latest as of this edit. The 9.x.x branch is currently experimental.

wget http://intellinuxwireless.org/mac80211/downloads/mac80211-8.0.2.tgz
tar -xzf mac80211-8.0.2.tgz
cd mac80211-8.0.2/
sudo make patch_kernel
cd ..

Download and install the latest iwlwifi from the 1.0.x branch. 1.0.0-1 is the latest as of this edit. The 0.1.x branch is currently experimental, but is necessary if you need to use 802.11n. These instructions may or may not work if you want to use 0.1.x.

wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1.0.0-1.tgz
tar -xzf iwlwifi-1.0.0-1.tgz
cd iwlwifi-1.0.0-1/
make
sudo make install
cd ..

Download and install the latest 4965 ucode.

wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-4.44.17.tgz
tar -xzf iwlwifi-4965-ucode-4.44.17.tgz
cd iwlwifi-4965-ucode-4.44.17/
sudo cp iwlwifi-4965.ucode /lib/firmware/`uname -r`

Make sure the hardware wifi switch is on before doing this.

sudo rmmod iwl4965
sudo modprobe iwl4965

After that, you should simply be able to connect to wireless networks using Gnome's network manager.

T61