[Nut-upsdev] questions re. patching bcmxcp.c and choosing variable names

Oliver Wilcock oliver at owch.ca
Fri Apr 6 04:39:49 UTC 2007


I've patched bcmxcp.c such that it can power cycle the outlet load
segments independently on a Powerware PW5125 UPS.  I presume that it will
work for any XCP protocol UPS with 2 load segments.

Should these instant commands be called
outlet.1.shutdown.return
outlet.2.shutdown.return
?

Where do the descriptions displayed by upscmd -l come from?  Presently it
shows
 outlet.1.shutdown.return - Unavailable
 outlet.2.shutdown.return - Unavailable

And just in case there is someone out there who has documentation of the
XCP protocol.  What is the 4th byte of the 0x8A command for?  I tinkered
with values until it worked, but it would be nice to know if sending 0x00
means something unpleasant that hasn't yet become apparent...

And since I'm so green that I don't know what a patch in diff -u format
means, would someone be kind enough to explain how to submit this patch
(or point me to a succinct description).




More information about the Nut-upsdev mailing list