|
From: Alan S. <st...@ro...> - 2012-01-17 15:43:05
|
On Tue, 17 Jan 2012, Johannes Stezenbach wrote: > Hi, > > On Tue, Jan 17, 2012 at 11:50:22AM +0000, Pete Batard wrote: > > On 2012.01.17 11:00, michele.paolino wrote: > > > > > libusb_set_configuration(cur_handle, 1) > > > > http://www.libusb.org/wiki/windows_backend#KnownRestrictions : > > "WinUSB cannot be used to set a device configuration that is different > > from the default one. This is a limitation of the Microsoft driver." > > > > You should try to avoid using libusb_set_configuration on Windows (at > > least as long as we only support WinUSB as a driver), unless you are > > certain to select the default one. > > Among other things, SET_CONFIGURATION resets the data toggle of > the endpoint to DATA0. Why would anybody want to do that? Isn't it easier and simpler just to keep using the endpoint's current data toggle value? Alan Stern |