Linux Temperature Info

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

lm_sensors

Tested on ThinkPad T500:

yum install lm_sensors
sensors-detect
...
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no)

Provide "YES" to update /etc/modules, then reboot. Alternatively load drivers with modprobe command:

modprobe coretemp
modprobe i2c-i801

Temperature readings:

sensors

Temperature Monitoring with ACPI


The details below apply to Linux running on Thinkpads.

cat /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 on older ThinkPads, and up to sixteen different sensors on newer ThinkPads. Readings from sensors that are not available return -128.

The mapping of thermal sensors to physical locations varies depending on system-board model. It can be found here: http://thinkwiki.org/wiki/Thermal_Sensors.

T500 Temperature Sensors

Index in "thermal"   Location
1                    CPU (also via ACPI THM0)
2                    ? (very similar to HDD smart temp)
3                    ? (also via ACPI THM1)
4                    n/a
5                    Main Battery A
6                    n/a (probably Second Battery A)
7                    Main Battery B
8                    n/a (probably Second Battery B)
9                    ? (possibly (integrated) GPU)
10                   ?
11                   ? (possibly heatsink)
12                   n/a
13                   n/a
14                   n/a
15                   n/a
16                   n/a