[Nut-upsdev] Powerware PW5115 USB driver
kjell.claesson at epost.tidanet.se
Thu Nov 8 15:43:36 UTC 2007
Den Thursday 08 November 2007 09.21.34 skrev Max E. Kuznecov:
> 2007/11/7, Charles Lepple <clepple at gmail.com>:
> > Lots of code misuses the USB_ENDPOINT_* defines.
> > Also, the control requests can have different destinations (e.g.
> > setting a string descriptor vs. a report descriptor), which are
> > logically OR'd with the request number.
> Well, anyway, I just thought that this may help to get one more UPS up
> and running, mine now does.
Well it is worth a try, but it have to be in another way.
The nut_usb.c contains the code that is used to open the device
(nutusb_open) this call open_powerware_usb.
One way is to check if it is a 5115 (or 3110) by product and vendor
and set up this in the right way, so the usb_set_descriptor function
is using the right request and endpoint.
But this have to be havily commented that it does not follow the
normal usb way.
If you can come up with this in code i would consider to enter it into the
Any comments Charles ?
More information about the Nut-upsdev