Skip to contentSkip to conversation

i2c-2.8.1, lm_sensors-2.8.1 on 2.4.23 ?

DISCUSSION Sky D. 2 participants 2 messages May 19, 2005

lore
Share & tools
lore

Sky D.

author
#0 lore raw

Lm Sensors Group,

     I installed the linux-2.4.23-i2c-2.8.1.patch and tried to use  

i2c-2.8.1and
lm_sensors-2.8.1, when I try to run: 'prog/detect/sensors-detect' it comes back saying a mod was compiled for 2.4.22, that I try to have it load. I thought
this patch works for 2.4.23 ? I had the sensors before working on 2.4.22, but I
thought this patch was an update to get it to work on 2.4.23 but it's not working.
Thank you for your time, and help in this matter.

SAR

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger

#1 lore raw
Quoted 8 lines

I installed the linux-2.4.23-i2c-2.8.1.patch and tried to use i2c-2.8.1 and lm_sensors-2.8.1, when I try to run:
'prog/detect/sensors-detect' it comes back saying a mod was compiled for 2.4.22, that I try to have it load. I thought this patch works for 2.4.23 ? I had the sensors before working on 2.4.22, but I thought this patch was an update to get it to work on 2.4.23 but it's not working.
Thank you for your time, and help in this matter.

I don't know exactly what you did, but here's what you are supposed to do:

1* Patch you 2.4.23 kernel sources with this patch:
http://www.ensicaen.ismra.fr/~delvare/devel/i2c/linux-2.4.23/linux-2.4.23-i2c-2.8.1.patch
2* Configure, compile and install that kernel.
3* Get lm_sensors 2.8.1 (or preferably CVS). Edit the Makefile so that I2C_HEADERS will point to your linux tree. Compile and install. 4* Run ldconfig.

And everything should be working. As you'll have notice, you *have* to recompile and reinstall lm_sensors for your new kernel. The patch has been tested by enough people so we know it works OK if you follow the instructions above.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/