Jason Kotzin wrote: > you can change that to the following: > > libusb_control_transfer(handle, 0x42, 0x3, variable1, variable2, buf[1], 1, > 500); > > Maybe that answers my question. I don’t have endpoint 3 on my device, so > maybe winusb is restricting communication where libusbk is not?
That is correct. Your request is not a valid USB request, and WinUSB happens to enforce that. When you have a control request aimed at an endpoint (even a vendor request, which is what 0x42 is), then the bRequest byte must contain the endpoint number that is the target of the request. If you want to use bRequest for your own purposes, then you should use a vendor request to the device, which is 0x40 instead of 0x42. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel