lm_sensors probs
I'm trying to get lm_sensors to work for use in gkrellm.
It detects my sensors OK with sensor-detect. I copy the stuff it tells me to do. I controlled if the needed modules are loaded. Everything seemed ok. But lm_sensors.init just won't start. This script looks for an entry of i2c in the /proc directory but i'm using a 2.6.7 kernel so it should look somewhere in my sysfs. Another problem seems to be that it looks for a RedHat specific file "/etc/init.d/functions". Anyone knowing a workaround for that? when I run sensors it just tells me "No sensors found!" I've been searching hours to find a solution but no luck. If needed i'll show a printout of sensors-detect and lsmod |
Did you modprobe all modules ?
to see aviaible i2c modules in your system : /sbin/modprobe -l | grep i2c to see i2c loaded modules : lsmod | grep i2c |
At the end of sensors-detect there is list of modprobes, cut and paste them into either /etc/rc.d/rc.local or /etc/rc.d/rc.modules.
This will start everything needed at the next boot, or do all the modprobes if you don't want to boot. Here is what I have in /etc/rc.d/rc.local: #!/bin/sh # # /etc/rc.d/rc.local: Local system initialization script. # # Put any local setup commands in here: # I2C adapter drivers modprobe i2c-viapro modprobe i2c-isa # I2C chip drivers modprobe eeprom modprobe w83627hf # sleep 2 # optional /usr/local/bin/sensors -s # recommended |
I'm sure the modules aren't the problem, all the needed modules are loaded.
There's something fishy with the init script I think |
Might find your answer here:
http://www2.lm-sensors.nu/~lm78/cvs/...nsors-FAQ.html and can ask for help from the real experts if not. |
All times are GMT -5. The time now is 06:33 AM. |