Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 1996 01:23:21 -0500 (EST)
From:      John Fieber <jfieber@indiana.edu>
To:        Joerg Wunsch <joerg_wunsch@uriah.heep.sax.de>
Cc:        FreeBSD hackers <freebsd-hackers@FreeBSD.ORG>, sns@viaduk.net, Charles Green <green@fang.cs.sunyit.edu>, alexis@dawn.ww.net
Subject:   Re: APC Powerchute
Message-ID:  <Pine.NEB.3.93.960524010247.448G-100000@Fieber-John.campusview.indiana.edu>
In-Reply-To: <199605231939.VAA18623@uriah.heep.sax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 May 1996, J Wunsch wrote:

> I had to install PowerChute on the SCO box of a customer some time
> ago.  The scripts accompanying the software looked so terrible that i
> would never install it on a system of my own.

I actually tried this just today, seing as how I just got a UPS
yesterday.  The SCO disks are supposedly cpio, but I have not
been able to get anything off of them, even after careful
examination of the horrendous install script.

> Alexis Yushin's upsd at least has a thoughtful and extensible design.
> If there are features missing for you, why not try to extend it?

I just spent the afternoon working on this.  I got a SmartUPS v/s
which is a lobotomized SmartUPS.  I spent a bunch of time
watching the bytes flow between the ups and the os/2 version of
powerchute v/s.  I added a second type of ups to upsd that seems
to work well.

The two commands that I don't understand are G and 9.  During
normal operation powerchute sends the commands Q, 9, and X to the
UPS once per second.  If the power power goes off, the sequence
changes to Q, G, and X.  9 always returns FF while G always
returns T.

Clues?

Also, for someone with a real SmartUPS (or any other APC), does
Control-A return a model number?  If so, it may be possible to
have a more generic APC module. 

-john

== jfieber@indiana.edu ===========================================
== http://fallout.campusview.indiana.edu/~jfieber ================




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.93.960524010247.448G-100000>