Subject: Re: UPS
To: None <netbsd@kb3ien.us>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 11/13/2005 12:03:13
Hello,

> I am running two netbsd 9600's (love them PCI ports) in an APC UPS
> (has 9 pin output), thanks to powerhungry i386s the UPS doesnt last
> that long

> when power goes out. We are in the heart of manhattan, in a well
> managed building so there is a good chance that /if/ the power goes
> out, it will be restored promptly.
> 
> 
> Questions:
> 
>  	1	what software works well on netbsd using an RS232 port.
>  	works well = can execute scripts when mains power is off, AND 
> battery drops below a given % of remaing charge.

You may want to have a look at pkgsrc/sysutil/ups-nut to talk to the
UPS.

>  	2	what is the best way to how the box auto-poweron after 
> restore power.

depends - there's supposedly a firmware setting for this but I'm not
sure if or how it works on OF 1.0.5, shorting the power button
supposedly does the same thing but I never did it.

have fun
Michael