Skip to contentSkip to conversation

Hard disk temperature

DISCUSSION Aurelien Jarno 3 participants 4 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

Hello,

On this website (http://linuxfr.org/2002/01/11/6644,0,0,0,1.php3 - sorry, it is in french), a person has announced that he has written a small application
(http://coredump.free.fr/linux/hddtemp-0.2.tar.gz) to read temperature of IDE disk drives, using the S.M.A.R.T. function.

Maybe, it can be integrated into lm-sensors, so a lot of applets using lm-sensors (for kde, gnome or window-maker) can see the hard disk temperatures. But this application doesn't use the I2C or lmbus, so I don't know if it is easily integrable into lm-sensors.

So I want to have your opinion about that.

Aurelien

P.S. : Sorry for my bad English

#1 lore raw

Actually, it's probably less intrusive to provide that merging of data at the application level (sensors)? Having psuedo-adapters connecting to the output of other things' outputs sounds complicated and prone to breaking when changes are made to their code.

Phil

Quoted 23 lines · Mark Studebaker

Interesting idea, we could do a pseudo-i2c adapter like i2c-isa and make it work. I'll look into it further.
mds

Quoted 18 lines · Aurelien Jarno

Hello,

On this website (http://linuxfr.org/2002/01/11/6644,0,0,0,1.php3 - sorry, it is in french), a person has announced that he has written a small application
(http://coredump.free.fr/linux/hddtemp-0.2.tar.gz) to read temperature of IDE disk drives, using the S.M.A.R.T. function.

Maybe, it can be integrated into lm-sensors, so a lot of applets using lm-sensors (for kde, gnome or window-maker) can see the hard disk temperatures. But this application doesn't use the I2C or lmbus, so I don't know if it is easily integrable into lm-sensors.

So I want to have your opinion about that.

Aurelien

P.S. : Sorry for my bad English

Signature · 3 lines
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
   [email protected] -- http://www.netroedge.com/~phil
 PGP F16: 01 D2 FD 01 B5 46 F4 F0  3A 8B 9D 7E 14 7F FB 7A
#2 lore raw
In reply to Aurelien Jarno

Interesting idea, we could do a pseudo-i2c adapter like i2c-isa and make it work. I'll look into it further.
mds

Quoted 18 lines · Aurelien Jarno

Hello,

On this website (http://linuxfr.org/2002/01/11/6644,0,0,0,1.php3 - sorry, it is in french), a person has announced that he has written a small application
(http://coredump.free.fr/linux/hddtemp-0.2.tar.gz) to read temperature of IDE disk drives, using the S.M.A.R.T. function.

Maybe, it can be integrated into lm-sensors, so a lot of applets using lm-sensors (for kde, gnome or window-maker) can see the hard disk temperatures. But this application doesn't use the I2C or lmbus, so I don't know if it is easily integrable into lm-sensors.

So I want to have your opinion about that.

Aurelien

P.S. : Sorry for my bad English

#3 lore raw
In reply to Aurelien Jarno

If you use i2c-proc primitives and add libsensors support then it's easier for the applications like 'sensors'.

Not sure if you can use i2c-proc without having a pseudo-adapter defined. A single module could both register an 'i2c-smart' pseudo-adapter and the sensors themselves, showing up in /proc as harddrive-smart-1 or something similar.

But you don't want chip drivers scanning pseudo-adapters looking for chips when they aren't compatible with that bus...

Quoted 37 lines · [email protected] wrote:

Actually, it's probably less intrusive to provide that merging of data at the application level (sensors)? Having psuedo-adapters connecting to the output of other things' outputs sounds complicated and prone to breaking when changes are made to their code.

Phil

Quoted 4 lines · Mark Studebaker

Interesting idea, we could do a pseudo-i2c adapter like i2c-isa and make it work. I'll look into it further.
mds

Quoted 19 lines
Quoted 18 lines · Aurelien Jarno

Hello,

On this website (http://linuxfr.org/2002/01/11/6644,0,0,0,1.php3 - sorry, it is in french), a person has announced that he has written a small application
(http://coredump.free.fr/linux/hddtemp-0.2.tar.gz) to read temperature of IDE disk drives, using the S.M.A.R.T. function.

Maybe, it can be integrated into lm-sensors, so a lot of applets using lm-sensors (for kde, gnome or window-maker) can see the hard disk temperatures. But this application doesn't use the I2C or lmbus, so I don't know if it is easily integrable into lm-sensors.

So I want to have your opinion about that.

Aurelien

P.S. : Sorry for my bad English

--
Philip Edelbrock -- IS Manager -- Edge Design, Corvallis, OR
[email protected] -- http://www.netroedge.com/~phil
PGP F16: 01 D2 FD 01 B5 46 F4 F0 3A 8B 9D 7E 14 7F FB 7A