Difference between revisions of "Installing Kubuntu 6.10 on a ThinkPad X60s 2"

From ThinkWiki
Jump to: navigation, search
(preliminary commit)
 
(acpi-support)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Installation of Kubuntu 6.10 on a ThinkPad X60s (model 1704-5UG) =
 
= Installation of Kubuntu 6.10 on a ThinkPad X60s (model 1704-5UG) =
  
== Functional out of the box ===
+
== Functional out of the box ==
  
 
With updates to 2007-01-12:
 
With updates to 2007-01-12:
Line 17: Line 17:
 
* Suspend to disk, "hibernate" (though not with button) and resume
 
* Suspend to disk, "hibernate" (though not with button) and resume
 
* SD card station (SDIO not tested)
 
* SD card station (SDIO not tested)
 +
* Cable ethernet (e1000)
 
* WiFi (Intel 3945ABG) with WEP (WPA not tested)
 
* WiFi (Intel 3945ABG) with WEP (WPA not tested)
 
* Bluetooth
 
* Bluetooth
 
* Radio enable/disable (Fn+F5) for both WiFi and bluetooth
 
* Radio enable/disable (Fn+F5) for both WiFi and bluetooth
  
== Broken out of the box ==
+
== Broken/suboptimal out of the box ==
  
 
=== Brightness control ===
 
=== Brightness control ===
  
Blanks X, and stays blank until X is restarted, if you control brightness with Fn+Home/End.
+
Blanks X, and stays blank until X is restarted, if you increase brightness with Fn+Home.  
 
+
 
Brightness controlled by dialog windows doesn't cause this.
 
Brightness controlled by dialog windows doesn't cause this.
  
'''I don't know how to fix this.'''
+
The [http://www.mail-archive.com/ibm-acpi-devel@lists.sourceforge.net/msg00092.html workaround] is to disable video.o
 +
 
 +
echo blacklist video | sudo tee -a /etc/modprobe.d/local
 +
 
 +
After doing that, there's a 1 second lag between pressing the key, and the actual change in brightness until you reboot.
  
 
=== acpi-support ===
 
=== acpi-support ===
  
 
in /etc/default/acpi-support
 
in /etc/default/acpi-support
* Enable laptop-mode (/proc/sys/vm/laptop-mode): ENABLE_LAPTOP_MODE=true
+
* Enable laptop-mode (/proc/sys/vm/laptop-mode): ENABLE_LAPTOP_MODE='''true'''
  
 
  /etc/init.d/acpi-support restart
 
  /etc/init.d/acpi-support restart
 +
 +
* on Feisty, Ubuntu 7.04, (probably Edgy too) wifi did not restart properly after hibernate or suspend and sound did not restart properly after hibernate. In /etc/default/acpi-support set '''MODULES="ipw3945"''' for wifi and '''HIBERNATE_MODE=platform''' for sound.
 +
 +
See
 +
https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/66266
 +
and
 +
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/80893
  
 
=== Fn+F4 and Fn+F12 suspend ===
 
=== Fn+F4 and Fn+F12 suspend ===
Line 45: Line 56:
 
  sudo ln -s sleep{,btn}.sh
 
  sudo ln -s sleep{,btn}.sh
 
  sudo ln -s hibernate{,btn}.sh
 
  sudo ln -s hibernate{,btn}.sh
 +
 +
Now the hotkeys work. Yay!
 +
 +
=== Slow boot ===
 +
 +
Ubuntu wants to DHCP on all network interfaces by default, which causes a long delay in booting up. This can be resolved by removing the "auto" lines for all interfaces that you don't use, in /etc/network/interfaces.
 +
 +
By default, Grub on Ubuntu waits 10 seconds before starting Linux. I set it to 1 in /boot/grub/menu.lst
 +
 +
To enable concurrency during boot up, set CONCURRENCY='''shell''' in /etc/init.d/rc ([http://tvease.net/wiki/index.php?title=Tweak_ubuntu_for_speed source]).
 +
 +
== Fingerprint reader ==
 +
 +
Works. See [[How to enable the fingerprint reader]].
 +
 +
[[Category:X60s]]

Latest revision as of 14:08, 26 August 2007

Installation of Kubuntu 6.10 on a ThinkPad X60s (model 1704-5UG)

Functional out of the box

With updates to 2007-01-12:

  • Sound and mixer
  • Graphics adapter and accelerator (Intel GMA 950)
  • USB
  • Lid switch (LCD off when lid closed)
  • Volume control keys, keyboard light
  • LCD brightness auto-adjusts depending on AC or battery operation
  • Fn buttons generate ACPI events (/var/log/acpid)
  • CPU frequency scaling (both cores)
  • ACPI battery, thermal 1 and 2, ac
  • Suspend to memory (though not with button) and resume
  • Suspend to disk, "hibernate" (though not with button) and resume
  • SD card station (SDIO not tested)
  • Cable ethernet (e1000)
  • WiFi (Intel 3945ABG) with WEP (WPA not tested)
  • Bluetooth
  • Radio enable/disable (Fn+F5) for both WiFi and bluetooth

Broken/suboptimal out of the box

Brightness control

Blanks X, and stays blank until X is restarted, if you increase brightness with Fn+Home. Brightness controlled by dialog windows doesn't cause this.

The workaround is to disable video.o

echo blacklist video | sudo tee -a /etc/modprobe.d/local

After doing that, there's a 1 second lag between pressing the key, and the actual change in brightness until you reboot.

acpi-support

in /etc/default/acpi-support

  • Enable laptop-mode (/proc/sys/vm/laptop-mode): ENABLE_LAPTOP_MODE=true
/etc/init.d/acpi-support restart
  • on Feisty, Ubuntu 7.04, (probably Edgy too) wifi did not restart properly after hibernate or suspend and sound did not restart properly after hibernate. In /etc/default/acpi-support set MODULES="ipw3945" for wifi and HIBERNATE_MODE=platform for sound.

See https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/66266 and https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.20/+bug/80893

Fn+F4 and Fn+F12 suspend

cd /etc/acpi
sudo mv sleepbtn.sh{,.orig}
sudo mv hibernatebtn.sh{,.orig}
sudo ln -s sleep{,btn}.sh
sudo ln -s hibernate{,btn}.sh

Now the hotkeys work. Yay!

Slow boot

Ubuntu wants to DHCP on all network interfaces by default, which causes a long delay in booting up. This can be resolved by removing the "auto" lines for all interfaces that you don't use, in /etc/network/interfaces.

By default, Grub on Ubuntu waits 10 seconds before starting Linux. I set it to 1 in /boot/grub/menu.lst

To enable concurrency during boot up, set CONCURRENCY=shell in /etc/init.d/rc (source).

Fingerprint reader

Works. See How to enable the fingerprint reader.