Hello, I am trying to understand how to create a custom configuration for the 
genericups driver.  My system simply signals RI on a serial port on low 
battery. That's it, nothing else.   This serial port is also being used for 
communications so the other lines are going to be changing all the time, 
unrelated to the UPS state.  Is there a "null" upstype I can use, and then add 
LB=RNG?  Or can I choose one of the other upstypes and clear or unset the 
conditions associated with the other serial port lines?

I previously used genpowerd and configured it like this:
...
UPSTYPE=robot
UPSPORT=/dev/ttyS0

# type   cablep  kill          t              powerok              battok   
cableok
robot     ---           RI            0              /RI                        
  ---           ---
...

Is there an equivalent of "---" in genericups?

I couldn't tell whether this can be done after reading the section on contact 
closure hardware in the developers guide.  Is there more documentation on 
genericups?

I'm setting up nut 2.6.3 on Ubuntu 12.04.

If you're wondering, it's not a UPS, it's an interface to a mobile robot.  
Normally there is more comprehensive monitoring of the battery health by 
software through other means, but if the software isn't running, this is a 
fallback to shut down the computer.

I realize this is a pretty degenerate case but hope there is some way to make 
it work with NUT.

Thanks!

Reed


_______________________________________________
Nut-upsuser mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to