Skip to contentSkip to conversation

sensors bug?

DISCUSSION Holub Zoltan 2 participants 2 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hi!

I think it's a bug:

+12V:     +12.10 V  (min =  +0.00 V, max =  +0.00 V)
-12V:     -12.35 V  (min =  -0.00 V, max =  -0.11 V)
-5V:       -5.01 V  (min =  -3.27 V, max =  -0.00 V)

ERROR: Can't get TEMP1 data!
ERROR: Can't get TEMP2 data!
ERROR: Can't get TEMP3 data!
vid: +3.500 V

strace says:
open("/sys/bus/i2c/devices/0-002d/temp_min1", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get TEMP1 data!\n", 29ERROR: Can't get TEMP1 data! ) = 29

/sys/bus/i2c/devices/0-002d:

$ ls *temp*
temp_hyst1  temp_hyst3   temp_input2  temp_max1  temp_max3
temp_hyst2  temp_input1  temp_input3  temp_max2
$ cat temp_input1
3250   (32.5 Celsius)

I'm using kernel 2.6.1 and lm_sensors 2.8.3
sensors:
w83781d-i2c-0-2d
Adapter: SMBus ALI15X3 adapter at e800

I didnt patched any i2c or sensors in the kernel.
With kernel 2.6.0 everything works fine.

fako

#1 lore raw
Quoted 10 lines

I think it's a bug:

+12V:     +12.10 V  (min =  +0.00 V, max =  +0.00 V)
-12V:     -12.35 V  (min =  -0.00 V, max =  -0.11 V)
-5V:       -5.01 V  (min =  -3.27 V, max =  -0.00 V)

ERROR: Can't get TEMP1 data!
ERROR: Can't get TEMP2 data!
ERROR: Can't get TEMP3 data!
vid: +3.500 V

Quoted 11 lines

strace says:
open("/sys/bus/i2c/devices/0-002d/temp_min1", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get TEMP1 data!\n", 29ERROR: Can't get TEMP1 data!) = 29
(...)
I'm using kernel 2.6.1 and lm_sensors 2.8.3
sensors:
w83781d-i2c-0-2d
(...)
With kernel 2.6.0 everything works fine.

I don't think that you are using lm_sensors 2.8.3. The behavior described here is what I'd expect from lm_sensors 2.8.2 instead. What's more, kernel 2.6.0 would *not* work with lm_sensors 2.8.3.

Please make sure that the version of libsensors you are using is 3.0.1 (check this with "ls -l /usr/local/lib/libsensors*") and that sensors picks it correctly (running ldconfig may help).

If you confirm that you still have the problem with Linux 2.6.1 and lm_sensors 2.8.3, I'll look into it. But I doubt it, to say the truth.

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