Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Incorrect temperature reading (NSA-310) (no replies)

$
0
0
I've just migrated my NAS-310 from some debian with kernel 3.x to Bodhi one from here. Due to some NIC issues in kernel 4.20 I'm using kernel 4.19.

I would like to control fan (by fancontrol) on my device depends on temperature. The problem is that temperatures are reported with negative values:
root@nsa310:~ # cat /sys/class/hwmon/hwmon0/device/temp1_input
-28000
root@nsa310:~ # cat /sys/class/hwmon/hwmon0/device/temp2_input
-26000
root@nsa310:~ # cat /sys/class/hwmon/hwmon0/device/temp3_input
-22000

I know that I have to divide temperature by 1000 but why it is negative? I though that maybe "-" is just added by some mistake and all I have to do is to multiply it by -1, but it is not true. When I start some process which heavily utilize CPU, the temperature increase correctly, I mean like: -22000 then -21000 then -20000 and so on.

Can I do anything by myself to correct it or it is some issue deep in the kernel?

Viewing all articles
Browse latest Browse all 3247

Trending Articles