aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>2007-04-24 10:48:19 -0400
committerLen Brown <len.brown@intel.com>2007-04-25 02:00:27 -0400
commitb616004c70dd7f60a1477c3e9d6fddd00ee1fa37 (patch)
tree5121e2aedfcedeee676146ed9ea559a0127806c0 /Documentation
parenteaa7571b2d1a08873e4bdd8e6db3431df61cd9ad (diff)
ACPI: thinkpad-acpi: add sysfs support to the cmos command subdriver
Add sysfs attributes to send ThinkPad CMOS commands. Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/thinkpad-acpi.txt23
1 files changed, 11 insertions, 12 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt
index 339ce21e59df..352e8aee63fe 100644
--- a/Documentation/thinkpad-acpi.txt
+++ b/Documentation/thinkpad-acpi.txt
@@ -378,23 +378,19 @@ supported. Use "eject2" instead of "eject" for the second bay.
378Note: the UltraBay eject support on the 600e/x, A22p and A3x is 378Note: the UltraBay eject support on the 600e/x, A22p and A3x is
379EXPERIMENTAL and may not work as expected. USE WITH CAUTION! 379EXPERIMENTAL and may not work as expected. USE WITH CAUTION!
380 380
381CMOS control -- /proc/acpi/ibm/cmos 381CMOS control
382----------------------------------- 382------------
383
384procfs: /proc/acpi/ibm/cmos
385sysfs device attribute: cmos_command
383 386
384This feature is used internally by the ACPI firmware to control the 387This feature is used internally by the ACPI firmware to control the
385ThinkLight on most newer ThinkPad models. It may also control LCD 388ThinkLight on most newer ThinkPad models. It may also control LCD
386brightness, sounds volume and more, but only on some models. 389brightness, sounds volume and more, but only on some models.
387 390
388The commands are non-negative integer numbers: 391The range of valid cmos command numbers is 0 to 21, but not all have an
389 392effect and the behavior varies from model to model. Here is the behavior
390 echo 0 >/proc/acpi/ibm/cmos 393on the X40 (tpb is the ThinkPad Buttons utility):
391 echo 1 >/proc/acpi/ibm/cmos
392 echo 2 >/proc/acpi/ibm/cmos
393 ...
394
395The range of valid numbers is 0 to 21, but not all have an effect and
396the behavior varies from model to model. Here is the behavior on the
397X40 (tpb is the ThinkPad Buttons utility):
398 394
399 0 - no effect but tpb reports "Volume down" 395 0 - no effect but tpb reports "Volume down"
400 1 - no effect but tpb reports "Volume up" 396 1 - no effect but tpb reports "Volume up"
@@ -407,6 +403,9 @@ X40 (tpb is the ThinkPad Buttons utility):
407 13 - ThinkLight off 403 13 - ThinkLight off
408 14 - no effect but tpb reports ThinkLight status change 404 14 - no effect but tpb reports ThinkLight status change
409 405
406The cmos command interface is prone to firmware split-brain problems, as
407in newer ThinkPads it is just a compatibility layer.
408
410LED control -- /proc/acpi/ibm/led 409LED control -- /proc/acpi/ibm/led
411--------------------------------- 410---------------------------------
412 411