Skip to contentSkip to conversation

lm_sensors & kernel

DISCUSSION Jean Delvare 3 participants 3 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 4 lines

Any news on whether 2.4.23 will have the sufficient code to keep from having to patch for i2c in order to get lm_sensors to correctly implement?

It probably won't, since it's a bit late to have such a big patch into Linux 2.4.23 (so I was told). I should have been faster, my fault. I expect only a few simple fixes to be accepted into 2.4.23, the rest of the changes be left for 2.4.24. So I'll have to make a patch available once more.

Quoted 2 lines

Also, any news on the status of lm_sensors in 2.6 kernel? I didn't notice it in test9.

It is there! Take a look in drivers/i2c, you'll see almost all bus drivers, plus several chip drivers. The main problem is that user-space tools don't support Linux 2.6 yet (although I think someone is working on it) so you'll have to read the raw values in /sysfs. Admittedly not very comfortable.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw
Quoted 8 lines · Troy Henderson
Quoted 5 lines

It is there! Take a look in drivers/i2c, you'll see almost all bus drivers, plus several chip drivers. The main problem is that user-space tools don't support Linux 2.6 yet (although I think someone is working on it) so you'll have to read the raw values in /sysfs. Admittedly not very comfortable.

I was able to do that, but I was looking for a way to make GKRellm show the sensor data.

The latest versions of gkrellm should work just fine with a 2.6 kernel to see the sensor values. It uses sysfs.

Good luck,

greg k-h

#2 lore raw
In reply to Jean Delvare
Quoted 5 lines

It probably won't, since it's a bit late to have such a big patch into Linux 2.4.23 (so I was told). I should have been faster, my fault. I expect only a few simple fixes to be accepted into 2.4.23, the rest of the changes be left for 2.4.24. So I'll have to make a patch available once more.

Oh well!

Quoted 5 lines

It is there! Take a look in drivers/i2c, you'll see almost all bus drivers, plus several chip drivers. The main problem is that user-space tools don't support Linux 2.6 yet (although I think someone is working on it) so you'll have to read the raw values in /sysfs. Admittedly not very comfortable.

I was able to do that, but I was looking for a way to make GKRellm show the sensor data.

##########################################################################

Troy Henderson                  Office: Blocker Building 619
Department of Mathematics       Phone : (979) 845-7769
Texas A&M University            E-mail: [email protected]
College Station, TX 77845       URL   : http://www.math.tamu.edu/~thenders

##########################################################################