[Nut-upsuser] Setvar in bcmxcp

Rich Wrenn rwrenn at ddn.com
Sat Sep 10 19:20:59 UTC 2011


Greetings,


I have been using the bcmxcp_usb driver heavily over the last two years as part of a very successful product, first from NUT 2.4.1 and now from NUT 2.6.0.



Now I have a need to do setvar of the outlet.n.delay.start variables, so recently I modified bcmxcp.c to do that.  I've tested it and it works well for my purposes.  My plans are to begin shipping that modified driver as part of our product by the end of the year.



Initially, we plan to patch the stock bcmxcp.c file from 2.6.0 as part of our build, but long-term it would be nice if the changes were incorporated into the stock bcmxcp.c file so as we move to new versions of NUT that we don't need to constantly review the patch.



So, I would like to know if the NUT developers are interested in adopting these changes and if so, how can I help get them into the stock driver?



Attached is my patch file.  Note that the comments are a little verbose but that is only to make sure we comply with the GPL so I expect that those would be removed if the patch is incorporated into the stock bcmxcp.c.



Thanks,

Rich Wrenn

System Architect, DataDirect Networks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110910/feb93dfe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bcmxcp-RW.patch
Type: application/octet-stream
Size: 4801 bytes
Desc: bcmxcp-RW.patch
URL: <http://lists.alioth.debian.org/pipermail/nut-upsuser/attachments/20110910/feb93dfe/attachment.obj>


More information about the Nut-upsuser mailing list