Skip to contentSkip to conversation

CPU Temperature?

DISCUSSION Harald Dunkel 7 participants 11 messages Oct 3, 2001 – Oct 8, 2001

lore
Share & tools
lore
#0 lore raw

Hi folks,

Is there a standard interface to watch the temperature of the CPU (e.g. Athlon Thunderbird)? Or is this a feature of my main board?

How can I access the CPU temperature, fan speed etc. from Linux? Or is this too hardware dependent to implement a common interface?

Regards

Harri

#1 lore raw

hi, you want to look at the lm_sensors project...

http://www.netroedge.com/~lm78/

the temperature voltage and fan sensors on your mainboard should be accessible without to much trouble...

joelja

Quoted 18 lines · Harald Dunkel

Hi folks,

Is there a standard interface to watch the temperature of the CPU (e.g. Athlon Thunderbird)? Or is this a feature of my main board?

How can I access the CPU temperature, fan speed etc. from Linux? Or is this too hardware dependent to implement a common interface?

Regards

Harri
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 8 lines
--------------------------------------------------------------------------
Joel Jaeggli				       [email protected]
Academic User Services			     [email protected]
     PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E
--------------------------------------------------------------------------
It is clear that the arm of criticism cannot replace the criticism of
arms.  Karl Marx -- Introduction to the critique of Hegel's Philosophy of
the right, 1843.
#2 lore raw
Quoted 8 lines · Joel Jaeggli

hi, you want to look at the lm_sensors project...

http://www.netroedge.com/~lm78/

the temperature voltage and fan sensors on your mainboard should be accessible without to much trouble...

Exactly what I was looking for.

Many thanx

Harri

#3 lore raw
In reply to Harald Dunkel
Quoted 2 lines

Is there a standard interface to watch the temperature of the CPU (e.g. Athlon Thunderbird)? Or is this a feature of my main board?

Generally it comes from the mainboard

Quoted 2 lines

How can I access the CPU temperature, fan speed etc. from Linux? Or is this too hardware dependent to implement a common interface?

lm-sensors - it works well. Its shipped in some vendor trees

#4 lore raw
Quoted 3 lines · Alan Cox
Quoted 2 lines

How can I access the CPU temperature, fan speed etc. from Linux? Or is this too hardware dependent to implement a common interface?

lm-sensors - it works well. Its shipped in some vendor trees

Whats the schedule to merge with mainline kernel? Right now we have two i2c trees -- the one in the kernel and the one in lm-sensors...

-Dan

Signature · 1 line
[-] Omae no subete no kichi wa ore no mono da. [-]
#5 lore raw
Quoted 7 lines · In article <[email protected]> you wrote:
Quoted 3 lines · Alan Cox
Quoted 2 lines

How can I access the CPU temperature, fan speed etc. from Linux? Or is this too hardware dependent to implement a common interface?

lm-sensors - it works well. Its shipped in some vendor trees

Whats the schedule to merge with mainline kernel? Right now we have two i2c trees -- the one in the kernel and the one in lm-sensors...

2.4.10-ac4 contains the latest i2c code.

Christoph

Signature · 1 line
Of course it doesn't work. We've performed a software upgrade.
#6 lore raw
In reply to Dan Hollis
Quoted 7 lines · Alan Cox
Quoted 3 lines
Quoted 2 lines

How can I access the CPU temperature, fan speed etc. from Linux? Or is this too hardware dependent to implement a common interface?

lm-sensors - it works well. Its shipped in some vendor trees

Whats the schedule to merge with mainline kernel? Right now we have two i2c trees -- the one in the kernel and the one in lm-sensors...

The -ac tree is in sync. Hch did the leg work for that

#7 lore raw

Of course I would be interested to get the lm_sensors included in the kernel, too. Is this still an option for 2.4.x?

Regards

Harri

#8 lore raw
Quoted 2 lines

Of course I would be interested to get the lm_sensors included in the kernel, too. Is this still an option for 2.4.x?

It doesnt break the machine, replace key parts of the core of the system or change critical interfaces. By conventional standards its ok, by 2.4.10 standards its not a candidate 8)

I'm certainly prepared to go through the files trying to poke holes in them and its stuff I think just about every vendor already ships anyway

#9 lore raw
In reply to Harald Dunkel
Quoted 7 lines · On 20011007 Alan Cox wrote:
Quoted 2 lines

Of course I would be interested to get the lm_sensors included in the kernel, too. Is this still an option for 2.4.x?

It doesnt break the machine, replace key parts of the core of the system or change critical interfaces. By conventional standards its ok, by 2.4.10 standards its not a candidate 8)

Latest CVS release has even changed all the malloc includes to slabs, so is there any non-cosmetic problem ?

Signature · 4 lines
J.A. Magallon                           #  Let the source be with you...        
mailto:[email protected]
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.10-ac7-bproc #1 SMP Sat Oct 6 12:38:17 CEST 2001 i686
#10 lore raw
In reply to Alan Cox
Quoted 7 lines · Dan Hollis
Quoted 4 lines
Quoted 2 lines

How can I access the CPU temperature, fan speed etc. from Linux? Or is this too hardware dependent to implement a common interface?

lm-sensors - it works well. Its shipped in some vendor trees

Whats the schedule to merge with mainline kernel? Right now we have two i2c trees -- the one in the kernel and the one in lm-sensors...

On my Abit VP6, hardware monitoring is on IO address 0x294h to 0x297h. Why do we have to patch kernel and load module? Isn't there something simpler which we can compile and run as root?

Signature · 2 lines
William Park, Open Geometry Consulting, <[email protected]>
8 CPU cluster, Linux (Slackware), Python, LaTeX, Vim, Mutt, Tin