This code, added to drivers/genericups.h, supports the CyberPower SL
series UPSes. I've tested with my 725SL - the online/on battery
transition, and low battery status, and finally the shutdown signal all
work as expected.
*** genericups.h.orig Sun Nov 2 16:54:24 2003
--- genericups.h Mon Oct 3 13:49:00 2005
***************
*** 220,225 ****
--- 220,234 ----
TIOCM_ST /* shutdown: ST (break) */
},
+ { "CyberPower",
+ "SL series",
+ "CyberPower SL",
+ TIOCM_RTS, /* cable power: RTS */
+ TIOCM_CTS, TIOCM_CTS, /* online: CTS on */
+ TIOCM_CAR, 0, /* low battery: CD (aka CAR) off
*/
+ TIOCM_DTR /* shutdown: DTR */
+ },
+
/* add any new entries directly above this line */
{ NULL,
As a side note, I originally tried to implement support in upsd.conf (as
below). This didn't work at all, the UPS was flagged as being On Battery
when it was plugged in, and NUT didn't notice when I unplugged the UPS.
driver=genericups
upstype=7
mfr=CyberPower
model=725SL
CP=RTS
OL=CTS
LB=-DTD
SD=-DTR
FWIW, my modifications are based on NUT 2.0.0 running on Gentoo Linux.
Thanks,
David Kaufman
kaufman@kaufmanfamily.net
Hi David, 2005/10/3, David H Kaufman <kaufman@kaufmanfamily.net>:> > This code, added to drivers/genericups.h, supports the CyberPower SL > series UPSes. I've tested with my 725SL - the online/on battery > transition, and low battery status, and finally the shutdown signal all > work as expected.I've logged it in the patch tracker: https://alioth.debian.org/tracker/index.php?func=detail&aid=302337&group_id=30602&atid=411544 ...> As a side note, I originally tried to implement support in upsd.conf (as > below). This didn't work at all, the UPS was flagged as being On Battery > when it was plugged in, and NUT didn't notice when I unplugged the UPS. > > driver=genericups > upstype=7 > mfr=CyberPower > model=725SL > CP=RTS > OL=CTS > LB=-DTD > SD=-DTR >I've to check the code, but I'm neither author nor user of it. Anyway, a bug is logged too: https://alioth.debian.org/tracker/index.php?func=detail&aid=302338&group_id=30602&atid=411542 Thanks for your contribution, Arnaud Quette -- Linux / Unix Expert - MGE UPS SYSTEMS - R&D Dpt Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/ Debian Developer - http://people.debian.org/~aquette/ OpenSource Developer - http://arnaud.quette.free.fr/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/nut-upsdev/attachments/20051008/ceef7fbb/attachment.html