[Nut-upsdev] Re: Driver for Powerware 3105 (USB)

arnaud.quette at mgeups.com arnaud.quette at mgeups.com
Thu Aug 18 13:48:29 UTC 2005



> > Is there any interest in that driver?
>
> It's always hard to judge the interest in the driver beforehand. But
> the code looks nice, and as far as I'm concerned, it sounds worthwhile
> to integrate it into NUT.

always ;-)

> What version of NUT is this based off of? (release version number, or
> CVS branch)
>
> Arnaud: if you're too busy, do you want me to look at merging this
> driver into the tree?
> ...
yep, I'm interested (just don't forget the CHANGES when done,
and ping me as we've no CIA commit "bot").
as it won't go in Testing/Stable, but in _Development_ (so for 2.2),
prepare for the next cleanup in the driver dir:
big (complex) drivers (ie snmp-ups, newhidups, ...) will be put in
a separate subdirectory (named after the driver name).
so, create a bcmxcp dir, with with the common code file, the serial
and the usb marshaller files, ...

As a side note:
- future nut (base package) packages will include back the nut-usb
package, but with an option to enable usb drivers...
- the NUT-NG will (ab)use drivers as shared/dyn libs. By extension,
drivers that either need usb or serial marshalling will have the
option to load an extension .so (ie in this case, bcmxcp would
load either bcmxcp_serial.so or bcmxcp_usb.so depending on a
driver flag/param).

So, for now, you can make two separated binaries. But keep
in mind the above...

Arnaud





More information about the Nut-upsdev mailing list