diff options
Diffstat (limited to 'Documentation/thinkpad-acpi.txt')
-rw-r--r-- | Documentation/thinkpad-acpi.txt | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/Documentation/thinkpad-acpi.txt b/Documentation/thinkpad-acpi.txt index cc079afaf66b..80c0bf28e392 100644 --- a/Documentation/thinkpad-acpi.txt +++ b/Documentation/thinkpad-acpi.txt | |||
@@ -458,17 +458,17 @@ X40: | |||
458 | 16 - one medium-pitched beep repeating constantly, stop with 17 | 458 | 16 - one medium-pitched beep repeating constantly, stop with 17 |
459 | 17 - stop 16 | 459 | 17 - stop 16 |
460 | 460 | ||
461 | Temperature sensors -- /proc/acpi/ibm/thermal | 461 | Temperature sensors |
462 | --------------------------------------------- | 462 | ------------------- |
463 | |||
464 | procfs: /proc/acpi/ibm/thermal | ||
465 | sysfs device attributes: (hwmon) temp*_input | ||
463 | 466 | ||
464 | Most ThinkPads include six or more separate temperature sensors but | 467 | Most ThinkPads include six or more separate temperature sensors but |
465 | only expose the CPU temperature through the standard ACPI methods. | 468 | only expose the CPU temperature through the standard ACPI methods. |
466 | This feature shows readings from up to eight different sensors on older | 469 | This feature shows readings from up to eight different sensors on older |
467 | ThinkPads, and it has experimental support for up to sixteen different | 470 | ThinkPads, and it has experimental support for up to sixteen different |
468 | sensors on newer ThinkPads. Readings from sensors that are not available | 471 | sensors on newer ThinkPads. |
469 | return -128. | ||
470 | |||
471 | No commands can be written to this file. | ||
472 | 472 | ||
473 | EXPERIMENTAL: The 16-sensors feature is marked EXPERIMENTAL because the | 473 | EXPERIMENTAL: The 16-sensors feature is marked EXPERIMENTAL because the |
474 | implementation directly accesses hardware registers and may not work as | 474 | implementation directly accesses hardware registers and may not work as |
@@ -525,6 +525,20 @@ The A31 has a very atypical layout for the thermal sensors | |||
525 | 8: Bay Battery: secondary sensor | 525 | 8: Bay Battery: secondary sensor |
526 | 526 | ||
527 | 527 | ||
528 | Procfs notes: | ||
529 | Readings from sensors that are not available return -128. | ||
530 | No commands can be written to this file. | ||
531 | |||
532 | Sysfs notes: | ||
533 | Sensors that are not available return the ENXIO error. This | ||
534 | status may change at runtime, as there are hotplug thermal | ||
535 | sensors, like those inside the batteries and docks. | ||
536 | |||
537 | thinkpad-acpi thermal sensors are reported through the hwmon | ||
538 | subsystem, and follow all of the hwmon guidelines at | ||
539 | Documentation/hwmon. | ||
540 | |||
541 | |||
528 | EXPERIMENTAL: Embedded controller register dump -- /proc/acpi/ibm/ecdump | 542 | EXPERIMENTAL: Embedded controller register dump -- /proc/acpi/ibm/ecdump |
529 | ------------------------------------------------------------------------ | 543 | ------------------------------------------------------------------------ |
530 | 544 | ||