UPS directed system shutdown info needed

Daniel R. Levy levy at ttrdc.UUCP
Sat Jan 21 16:14:40 AEST 1989


In article <32 at elgar.UUCP>, ag at elgar.UUCP (Keith Gabryelski) writes:
< The second scenario is for any system that does not use an internal
< IPS.
< 
<     A daemon monitors a serial port for a message from the IPS tell it
<     that the system is on battery power.  Actually, the daemon blocks
<     on an open() to the serial port.  When the system goes on battery
<     power, the IPS asserts a HIGH on the DCD pin which allows the
<     open() to return.  This tells the daemon the the system is on
<     battery power.

I could see a possible problem with this if the port jams;  the UPS could
go on battery power and the system would fail to notice, nor would it notice
the fact that the port had jammed.  Mightn't it be better to have some kind
of continuous "self test" going on?
-- 
Daniel R. Levy             UNIX(R) mail:  att!ttbcad!levy
AT&T Bell Laboratories
5555 West Touhy Avenue     Any opinions expressed in the message above are
Skokie, Illinois  60077    mine, and not necessarily AT&T's.



More information about the Comp.unix.questions mailing list