I've uploaded two packages to my contrib directory
(ftp://ftp.e-smith.org/pub/e-smith/charlieb) to integrate configurable UPS
interface software with e-smith. The two packages are:

RPMS/i386/powstatd-1.4.1-1.i386.rpm
RPMS/noarch/e-smith-powstatd-0.1-1.noarch.rpm

Here's the README from e-smith-powstatd:

This module interfaces with the powstatd daemon, which monitors a UPS
via a serial connection.

There is currently no GUI for setting up configuration parameters. To
configure for a CyberPower 99 UPS, do:

/sbin/e-smith/config set UPS \
'watch|ttyS0|init0|dtr|init1|rts|fail|cts,0|kill|dtr,1|low|dcd,1'
/sbin/e-smith/signal-event console-save
/etc/rc.d/init.d/powstatd start

To configure for an APC UPS, do:

/sbin/e-smith/config set UPS \
'watch|ttyS0|init0|rts|init1|dtr|fail|dsr,0|kill|rts,1|low|cts,0'
/sbin/e-smith/signal-event console-save
/etc/rc.d/init.d/powstatd start

To determine the correct initialisation for any other UPS, read the
powstatd man page, connect the UPS via serial cable, but without the
computer running from UPS power. Then run powstatd in its test mode
"powstatd -t" from memory. You'll then need to work out the init0, init1,
fail, kill and low values. Reading the files in
/etc/e-smith/templates/etc/powstatd.conf/ might help you. Please send me
the results for any UPS you analyse this way.

Please observe all usual safety precautions.

Thanks

  Charlie Brady                         [EMAIL PROTECTED]
  http://www.e-smith.org (development)  http://www.e-smith.com (corporate)
  Phone: +1 (613) 368 4376 or 564 8000  Fax: +1 (613) 564 7739
  e-smith, inc. 1500-150 Metcalfe St, Ottawa, ON K2P 1P1 Canada



Reply via email to