Difference between revisions of "Thinkpad-acpi"

From ThinkWiki
Jump to: navigation, search
(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 was a Linux ACPI driver for the IBM ThinkPad laptops written by Erik Rigtorp. It aimed to support various features of these laptops which are accessible through the ACPI framework but not otherwise supported by the generic Linux ACPI drivers.  Only hotkey support were implemented on the patches found in various archives.
+
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.  
  
The driver replaces [[ibm-acpi]] in Linux mainline as of 2.6.22.
+
==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>
  
=== Features ===
+
==Further documentation==
* {{key|Fn}}{{key|F3}}, {{key|Fn}}{{key|F4}}, {{key|Fn}}{{key|F5}}, {{key|Fn}}{{key|F6}}, {{key|Fn}}{{key|F7}}, {{key|Fn}}{{key|F8}}, {{key|Fn}}{{key|F9}}, {{key|Fn}}{{key|F12}} key events
+
More comprehensive documentation can be found in the kernel source tree (>=2.6.22) under <tt>Documentation/thinkpad_acpi.txt</tt>.
 
 
=== Project Homepage / Availability ===
 
* Not easily available anymore;
 
* Superseeded by [[ibm-acpi]].
 
 
 
=== Status ===
 
* Abandoned, superseeded by [[ibm-acpi]].
 
  
 
== thinkpad-acpi - ThinkPad ACPI Extras driver ==
 
== thinkpad-acpi - ThinkPad ACPI Extras driver ==

Revision as of 08:56, 31 December 2007

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