On 2013.02.28 03:07, Xiaofan Chen wrote: > The extended properties OS feature descriptor failed because it must be > directed to the WinUSB interface (LIBUSB_RECIPIENT_INTERFACE), > not the device (LIBUSB_RECIPIENT_DEVICE). The first byte of the > Setup packet should be C1h, not C0h. (I didn't try to fix it, just observed > what the application sent.)
What the heck? We used to have C1 for the Extended Properties, and I removed it after seeing an MS doc that said we device rather than interface should be used. Actually, here's me, on 2012.05.02 [1], stating the following: > I could have sworn I saw some documentation indicating that > bmRequestType was supposed to be set to 0xC1 (=> recipient = > interface) > when attempting to retrieve the Extended Properties OS Feature > Descriptor from a device. As a matter of fact, this is the info I > currently provide on the WCID page [1]. However, checking on the > latest > MS documentation [2], it seems that Microsoft do state that it should > be set to 0xC0 (=> recipient = device), in which case the WinUSB > override does not occur. > > I guess I'll have to update the xusb sample as well as the WCID page. And prompto, switching to 0xC0 is what I did [2]. I see the latest version of the MS doc is dated 2012.11.19, so either I wasn't reading straight in May, or Microsoft altered their doc in November. Sigh... I guess I'll revert back to interface. But there should still be an issue when using interface with WinUSB, as it overrides the low byte of wIndex with the destination interface: [3] Regards, /Pete [1] http://sourceforge.net/mailarchive/message.php?msg_id=29208842 [2] See https://github.com/libusbx/libusbx/commit/939a4782b28c36dfddb68585c4b027a4d5494a5b [3] http://www.lvr.com/forum/index.php?topic=331 ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel