Difference between revisions of "Ibm-acpi"

From ThinkWiki
Jump to: navigation, search
(experimental=1)
(Interesting links related to this project)
Line 67: Line 67:
 
* [http://acpi.sourceforge.net acpi.sourceforge.net]
 
* [http://acpi.sourceforge.net acpi.sourceforge.net]
 
* [http://www.kernel.org www.kernel.org]
 
* [http://www.kernel.org www.kernel.org]
 +
* [http://www.whizlabs.com/ibm-certification.html IBM Certification (ICED) exam]
  
 
[[Category:Drivers]]
 
[[Category:Drivers]]
 
[[Category:770X]] [[Category:770Z]] [[Category:A20m]] [[Category:A20p]] [[Category:A20m]] [[Category:A20p]] [[Category:A21e]] [[Category:A21m]] [[Category:A21p]] [[Category:A22e]] [[Category:A22m]] [[Category:A22p]] [[Category:G40]] [[Category:G41]] [[Category:R30]] [[Category:R31]] [[Category:R32]] [[Category:R40]] [[Category:R40e]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T20]] [[Category:T21]] [[Category:T22]] [[Category:T23]] [[Category:T30]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:X20]] [[Category:X21]] [[Category:X22]] [[Category:X23]] [[Category:X24]] [[Category:X30]] [[Category:X31]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:TransNote]]  
 
[[Category:770X]] [[Category:770Z]] [[Category:A20m]] [[Category:A20p]] [[Category:A20m]] [[Category:A20p]] [[Category:A21e]] [[Category:A21m]] [[Category:A21p]] [[Category:A22e]] [[Category:A22m]] [[Category:A22p]] [[Category:G40]] [[Category:G41]] [[Category:R30]] [[Category:R31]] [[Category:R32]] [[Category:R40]] [[Category:R40e]] [[Category:R50]] [[Category:R50p]] [[Category:R51]] [[Category:R52]] [[Category:T20]] [[Category:T21]] [[Category:T22]] [[Category:T23]] [[Category:T30]] [[Category:T40]] [[Category:T40p]] [[Category:T41]] [[Category:T41p]] [[Category:T42]] [[Category:T42p]] [[Category:T43]] [[Category:T43p]] [[Category:X20]] [[Category:X21]] [[Category:X22]] [[Category:X23]] [[Category:X24]] [[Category:X30]] [[Category:X31]] [[Category:X40]] [[Category:X41]] [[Category:X41 Tablet]] [[Category:TransNote]]  
 
[[de:ibm-acpi]]
 
[[de:ibm-acpi]]

Revision as of 06:06, 16 January 2006

ibm-acpi - IBM ThinkPad ACPI Extras Driver

This is a Linux ACPI driver for the IBM ThinkPad laptops written by Borislav Deianov. It aims to support various features of these laptops which are accessible through the ACPI framework but not otherwise supported by the generic Linux ACPI drivers. As a kernel module, ibm-acpi works as a bridge to deliver information about certain hardware events like key presses or control the state of certain hardware features by software.

Features

  • triggers ACPI Events for
    • Fn key combinations (FnF1, FnF2, FnF3, FnF4, FnF5, FnF6, FnF7, FnF8, FnF9, FnF10, FnF11, FnF12)
    • UltraBay device eject
    • Display lid, Power button, Undock button
  • enables software control of
    • Bluetooth
    • Video output switching, video expansion control
    • Docking and undocking (limited)
    • Fan (on most models, only enable/disable; speed control is added by a further patch)
    • Volume
    • LCD Brightness
    • ThinkLight
    • LEDs
    • Beep codes
    • Several CMOS states
  • can show values of
    • Eight temperature sensors
    • Embedded Controler registers
    • Fan status and speed


Some of these features are available only when the module is loaded with the experimental=1 option. To enable it, add the following to /etc/modprobe.conf (or your distribution's equivalent):

options ibm_acpi experimental=1

Project Homepage / Availability

http://ibm-acpi.sourceforge.net/

Included with the Linux kernel since 2.6.10. (Keep in mind, however, that the version included with the official kernel, or with some particular distribution, is not always the latest one.)

Kernel 2.6.14 included version 0.12 (versus version 0.8 in prior kernels).

Status

In development, usable, author does not reply to patch proposals.

Thermal sensors

Eight thermal sensors are exposed at /proc/acpi/ibm/thermal:

# cat /proc/acpi/ibm/thermal;  
temperatures:   44 41 33 42 33 -128 30 -128

On some models there are additional sensors at EC offsets 0xC0 to 0xC2, which can be read by parsing /proc/acpi/ibm/ecdump:

# perl -ne 'm/^EC 0xc0: .(..) .(..) .(..) / or next; print hex($1)." ".hex($2)." ".hex($3)."\n"' < /proc/acpi/ibm/ecdump
40 48 43

The meaning of these sensor varies with models - see Thermal sensors.

Packages

Application support

Interesting links related to this project