[Nut-upsdev] Re: [nut-commits] svn commit r801 - in

Alexander I. Gordeev lasaine at lvk.cs.msu.su
Thu Feb 22 00:19:52 CET 2007


Jon wrote:

>     I have made a small change to the megatec_usb.c file. This is to
> add endpoint to the usb_ups_t so that it can be specified in the
> KnownDevices array. I have uploaded it, but I seem to have missed
> uploading the message area to explain what the change was. I am not
> use to using SVN on Linux, so it is user error (dumb user syndrom),
> sorry about that.
>
>     As far as I can tell, the non-Ablerex UPSs should still work OK
> as they still get the endpoint number they are expecting.
>

I think, we can avoid adding this field by switching back to
'usb_get_descriptor'. The only benefit of 'usb_control_msg' is the
ability to specify timeout which seems to be pretty useless at the
moment.

-- 
   Alexander



More information about the Nut-upsdev mailing list