Pete Batard wrote: > On 2013.08.14 00:21, Xiaofan Chen wrote: >> The 2nd option is not possible without changes in libusbx. Right now >> it is not possible to access the other interfaces other than the first >> interface in an interface collection of a USB IAD device as of >> now, even though the supported driver (eg: WinUSB) is used to >> associate with the interface collection. > I'm also worried about this part from [1]: > "Client drivers cannot access IAD descriptors directly."
That's not an issue. If you are driving the composite device, then you get the entire configuration descriptor, which includes the IAD descriptors. If you are not driving the composite device, then usbccgp.sys rewrites the configuration descriptors. If you have a driver for MI_01, then the configuration descriptor that driver reads contains only interface #1. If you had an IAD that groups interfaces 3, 4, and 5, the PDO will be created for MI_03, but the rewritten configuration descriptor only includes interfaces 3, 4 and 5. You don't need the IAD, because you can enumerate the interfaces you got. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel