lkml.org 
[lkml]   [1998]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Heat detector
Trevor Johnson wrote:
>
> > I apologize if this is not the right place to ask or if someone has
> > already answer my question. I have a new motherboard TX97E, a K6-233 and
> > Linux-2.0.33 and , in the bios setup of the board, I can see the
> > temperature of the processor/motherboard. I was just wandering if there is
> > a simple way (some thing like a /proc entry) to get this information
> > without rebooting my box. If this doesn't already exist, I'll do it
> > myself, and I will make a patch for it. but If someone has already the
> > stuff, I won't have to re-invent the wheel.
>
> % ls -l /dev/temperature
> crw-r----- 1 root sys 10, 131 Dec 31 1969 /dev/temperature
>
> I think you need to enable the software watchdog for this to work. Check
> in drivers/char.

/dev/temperature is only an interface to the temperature sensor that is
part of the hardware watchdog timer card - ICS WDT501P. Integrated
motherboard LM78 circuitry is wholly different, and more featurefull.

From /usr/src/linux/Documentation/watchdog.txt:
"A second temperature monitoring interface is available on the WDT501P
cards
and provides /dev/temperature. This is the machine internal temperature
in
degrees farenheit. Each read returns a single byte giving the
temperature."

-STEVEl

--
---------------------------------------------------------------------
Steve Logue http://home.cdsnet.net/~stevel
Systems Integration nettek LLC
---------------------------------------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.128 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site