Re: Heat detector

Steve Logue (stevel@mail.cdsnet.net)
Sat, 14 Feb 1998 23:07:27 +0000


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