Difference between revisions of "Thinkpad-acpi"

From ThinkWiki
Jump to: navigation, search
m (added category X32)
(suggest merge with ibm-acpi)
Line 28: Line 28:
 
[[Category:X32]]
 
[[Category:X32]]
 
[[Category:X61]]
 
[[Category:X61]]
 +
 +
{{Todo|needs editing}}: consider merging with [[ibm-acpi]]

Revision as of 22:27, 17 February 2009

Thinkpad-specific ACPI 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 (March 2007). 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

To view which hotkeys are active you can use "acpi_listen", but that is deprecated. A better way is to use "lsinput" and "input-events" commands to look at the output of the thinkpad-acpi input device(s).

One important difference from ibm-acpi for those who wish to enable all possible hot keys, is that thinkpad-acpi automatically enables them. One should not need to do anything to get the best possible thinkpad-acpi configuration for his ThinkPad (as long as he is using the latest thinkpad-acpi).

In particular, old documentation that tells you to "echo enable,0xffffffff >/proc/acpi/ibm/hotkey", or to give thinkpad-acpi any hotkey= module parameters to enable hot keys by default, is likely incorrect.

The thinkpad-acpi driver has detailed documentation, which is shipped inside the Linux kernel sources, as "Documentation/thinkpad-acpi.txt" or as "Documentation/laptops/thinkpad-acpi.txt". If you feel a need to change the hot key mask manually, it is probably best to look at that documentation first to understand the full side effects of any changes.

Development

To help with development and maintenance of the thinkpad-acpi driver, please add your model to the List of DMI IDs.

Further documentation

More comprehensive documentation can be found in the kernel source tree under Documentation/thinkpad-acpi.txt or Documentation/laptops/thinkpad-acpi.txt.

For now, please refer to the ibm-acpi page, or ask on the linux-thinkpad mailinglist for any other information on the new thinkpad-acpi driver.

External links related to thinkpad-acpi

TODO
needs editing

: consider merging with ibm-acpi