Installing Ubuntu 7.04 on a ThinkPad Z61m
Lenovo ThinkPad Z61m (9452-CTO)
Hardware Details
- Intel Core 2 Duo T7200 (2 GHz, 4 MB L2, 667MHz FSB)
- 1 GB RAM (2x 512MB PC2-5300 DDR2 667MHz)
- 15.4" wide-screen TFT WSXGA+ 1680x1050
- ATI Mobility Radeon X1400 (128 MB)
- 100 GB SATA, 7200 RPM
- DVD Super Multiburner
- Intel AD1981HD High Definition Audio 1.0 controller with 2 speakers
- Intel PRO/Wireless 3945ABG Mini-PCI Express Adapter
- Broadcom Gigabit Ethernet (10/100/1000)
- ThinkPad 56K Modem (MDC-1.5)
- ThinkPad Bluetooth with Enhanced Data Rate (BDC-2)
- IrDA 1.1 (FIR - 4Mbps)
- 3x USB 2.0
- Firewire
- VGA out
- S-Video out
- 4-in-1 digital media reader (MultiMedia Card, MemoryStick, SD)
- Integrated Fingerprint Reader
- ThinkLight
- UltraNav
- Headphone Jack
- Microphone Jack
- Built-in Microphone
- CardBus slot (Type 2)
- ExpressCard slot (54 or 34)
- UltraBay Enhanced
Operating System
Ubuntu 7.04 'feisty fawn'. See the Ubuntu Laptop Testing Team for up-to-date details.
What works out-of-the-box
Hardware
- 100 GB SATA, 7200 RPM
- DVD Super Multiburner
- Intel AD1981HD High Definition Audio 1.0 controller with 2 speakers
- Intel PRO/1000 Gigabit Ethernet
- ThinkPad Bluetooth with Enhanced Data Rate (BDC-2)
- 3x USB 2.0
- Firewire
- UltraNav
- Headphone Jack
- Microphone Jack
- Built-in Microphone
Power Management
- Suspend to RAM (Fn+F4 works too)
- Hibernate (Fn+F12 works too)
- CPU speed stepping
- LCD Brightness depending on current power scheme
- Screen brightness control with Fn+Pos1/Fn+End
- Lid switch
Extra Keys
- Volume up, Volume down, Mute
- Fn+Pg up (ThinkLight)
- Front wireless radio switch (turns off Wifi and Bluetooth)
- Fn+F2 (Lock acount)
- Fn+F3 (Show power manager information pop-up)
- Fn+F5 (activate/deactivate WiFi and Bluetooth)
What needs to be configured
See further down this document to find a HowTo for all of these issues.
Hardware
- ATI Mobility Radeon X1400 (128 MB)
- IrDA 1.1 (FIR - 4Mbps)
- 4-in-1 digital media reader (MultiMedia Card, MemoryStick, SD)
- Integrated Fingerprint Reader
Extra keys
These keys have no assignment by default.
- Windows key (Keycode Super_L)
- Context menu key (Keycode 0xe3)
- ThinkVantage button (Keycode 0x9f)
- Web browser back (Keycode 0xea)
- Web browser forward (Keycode 0xe9)
- Multimedia Keys (Fn+up, Fn+down, Fn+left arrow, Fn+right arrow)
Untested
Hardware
- ThinkPad 56K Modem (MDC-1.5)
- VGA out
- S-Video out
- CardBus slot (Type 2)
- ExpressCard slot (54 or 34)
- UltraBay Enhanced
Installing feisty fawn
You have to use the alternate desktop CD to install feisty. The live CD won't boot at all and I don't know of an solution yet. Sorry. I completely erased the hard disk, wiping Windows XP off the ThinkPad. No dual-boot, no problems.
Live CD plus Internet
When you are conncted to the internet via ethernet you can also use the Live CD for installation. When the screen turns black or an X-server error message appears, switch to a console Windows using Ctrl+Alt+F6 for example and manually install the fglrx driver.
$ apt-get update
$ apt-get install xorg-driver-fglrx
$ depmod -a
$ aticonfig --initial
$ startx
Then you should have an x-server running at your displays native resolution.
VMware server
Unfortunately I had to use windows for a professional image management application called IMatch, and I did that by using VMware server. Be advised the Lenovo recovery disks won't work in VMware. They will install fine, but after the first boot attempt after the installation Windows just keeps rebooting again and again.
So I used a purchased copy of Windows XP Professional that I had left from my former Dell Inspiron 8100 which was not in use anymore. To be honest I prefer this vanilla Windows XP install because it doesn't come with all the preloaded software that is on Lenovo's rescue CD.
Solutions
ATI Mobility Radeon X1400 (128 MB)
To get hardware acceleration and a resolution >1024x768, you need to install ATI's fglrx driver.
1. Install the fglrx driver:
$ sudo apt-get install xorg-driver-fglrx
2. Update loaded modules:
$ sudo depmod -a
3. Now configure the fglrx driver:
$ sudo aticonfig --initial
$ sudo aticonfig --overlay-type=Xv
4. After restarting your system (or alternatively doing Ctrl+Alt+Backspace to restart the X Server) your system will be running the fglrx drivers.
Repair Suspend-to-RAM
The graphics card does not come up correctly after resuming from suspend, resulting in a blank screen. This can be fixed easily (yay!):
1. Open the folloeing file (don't forget to do a backup first):
$ sudo cp /etc/default/acpi-support /etc/default/acpi-support.backup
$ sudo gedit /etc/default/acpi-support
2. Set the line
POST_VIDEO=true
to
POST_VIDEO=false
IrDA 1.1 (FIR - 4Mbps)
IrDA does not work out-of-the-box because the necessary package and configuration is not included in a stock Ubuntu install.
1. Install the missing package
$ sudo apt-get install irda-utils
2. Configure irda-utils
$ sudo dpkg-reconfigure irda-utils
3. On the configure screen set the options as the following:
Activate IrDa on boot-up: yes Attempt to probe for IrDa at system boot: yes Discovery mode: yes Typ of the IrDa-adaptor: native Typ of the FIR-chip: nsc-ircc Options for the modules of the FIR-chip: Port for setserial to deactivate:
4. Restart IrDA:
$ sudo /etc/init.d/irda-utils stop
$ sudo /etc/init.d/irda-utils start
5. Load the FIR IrDA driver:
$ sudo modprobe irda0
6. Now test if activating IrDA was successful. Place your IrDA device (mobile phone, PDA or whatever) in front of the IrDA eye and activate IrDA on your device. Doing a
$ cat /proc/net/irda/discovery
should list your IrDA device.
Bluetooth
To use Bluetooth, install the following package. Otherwise there will be no pairing password dialog (which you'll need when using bluetooth devices):
$ sudo apt-get -y install bluez-gnome
4-in-1 digital media reader (MultiMedia Card, MemoryStick, SD)
The digital media reader does not work because the kernel module tifm_sd is not loaded on startup. To get it loaded, add it to the modules file:
1. Open the file modules (and do a backup first, just in case):
$ sudo cp /etc/modules /etc/modules.backup
$ sudo gedit /etc/modules
2. Add the following to the end of the file:
tifm_sd
3. Save the file and restart.
Fingerprint reader
You can use the fingerprint reader to authenticate via PAM. I recommend to use the instruction given at How to enable the integrated fingerprint reader with ThinkFinger.
lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03) 00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express PCI Express Root Port (rev 03) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) 00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 02) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02) 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400 02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5752M Gigabit Ethernet PCI Express (rev 02) 03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02) 15:00.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller 15:00.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 1394 Host Controller 15:00.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card Reader (SD/MMC/MS/MS PRO/xD) 15:00.3 Generic system peripheral [0805]: Texas Instruments PCIxx12 SDA Standard Compliant SD Host Controller