I'm attempting to interface a TrippLite BC Pro 1400 UPS with a RH9
server for automated shutdowns in the event of a long power failure.
It is a "dumb" contact-closure UPS, so it shouldn't be too difficult.
TrippLite claims to have software that supports *nix, but it hasn't
worked for me under HP-UX, IRIX, or Linux. So I'm giving up on them
and trying to modify the powerd software (power.sourceforge.net) to
work with my particular UPS.
I've got a schematic of the interface cable that provides some
guidance: http://www.uiuc.edu/~menscher/73-0724.bmp
The place where I'm stuck now is that I can't seem to figure out
exactly how the interface is supposed to take place. They
say pin 4 should supply V+, and pin 4 is DTR, so I tried setting
TIOCM_DTR high with an ioctl(fd,TIOCMSET,&bits) type of command.
But when I measure the voltage on the pin, I'm reading -11V. So
I'm very confused.
Has anyone messed with this type of thing before? I could really
use some help here....
Damian Menscher
--
-=#| 488 LLP, 1110 W. Green St, Urbana, IL 61801 Ofc:(217)333-0038 |#=-
-=#| 4602 Beckman, VMIL/MS, Imaging Technology Group:(217)244-3074 |#=-