On 13-Aug-13 11:36, Xiaofan Chen wrote:
> As replied by Tim in that thread, each interface of a USB composite
> device is a separated one. If you only installed the supported driver for
> the first interface, (Interface 0), then you can only claim interface 0
> with libusbx, not the other two interfaces with unsupported driver.

Thanks for the answer, although I'm still confused. Can you then give me 
a hint, if there's a straightforward way how to install libusbx-friendly 
driver to all the three interfaces covered by the IAD, e.g. using 
Zadig/libwdi, while keeping usbccgp.sys for the composite parent?

> If you replace the system composite parent by a supported driver,
> then of course you can claim all three interfaces since now they
> are all under the control of same driver.

Or is the only way here to replace the system's composite parent driver?

 From my understanding of MS documentation related to IAD's handling, e.g.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff537107%28v=vs.85%29.aspx
I believed that in presence of IAD the associated interfaces are really 
always treated as belonging to the same driver (meaning if usbccgp.sys 
is in control of the parent).

Brief comparison with libusb-win32 seems to indicate that this lib has 
no problem with such setup (usbccgp.sys on parent, libusb0.sys on IF 0), 
but of course there the enumeration process is completely different.

Finally, during my earlier experiments, I tried a trivial 
"hack"-modification of libusbx, assigning the same backend (subAPI) to 
the associated interfaces as to the first one - and after this 
modification everything "just worked", therefore I was hoping there 
would be a solution. However, due to my lack of knowledge of libusbx 
internals, I'm of course not sure if such approach might have some 
unexpected side effects.

Thanks, Jan


------------------------------------------------------------------------------
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

Reply via email to