2001-10-03 16:43:03

by Harald Dunkel

[permalink] [raw]
Subject: CPU Temperature?

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


2001-10-03 16:50:56

by Joel Jaeggli

[permalink] [raw]
Subject: Re: CPU Temperature?

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

On Wed, 3 Oct 2001, Harald Dunkel wrote:

> 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/
>

--
--------------------------------------------------------------------------
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.


2001-10-03 17:01:36

by Harald Dunkel

[permalink] [raw]
Subject: Re: CPU Temperature?

Joel Jaeggli wrote:
>
> 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

2001-10-04 21:07:52

by Alan

[permalink] [raw]
Subject: Re: CPU Temperature?

> 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

> 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

2001-10-04 21:44:55

by Dan Hollis

[permalink] [raw]
Subject: Re: CPU Temperature?

On Thu, 4 Oct 2001, Alan Cox wrote:
> > 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
--
[-] Omae no subete no kichi wa ore no mono da. [-]

2001-10-04 21:55:25

by Christoph Hellwig

[permalink] [raw]
Subject: Re: CPU Temperature?

In article <[email protected]> you wrote:
> On Thu, 4 Oct 2001, Alan Cox wrote:
>> > 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

--
Of course it doesn't work. We've performed a software upgrade.

2001-10-04 21:59:35

by William Park

[permalink] [raw]
Subject: Re: CPU Temperature?

On Thu, Oct 04, 2001 at 02:43:24PM -0700, Dan Hollis wrote:
> > > 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?

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

2001-10-04 22:04:36

by Alan

[permalink] [raw]
Subject: Re: CPU Temperature?

> On Thu, 4 Oct 2001, Alan Cox wrote:
> > > 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

2001-10-05 20:58:28

by William Park

[permalink] [raw]
Subject: Re: CPU Temperature?

On Thu, Oct 04, 2001 at 02:43:24PM -0700, Dan Hollis wrote:
> > > 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?

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

2001-10-07 08:59:22

by Harald Dunkel

[permalink] [raw]
Subject: Re: CPU Temperature?

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

2001-10-07 10:05:56

by Alan

[permalink] [raw]
Subject: Re: CPU Temperature?

> 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

2001-10-08 00:27:44

by J.A. Magallon

[permalink] [raw]
Subject: Re: CPU Temperature?


On 20011007 Alan Cox wrote:
>> 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 ?

--
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