Difference between revisions of "Thinkpad-acpi"
(→thinkpad-acpi - ThinkPad Hotkey Driver) |
(→thinkpad-acpi - ThinkPad Hotkey Driver) |
||
Line 1: | Line 1: | ||
== thinkpad-acpi - ThinkPad Hotkey Driver == | == thinkpad-acpi - ThinkPad Hotkey Driver == | ||
− | This | + | 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 | ||
+ | <pre> | ||
+ | echo enable,0xffffffff >/proc/acpi/ibm/hotkey | ||
+ | </pre> | ||
+ | To make this permanent, add the following line to <tt>/etc/modprobe.d/thinkpad_acpi</tt>: | ||
+ | <pre> | ||
+ | options thinkpad_acpi hotkey=enable,0xfffftffff experimental=1 | ||
+ | </pre> | ||
− | === | + | ==Further documentation== |
− | + | More comprehensive documentation can be found in the kernel source tree (>=2.6.22) under <tt>Documentation/thinkpad_acpi.txt</tt>. | |
− | |||
− | = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
== thinkpad-acpi - ThinkPad ACPI Extras driver == | == thinkpad-acpi - ThinkPad ACPI Extras driver == |
Revision as of 07:56, 31 December 2007
Contents
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.