Precision 470 and lm_sensors - second try

Georg Wittig Georg.Wittig at ZV.Fraunhofer.de
Thu Dec 7 08:56:28 CST 2006


Adrian Vogeltanz wrote:


> Did you try the following from the quick start?
> 
> Do `lsmod'. If there are any old i2c or sensors modules loaded,  you 
> MUST remove them (as root) with `rmmod'
> 
> http://www.lm-sensors.org/browser/lm-sensors/trunk/QUICKSTART


thanks for your suggestion. I'm indeed a step further now. After
rmmod-ing the loaded i2c modules sensors-detect was able to find some
chips. I updated /etc/modprobe.conf and /etc/rc.local and modprobe-d the
suggested modules. But now I'm stuck again: The command "sensors" still
cannot see any chip.  Here's the output I think it's relevant:

# sensors-detect
[...]
Driver `eeprom' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at e8a0'
    Busdriver `i2c-i801', I2C address 0x51
    Chip `SPD EEPROM' (confidence: 8)
  * Bus `SMBus I801 adapter at e8a0'
    Busdriver `i2c-i801', I2C address 0x52
    Chip `SPD EEPROM' (confidence: 8)
  * Bus `SMBus I801 adapter at e8a0'
    Busdriver `i2c-i801', I2C address 0x55
    Chip `SPD EEPROM' (confidence: 8)
  * Bus `SMBus I801 adapter at e8a0'
    Busdriver `i2c-i801', I2C address 0x56
    Chip `SPD EEPROM' (confidence: 8)


I will now generate the commands needed to load the I2C modules.

To make the sensors modules behave correctly, add these lines to
/etc/modprobe.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-i801
# I2C chip drivers
modprobe eeprom
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----cut here----
#


# modprobe i2c-i801
# modprobe eeprom
# sensors
Can't access procfs/sysfs file
Unable to find i2c bus information;
For 2.6 kernels, make sure you have mounted sysfs and libsensors
was compiled with sysfs support!
For older kernels, make sure you have done 'modprobe i2c-proc'!

#


Any ideas what's wrong?

-- 
/"\ ASCII ribbon   | Georg Wittig, FhG - Georg.Wittig at zv.Fraunhofer.de
\ / campaign       |
 X  against HTML   |           Freedom is just another word
/ \ e-mail and news|           for nothing left to lose.



More information about the Linux-Precision mailing list