lm_sensors on kernel 2.6.6
hey,
I've been trying to install lm_sensors on kernel 2.6.6.
All the modules were compiled and loaded from the kernel and in lm_sensors I ran make user && make user_install
now, when I try to run the sensors binary it seems to be trying to get data from the wrong files.
open("/sys/bus/i2c/devices/0-002d/in_input6", O_RDONLY) = -1 ENOENT (No such file or directory)
This is one example of many. while on my machine the file:/sys/bus/i2c/devices/0-002d/in6_input exists
The output I get not under strace:
root@writecode:~# sensors -s as99127f-i2c-0-2d: Can't access procfs/sysfs file for writing; Run as root? root@writecode:~#
root@writecode:~# sensors
as99127f-i2c-0-2d
Adapter: SMBus Via Pro adapter at e800
Algorithm: Unavailable from sysfs
ERROR: Can't get IN0 data!
ERROR: Can't get IN1 data!
ERROR: Can't get IN2 data!
ERROR: Can't get IN3 data!
ERROR: Can't get IN4 data!
ERROR: Can't get IN5 data!
ERROR: Can't get IN6 data!
ERROR: Can't get FAN1 data!
ERROR: Can't get FAN2 data!
ERROR: Can't get FAN3 data!
ERROR: Can't get TEMP1 data!
ERROR: Can't get TEMP2 data!
ERROR: Can't get TEMP3 data!
ERROR: Can't get VID data!
alarms:
beep_enable:
Sound alarm enabledroot@writecode:~#
Yours,
Eli Shmer.
Hello,
Quoted 2 lines
This is one example of many. while on my machine the file:
/sys/bus/i2c/devices/0-002d/in6_inputexists
Yes you have wrong version of userspace utilities. Please use latest CVS version.
http://secure.netroedge.com/~lm78/archive/lm_sensors-daily.tar.gz
Don't forget to wipe out all libraries in /usr/lib/libsens* and /usr/local/lib/libsens*
After install check if your /etc/ld.so.conf if it has /usr/local/lib entry. If not add it. Then run ldconfig
I hope this helps. You can ask at IRC Freenode network #linux-sensors If any futher questions. (Or via this email)
Regards
Rudolf