Sensors – adjust high & crit values – ACPI

DISCLAIMER:

Below might be incorrect as causes all temperatures (including current) to be calculated with -10C degrees.

 

With default lm-sensors configuration I’ve experienced shutdowns from time to time. Looking at details it all seemed like lm-sensors has been instructed by BIOS with very too high “high” and “crit” values.

Before:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +70.5 C  (crit = +126.0 C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +70.0 C  (high = +100.0 C, crit = +100.0 C)
Core 1:       +70.0 C  (high = +100.0 C, crit = +100.0 C)

After:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +70.5 C  (crit = +126.0 C)

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +60.0 C  (high = +90.0 C, crit = +90.0 C)
Core 1:       +60.0 C  (high = +90.0 C, crit = +90.0 C)

How?

Check which sensors are reported and how:

Based on above create file, i.e.

with:

For some reason on my Ubuntu 14.04 system based on Dell D620 Critical value hasn’t been updated properly and took high value instead.

p.s. man sensors.conf suggests to use “set” statement, but it didn’t work for me.

Here is example of what didn’t work: