I've been having some issues with getting lm_sensors setup.
First:
Code:
Linux localhost.localdomain 2.6.17-prep #1 Sun Oct 15 12:06:46 PDT 2006 i686 athlon i386 GNU/Linux
I've followed the QUICKINSTALL instructions and then...
Code:
[root@localhost lm_sensors-2.10.1]# sensors-detect
# sensors-detect revision 4171 (2006-09-24 03:37:01 -0700)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
.
.
.
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `w83l785ts' (should be inserted):
Detects correctly:
* Bus `SMBus nForce2 adapter at 5100'
Busdriver `i2c-nforce2', I2C address 0x2e
Chip `Winbond W83L785TS-S' (confidence: 8)
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus nForce2 adapter at 5000'
Busdriver `i2c-nforce2', I2C address 0x50
Chip `eeprom' (confidence: 6)
* Bus `SMBus nForce2 adapter at 5000'
Busdriver `i2c-nforce2', I2C address 0x52
Chip `eeprom' (confidence: 6)
* Bus `SMBus nForce2 adapter at 5000'
Busdriver `i2c-nforce2', I2C address 0x57
Chip `eeprom' (confidence: 6)
EEPROMs are *NOT* sensors! They are data storage chips commonly
found on memory modules (SPD), in monitors (EDID), or in some
laptops, for example.
Driver `w83781d' (may not be inserted):
Misdetects:
* ISA bus address 0x0290 (Busdriver `i2c-isa')
Chip `Winbond W83627HF' (confidence: 8)
Driver `w83627hf' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver `i2c-isa')
Chip `Winbond W83627HF Super IO Sensors' (confidence: 9)
I will now generate the commands needed to load the required modules.
Just press ENTER to continue:
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:
#----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:
#----cut here----
# I2C adapter drivers
modprobe i2c-nforce2
modprobe i2c-isa
# Chip drivers
modprobe w83l785ts
modprobe eeprom
modprobe w83627hf
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----
If you have some drivers 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 the needed
modules are loaded.
Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): y
Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors
for initialization at boot time.
But when I run sensors...
Code:
[root@localhost lm_sensors-2.10.1]# sensors
Can't access procfs/sysfs file
Kernel interface access error
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
Based on some googling, I thought this might have something to do with some i2c modules not being loaded.
Code:
[root@localhost lm_sensors-2.10.1]# lsmod | grep i2c
i2c_dev 10244 0
i2c_isa 6656 1 w83627hf
i2c_nforce2 7552 0
I've seen some output with i2c_sensors, but I don't have it and can't modprobe it.
Any ideas?
Swammi