[ltp] IBM-ACPI Sensors

Mario Limonciello linux-thinkpad@linux-thinkpad.org
Mon, 11 Apr 2005 16:31:19 -0400


Can someone provide some insight to safe values output by the thermal 
option in the ibm-acpi package?

I'm looking to put together a basic bash or perl script to control 
whether or not the fan is turned on based on what things rise a lot in 
temperatures with the fan disabled by echo "disable" > /proc/acpi/ibm/fan

Here is a snippet of what the thermal option will output
[snippet]

Temperature sensors -- /proc/acpi/ibm/thermal
---------------------------------------------

Most ThinkPads include six or more separate temperature sensors but
only expose the CPU temperature through the standard ACPI methods.
This feature shows readings from up to eight different sensors. Some
readings may not be valid, e.g. may show large negative values. For
example, on the X40, a typical output may be:

temperatures:   42 42 45 41 36 -128 33 -128

Thomas Gruber took his R51 apart and traced all six active sensors in
his laptop (the location of sensors may vary on other models):

1:  CPU
2:  Mini PCI Module
3:  HDD
4:  GPU
5:  Battery
6:  N/A
7:  Battery
8:  N/A

No commands can be written to this file.

[/snippet]