Subject: Re: On sensors and Burning up the CPU CHIP.
To: Todd Gruhn <>
From: Manuel Bouyer <>
List: netbsd-users
Date: 09/11/2003 23:11:20
On Thu, Sep 11, 2003 at 09:50:29PM +0800, Todd Gruhn wrote:
> I did some feeling around in my computer and found a large warm
> spot. I wish to add another fan with detector. How do I know that
> fan also has an lm78-type chip short of plugging it in and finding
> out?
> Checkout
> I know its LINUX, but could NetBSD make use of this detector
> software by porting it, and merging the I2C stuff with the 
> source tree? This should allow all sorts of detection possibilities...

Maybe a userland tool such a mbmon could talk to it ?

> I wrote a perl daemon to monitor the fan and CPU temp, and shutdown
> system if chip gets too hot or fan dies. But, I can't shut power off!
> Is there a trick to this (shutdown -p only halts system); what about
> shutdown -h | poweroff ? How do I know my system can even do this?

It needs to have APM configured (and enabled in BIOS).
poweroff is just 'halt -p', and won't work any better as shutdown -p

Manuel Bouyer <>
     NetBSD: 24 ans d'experience feront toujours la difference