[nut-Patches][313846] nut apcupsd client driver
nut-patches at alioth.debian.org
nut-patches at alioth.debian.org
Fri Sep 28 02:23:45 UTC 2012
nut-Patches item #313846, was changed at 2012-09-27 22:23 by Charles Lepple
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=411544&aid=313846&group_id=30602
Status: Open
Priority: 3
Submitted By: Andreas Steinmetz (anstein-guest)
Assigned to: Nobody (None)
Summary: nut apcupsd client driver
Category: None
Group: None
Resolution: None
Initial Comment:
I do have to access an APC UPS via PowerChute Client (pcnet) mode, which is supported by apcupsd and all of my regular systems are running apcupsd.
Furthermore I'm running QNAP NAS systems that require me to serve UPS data via nut. Thus I do need an apcupsd client driver for nut, which I do attach.
The attached patch is against nut-2.6.3 which is the current Gentoo version of nut. This, however, shouldn't be a problem.
----------------------------------------------------------------------
>Comment By: Charles Lepple (clepple-guest)
Date: 2012-09-27 22:23
Message:
Thanks for your patch! I would like to try this on one of my systems, since apcupsd still does a better job than NUT for accessing APC hardware on OS X.
I applied it to my Git mirror of the SVN trunk, and there were no conflicts (not surprisingly, given how recent 2.6.3 is). Here are a few minor additions to the comments and documentation:
https://github.com/clepple/nut/commit/b37b7cba2abc3c5d4d1747a442f3ca85535647c2
Since the core of NUT is GPLv2, and drivers link against that, I added that license boilerplate to the beginning of the source. Also, I'll poke around and see if we have some canned IPv6-compatible TCP code to add - otherwise, some of that can be added to common/
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=411544&aid=313846&group_id=30602
More information about the NUT-tracker
mailing list