[Nut-upsdev] Powerware PW5115 USB driver
Kjell Claesson
kjell.claesson at epost.tidanet.se
Sun Nov 11 08:03:01 UTC 2007
Den Saturday 10 November 2007 17.41.25 skrev Arjen de Korte:
OK Arjen,
> > Yes this would be the best way. It is possible as it use the same
> > function.
> > And I have always wondered why the libusb was made instead of changing
> > the nut_usb to handle tings. But we can move bcmxcp_usb to use libusb,
> > and scrap the nut_usb.
>
> Well, that had probably to do with the driver specific things that are
> used in nut_usb. Figuring out which devices to connect to, should not be
> coded in there.
>
That part going into the bcmxcp_usb.c just like the megatec_usb driver,
using the matcher in libusb. Then what's left in the nut_usb is also found
in libusb.c.
Regards
Kjell
More information about the Nut-upsdev
mailing list