[Nut-upsdev] Powerware PW5115 USB driver
Arjen de Korte
nut+devel at de-korte.org
Fri Nov 9 09:34:26 UTC 2007
>> > 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.
Any chance of converting this driver to use the functions from the
'libusb.c' that we provide? Figuring out the endpoints from the data
structures that are provided is still on my todo list and this might do
just what we need here.
Best regards, Arjen
--
Eindhoven - The Netherlands
Key fingerprint - 66 4E 03 2C 9D B5 CB 9B 7A FE 7E C1 EE 88 BC 57
More information about the Nut-upsdev
mailing list