View previous topic :: View next topic |
Author |
Message |
knittel n00b
Joined: 29 Nov 2002 Posts: 50
|
Posted: Wed Dec 04, 2002 9:02 pm Post subject: lm-sensors: to patch or not to patch |
|
|
Hello,
I would like to install lm-sensors. However, having visited the homepage and read the READMEs I am not sure wether I need to patch the kernel or not. The documentation is quite contradictionary here.
For one (Webreadme) , it sais I need at least "i2c-2.7.0", whereas the latest downloadable version is 2.6.5.
The included README sais, kernels later as 2.4.13 do not require a patch., since they contain i2c-2.6.1, which may be sufficent, contrary to the web-readme, which requires a file not available.
What to believe ?
Talking about lm-sensors 2.6.5 here, which would imply the i2c-2.6.5 patch. Is latter one compatible also with 2.4.20 (and does by chance anyone know, wether this ic patch would interfere with the zoran video driver, which requires i2c, too) ?
Has anyone experience or knowledge about this ? Running Kernel 2.4.20 (not ext3 here). |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Dec 04, 2002 10:13 pm Post subject: |
|
|
If you are using a Thinkpad laptop, I would advise you not to use lm-sensors, as things could go horribly wrong. Make a google search for lm-sensos and thinkpad and you'll see why. |
|
Back to top |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Wed Dec 04, 2002 11:39 pm Post subject: |
|
|
I've been using lm_sensors for quite some time now (like two years or more) and I always use the cvs version of both i2c and lm_sensors2. The instructions for grabbing them are on the download page. Once you have them (I keep mine in /usr/src) you can update them by cd'ing into each directory and running 'cvs update -d'.
Then I patch the kernel, i2c first and then lm_sensors2, using their handy patch script:
Code: |
cd /usr/src/i2c
mkpatch/mkpatch.pl . /usr/src/linux | patch -p1 -E -d /usr/src/linux
cd ../lm_sensors2
(two up arrows and Enter runs the patch script again)
|
And then I build the drivers in rather than using modules. |
|
Back to top |
|
|
knittel n00b
Joined: 29 Nov 2002 Posts: 50
|
Posted: Thu Dec 05, 2002 8:01 pm Post subject: |
|
|
Thanks. So i2c does not seem to be to demanding and/or critical about kernels,
I'll try 2.6.5 first (simply more comvinient than cvs) and in case I encounter problems I will switch to cvs.
P.S.: Thanks for the hint, but it's no notebook. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|