what happened to i2c-proc
I am trying to compile appropriate modules for lm sensors in 2.5.70, but there seems to be no way to configure i2c-proc -- it seems to be there for other architectures, but not for i386.
Any assistance would be appreciated.
Signature · 2 lines
John Covici
[email protected]Quoted 4 lines · John Covici
I am trying to compile appropriate modules for lm sensors in 2.5.70, but there seems to be no way to configure i2c-proc -- it seems to be there for other architectures, but not for i386.
And this is probably the cause of my hardware sensors (it87.ko) not working :-). Here is what modules.dep for my 2.4.20 kernel says:/lib/modules/2.4.20-xfsip/kernel/drivers/sensors/it87.o:
/lib/modules/2.4.20-xfsip/kernel/drivers/i2c/i2c-core.o \
/lib/modules/2.4.20-xfsip/kernel/drivers/i2c/i2c-proc.oAnd here what it says for my 2.5.70 kernel:/lib/modules/2.5.70/kernel/drivers/i2c/chips/it87.ko: /lib/modules/2.5.70/kernel/drivers/i2c/i2c-sensor.ko /lib/modules/2.5.70/kernel/drivers/i2c/i2c-core.ko
Or maybe something changed in the meantime, and problems are in user-space, the fact is it doesn't work:
server:~# sensors -v sensors version 2.6.5
As seen on lm_sensors' home page, it seems the are still porting i2c and lm_sensors to recent 2.5.x kernels, so maybe the problem is there. They advise against trying to compile both i2c and lm_sensors for 2.5.x kernels, because probably they won't work.
Hope this helps.
Signature · 2 lines
Jose Luis Domingo Lopez Linux Registered User #189436 Debian Linux Sid (Linux 2.5.70)
Quoted 9 lines · Jose Luis Domingo Lopez
Quoted 4 lines · John Covici
I am trying to compile appropriate modules for lm sensors in 2.5.70, but there seems to be no way to configure i2c-proc -- it seems to be there for other architectures, but not for i386.
Quoted 6 lines
Or maybe something changed in the meantime, and problems are in user-space, the fact is it doesn't work:
server:~# sensors -v sensors version 2.6.5
The sensors proc interface didn't make it to 2.5. You have to use sysfs to check the sensors (/sys/devices/legacy/...). Userspace didn't get converted yet, so all libsensor based programs (ie. all) don't work anymore
Jan
Quoted 3 lines · John Covici
I am trying to compile appropriate modules for lm sensors in 2.5.70, but there seems to be no way to configure i2c-proc -- it seems to be there for other architectures, but not for i386.
i2c-proc is no longer a separate compile option. The i2c interface is now through sysfs, not /proc for 2.5.
thanks,
greg k-h