You are not logged in.

#1 2006-09-30 11:13:20

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

lm_sensors/sysfs problem (kernel 2.6.17.13)

I've got an old HP Vectra Vli8 slim here acting as a router/firewall/access point. Now, I'm having problems configuring i2c/lm_sensors on this little thing.
During sensors-detect, all goes well. It detects i2c_piix4 as the bus driver and a bunch of eeprom thingies. Note: it doesn't detect any real sensors, I don't really know why hmm It's an old piece oh hardware and it should have some... But, that's not the point of my main concern.

I can't get sensors -s to run properly. It says:

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'

Now, the funny thing is: I've got sysfs mounted. What's more, I even get the eeprom devices listed there:

/sys/bus/i2c
|-- devices
|   |-- 0-0050 -> ../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0050
|   |-- 0-0054 -> ../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0054
|   |-- 0-0055 -> ../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0055
|   |-- 0-0056 -> ../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0056
|   `-- 0-0057 -> ../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0057
`-- drivers
    |-- dev_driver
    |   |-- bind
    |   |-- module -> ../../../../module/i2c_dev
    |   `-- unbind
    |-- eeprom
    |   |-- 0-0050 -> ../../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0050
    |   |-- 0-0054 -> ../../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0054
    |   |-- 0-0055 -> ../../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0055
    |   |-- 0-0056 -> ../../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0056
    |   |-- 0-0057 -> ../../../../devices/pci0000:00/0000:00:04.3/i2c-0/0-0057
    |   |-- bind
    |   |-- module -> ../../../../module/eeprom
    |   `-- unbind
    `-- i2c_adapter
        |-- bind
        |-- module -> ../../../../module/i2c_core

lsmod | grep i2c

i2c_dev                 7684  0
i2c_piix4               8080  0
i2c_core               17536  5 eeprom,i2c_dev,i2c_piix4

Could anyone help me on this one? Sysfs is definetly mounted, even mtab points this out.

Offline

Board footer

Powered by FluxBB