diff options
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index 7a06a27ee37b..bd00d14538c6 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt | |||
@@ -464,27 +464,34 @@ CMOS control | |||
464 | procfs: /proc/acpi/ibm/cmos | 464 | procfs: /proc/acpi/ibm/cmos |
465 | sysfs device attribute: cmos_command | 465 | sysfs device attribute: cmos_command |
466 | 466 | ||
467 | This feature is used internally by the ACPI firmware to control the | 467 | This feature is mostly used internally by the ACPI firmware to keep the legacy |
468 | ThinkLight on most newer ThinkPad models. It may also control LCD | 468 | CMOS NVRAM bits in sync with the current machine state, and to record this |
469 | brightness, sounds volume and more, but only on some models. | 469 | state so that the ThinkPad will retain such settings across reboots. |
470 | |||
471 | Some of these commands actually perform actions in some ThinkPad models, but | ||
472 | this is expected to disappear more and more in newer models. As an example, in | ||
473 | a T43 and in a X40, commands 12 and 13 still control the ThinkLight state for | ||
474 | real, but commands 0 to 2 don't control the mixer anymore (they have been | ||
475 | phased out) and just update the NVRAM. | ||
470 | 476 | ||
471 | The range of valid cmos command numbers is 0 to 21, but not all have an | 477 | The range of valid cmos command numbers is 0 to 21, but not all have an |
472 | effect and the behavior varies from model to model. Here is the behavior | 478 | effect and the behavior varies from model to model. Here is the behavior |
473 | on the X40 (tpb is the ThinkPad Buttons utility): | 479 | on the X40 (tpb is the ThinkPad Buttons utility): |
474 | 480 | ||
475 | 0 - no effect but tpb reports "Volume down" | 481 | 0 - Related to "Volume down" key press |
476 | 1 - no effect but tpb reports "Volume up" | 482 | 1 - Related to "Volume up" key press |
477 | 2 - no effect but tpb reports "Mute on" | 483 | 2 - Related to "Mute on" key press |
478 | 3 - simulate pressing the "Access IBM" button | 484 | 3 - Related to "Access IBM" key press |
479 | 4 - LCD brightness up | 485 | 4 - Related to "LCD brightness up" key pess |
480 | 5 - LCD brightness down | 486 | 5 - Related to "LCD brightness down" key press |
481 | 11 - toggle screen expansion | 487 | 11 - Related to "toggle screen expansion" key press/function |
482 | 12 - ThinkLight on | 488 | 12 - Related to "ThinkLight on" |
483 | 13 - ThinkLight off | 489 | 13 - Related to "ThinkLight off" |
484 | 14 - no effect but tpb reports ThinkLight status change | 490 | 14 - Related to "ThinkLight" key press (toggle thinklight) |
485 | 491 | ||
486 | The cmos command interface is prone to firmware split-brain problems, as | 492 | The cmos command interface is prone to firmware split-brain problems, as |
487 | in newer ThinkPads it is just a compatibility layer. | 493 | in newer ThinkPads it is just a compatibility layer. Do not use it, it is |
494 | exported just as a debug tool. | ||
488 | 495 | ||
489 | LED control -- /proc/acpi/ibm/led | 496 | LED control -- /proc/acpi/ibm/led |
490 | --------------------------------- | 497 | --------------------------------- |