Difference between revisions of "SMAPI support for Linux"

From ThinkWiki
Jump to: navigation, search
(Split off tpctl and tp_smapi)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
ThinkPad laptops include a proprietary interface called SMAPI BIOS (System Management Application Program Interface) which provides some
 
ThinkPad laptops include a proprietary interface called SMAPI BIOS (System Management Application Program Interface) which provides some
hardware control functionality that is not exposed by any other interface (e.g., ACPI).
+
hardware control functionality that is not exposed by standard interfaces such as ACPI and APM.
  
 
The SMAPI interfaces has mutated between models and is poorly documented, so Linux support is not exhaustive for most models. There are currently two SMAPI access mechanisms available:
 
The SMAPI interfaces has mutated between models and is poorly documented, so Linux support is not exhaustive for most models. There are currently two SMAPI access mechanisms available:
*[[tp_smapi]] for newer ThinkPad models (extended battery information for models produced since 2001 and possibly earlier; additional features for models produced since 2003)
+
*[[tp_smapi]] for newer ThinkPad models. This module provides battery information for models produced since 2001 and possibly earlier, and additional features for models produced since 2003.
*[[tpctl]] (with the <tt>thinkpad</tt> kernel module) for older ThinkPad models (mostly superceded by ACPI, when available)
+
*[[tpctl]] with the <tt>thinkpad</tt> kernel modules worked on older ThinkPad models but are now obsolete: the drivers no longer build (with the latest Linux versions). On modern ThinkPads tpctl has been superseded by the standardized ACPI subsystem and the tp_smapi driver.
  
 
[[Category:Tools]] [[Category:Patches]]
 
[[Category:Tools]] [[Category:Patches]]

Latest revision as of 19:04, 7 January 2008

ThinkPad laptops include a proprietary interface called SMAPI BIOS (System Management Application Program Interface) which provides some hardware control functionality that is not exposed by standard interfaces such as ACPI and APM.

The SMAPI interfaces has mutated between models and is poorly documented, so Linux support is not exhaustive for most models. There are currently two SMAPI access mechanisms available:

  • tp_smapi for newer ThinkPad models. This module provides battery information for models produced since 2001 and possibly earlier, and additional features for models produced since 2003.
  • tpctl with the thinkpad kernel modules worked on older ThinkPad models but are now obsolete: the drivers no longer build (with the latest Linux versions). On modern ThinkPads tpctl has been superseded by the standardized ACPI subsystem and the tp_smapi driver.