Difference between revisions of "Installing Ubuntu 7.10 (Gutsy Gibbon) Tribe 4 on a ThinkPad T61"
(→Intel IWL4965 A/G/N)
m (→Intel IWL4965 A/G/N)
|Line 75:||Line 75:|
root@sims-laptop:~# wget \
root@sims-laptop:~# wget \
Revision as of 09:05, 18 August 2007
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 and set the SATA controller to "Compatibility" mode or else you get a "can't access tty" error. After Ubuntu is intalled 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:
- switch to a console (Ctrl-Alt-F1)
- type "sudo bash"
- type "killall gdm"
- 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".
- Simply (Ctrl-Alt-Backspace) which will kill gdm, and bring you back to the login screen. Login as normal now.
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"
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:
- install build-essentials from Synaptic
- Download the drivers from the link above to your home directory
- When the download completes hit Ctrl-ALT-F1 to drop to a console.
- Login and type:
- sudo /etc/init.d/gdm stop
- 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
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.
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.
root@sims-laptop:~# wget \ > http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1.0.0.tgz --23:52:39-- http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1.0.0.tgz => `iwlwifi-1.0.0.tgz.1' Resolving intellinuxwireless.org... 22.214.171.124 Connecting to intellinuxwireless.org|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 216,532 (211K) [application/x-gzip] 100%[====================================>] 216,532 152.07K/s 23:52:40 (151.75 KB/s) - `iwlwifi-1.0.0.tgz.1' saved [216532/216532] :root@sims-laptop:~# tar xvf iwlwifi-1.0.0.tgz iwlwifi-1.0.0/ ...[most filenames removed]... iwlwifi-1.0.0/FILES root@sims-laptop:~# cd iwlwifi-1.0.0 root@sims-laptop:~/iwlwifi-1.0.0# make Makefile:20: Makefile:21: WARNING: $SHELL not set to bash. Makefile:22: If you experience build errors, try Makefile:23: 'make SHELL=/bin/bash'. Makefile:24: Kernel Makefile not found at '/lib/modules/2.6.22-9-generic/source' make: *** [compatible/kversion] Error 1 root@sims-laptop:~/iwlwifi-1.0.0# make install Makefile:20: Makefile:21: WARNING: $SHELL not set to bash. Makefile:22: If you experience build errors, try Makefile:23: 'make SHELL=/bin/bash'. Makefile:24: make: *** No rule to make target `compatible/iwl4965.ko', needed by `install'. Stop. root@sims-laptop:~/iwlwifi-1.0.0#
I tried make SHELL=/bin/bash and got:
root@sims-laptop:~/iwlwifi-1.0.0# make SHELL=/bin/bash Kernel Makefile not found at '/lib/modules/2.6.22-9-generic/source' make: *** [compatible/kversion] Error 1 root@sims-laptop:~/iwlwifi-1.0.0#
The reader works with ThinkFinger, see instructions at: 
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)
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" 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: 
Update Nvidia GLX: 
Update ALSA to support the sound card in the T61: 
Brightness dialog doesn't always disappear: 
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.