Skip to contentSkip to conversation

lm_sensors and kernel 2.6.1

DISCUSSION Radu Anghel 2 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

has anything changed in sysfs since 2.6.0?
because on 2.6.0 sensors worked, now it says:

[eu:pts/1][~]$ sensors
via686a-isa-6000
Adapter: ISA adapter
Algorithm: ISA algorithm
ERROR: Can't get alarm data!
CPU core: +1.53 V (min = +1.79 V, max = +2.18 V)

+2.5V:     +0.00 V  (min =  +2.24 V, max =  +2.74 V)
I/O:       +3.33 V  (min =  +2.95 V, max =  +3.62 V)
+5V:       +5.17 V  (min =  +4.47 V, max =  +5.49 V)
+12V:     +12.46 V  (min = +10.79 V, max = +13.18 V)
CPU Fan:  5075 RPM  (min = 3000 RPM, div = 2)
P/S Fan:     0 RPM  (min = 3000 RPM, div = 2)

ERROR: Can't get TEMP data!
ERROR: Can't get TEMP2 data!
ERROR: Can't get TEMP3 data!

PS. gkrellm can read the temp values

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040109/144e82b5/attachment.bin

#1 lore raw
Quoted 6 lines

has anything changed in sysfs since 2.6.0?
because on 2.6.0 sensors worked, now it says:
(...)
ERROR: Can't get TEMP data!
ERROR: Can't get TEMP2 data!
ERROR: Can't get TEMP3 data!

You need lm_sensors from CVS:
http://secure.netroedge.com/~lm78/download.html#cvs

Lm_sensors 2.8.2 had a quirk to workaround a file naming error in Linux 2.6.0 drivers. The error has been fixed in 2.6.1-rc1, and lm_sensors CVS has been unquirked accordingly.

We might consider releasing 2.8.3 to avoid this issue being reported repeatedly, or at least add a news item on our main page to mention the solution.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Radu Anghel
Quoted 4 lines

thanks, now it works.
but it still complains about

ERROR: Can't get alarm data!

Aha. I forgot to fix this one in CVS. Will do that this evening.

In the mean time, you can fix it by yourself, it's trivial:
in lib/chips.c, line 2640, remove the last two values [, 0, "alarm"], and it should be OK.
(The same fix is needed at line 3787 for the it87 chip, but you probably don't care about this one.)

Sorry for missing this one.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#3 lore raw
In reply to Radu Anghel
Quoted 6 lines
Quoted 4 lines

thanks, now it works.
but it still complains about

ERROR: Can't get alarm data!

Aha. I forgot to fix this one in CVS. Will do that this evening.

Done!

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/