-   Linux - Software (
-   -   detect sensors (

Santas 06-16-2004 05:39 PM

detect sensors
I try install the sensors of my motherboard y install lm_sensors and run sensor-detect and i get this ouptput:

To make the sensors modules behave correctly, add these lines to
/etc/modules.conf: (1)

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file: (2)

#----cut here----
# I2C adapter drivers
modprobe i2c-viapro
modprobe i2c-isa
# I2C chip drivers
modprobe eeprom
modprobe w83781d
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----

WARNING! If you have some things built into your kernel, the list above
will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.

Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): yes (3)
Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors
for initialization at boot time.
1) I haven't got /etc/modules.conf so i create it and add these lines. Can i do that?
2) I add the next lines to /etc/rc.local. Is this correct?
3) I can't find prog/init/lm_sensors.init. Where i can find it?

ilikejam 06-16-2004 10:27 PM


1) Use /etc/modprobe.conf instead

2) Yes, just add those lines to /etc/rc.local

3) I think the file is at /usr/share/doc/lm_sensors-2.8.6/lm_sensors.init Copy that to /etc/rc.d/init.d/lm_sensors (there's also a file called lm_sensors.init.redhat in /usr/share/doc. It might be better to copy that over instead.)

I've just managed to get this working myself tonight.


Santas 06-17-2004 09:30 AM

Thanks for your reply but i did what you said and i still have no sensors working. I haven't got lm_sensors so I created it and add these lines and i suppose i have to do chmod 777 lm_sensors.

Santas 06-17-2004 10:20 AM

I have just solved the problem. I haven't got /sbin in the PATH where is modprobe so I have to type /sbin/modprobe instead modprobe.

thanks for your help ilikejam

All times are GMT -5. The time now is 03:33 AM.