Talk:Installing Ubuntu/Breezy on a ThinkPad T42

From ThinkWiki
Revision as of 06:48, 20 October 2005 by Johannes (Talk | contribs) (Maybe some answers!)

Jump to: navigation, search

Why is it important to turn off dynamicClocks in radeonfb in kernels before 2.6.14?

What is wrong with the wireless on/off script that comes with Breezy and is mapped to Fn-F5 out of the box? Why replace it?

Why use noflushd when Breezy comes with laptop-mode? Just enable it in /etc/default/acpi-support.

Using Fn-F6 to enable/disable Bluetooth

First, to make sure Fn-F6 is available as a hotkey, either do

 echo 0xffff > /proc/acpi/ibm/hotkey

(this will work until next reboot or suspend), or change the mask in /etc/modprobe.d/ibm_acpi.modprobe.

Next, create a shell script /etc/acpi/bluetooth.sh:

 #!/bin/bash
 # Enable/disable builtin Bluetooth on IBM Thinkpads
 if grep -q enabled /proc/acpi/ibm/bluetooth; then
     echo disable > /proc/acpi/ibm/bluetooth
 else
     echo enable > /proc/acpi/ibm/bluetooth
 fi

Next, create an event file /etc/acpi/events/ibm-bluetooth

 # This is called when the user presses Fn-F6 button and calls
 # /etc/acpi/bluetooth.sh for further processing.
 event=ibm/hotkey HKEY 00000080 00001006
 action=/etc/acpi/bluetooth.sh

You might need to restart acpid for it to start working.

Maybe some answers!

As it seems it is no longer neccesary to turn off dynamicClocks in radeonfb. radeonfb previously had a the same bug as in Xorg, where dynamicClock locked up some maschines. For radeonfb this lock up came randomly.

xorg has fixed this bug from version 6.8.3... Ubuntu ships 6.8.2.. to bad! https://bugs.freedesktop.org/show_bug.cgi?id=2187

Changing the wireless.sh script is because of the initially ipw2100 off. This is a software off, not handled by the wireless.sh script, which only handles the hardware on/off, therefore we have to turn it "on" in both hw and sw.

The laptop-mode included is old! It doesn't handle hdd powermanagement properly. Noflushd is very easy to install. http://www.xs4all.nl/~bsamwel/laptop_mode/tools/index.html

Instead of noflushd I suggest you use laptop-mode-tools which is newer and actually works.

Good idea with the bluetooth. Right now Breezy turns both blutooth and wireless on/off with Fn-F5.