Thinkpad-acpi

From ThinkWiki
Revision as of 08:56, 31 December 2007 by Kevmitch (Talk | contribs) (thinkpad-acpi - ThinkPad Hotkey Driver)
Jump to: navigation, search

thinkpad-acpi - ThinkPad Hotkey Driver

This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov and Henrique de Moraes Holschuh. The driver replaces ibm-acpi in Linux mainline as of 2.6.22. To confuse matters further, it appears that there was also an older (now abandoned) driver of the same name written by Erik Rigtorp which never made it into the mainline kernel. The current thinkpad-acpi contains essentially the same functionality as ibm-acpi with some added features. Among which are registering of acpi events to the "thinkvantage" and volume/mute buttons which could previously only be accessed through the use of the tpb utility.

Hotkeys

One important difference from ibm-acpi for those who wish to enable all possible hotkeys is that there are more possible bits to be set in the mask. Thus, to enable all possible hotkeys, do a

echo enable,0xffffffff >/proc/acpi/ibm/hotkey

To make this permanent, add the following line to /etc/modprobe.d/thinkpad_acpi:

options thinkpad_acpi hotkey=enable,0xfffftffff experimental=1

Further documentation

More comprehensive documentation can be found in the kernel source tree (>=2.6.22) under Documentation/thinkpad_acpi.txt.

thinkpad-acpi - ThinkPad ACPI Extras driver

This is the new name of the ibm-acpi driver. The driver was renamed on 2007-03 (March 2007), targetting Linux kernel release 2.6.22.

For now, please refer to the ibm-acpi page for information on the new thinkpad-acpi driver.

There have been no releases of the driver under the thinkpad-acpi name yet. It is available with the new name in the acpi-test git tree, and ibm-acpi development git tree.

External links related to thinkpad-acpi