Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> writes: > On Wed, 18 Jan 2012, Oliver Neukum wrote: > >> how hard would it be to "fake" a device that is a child of the real >> device, so that we could write a tiny driver for a "union" interface >> that would probe "subdrivers" using the generic probe() calls? > > All you have to do is call device_register(), with the parent field set > to the interface. Is that what you mean? I believe the wish was for a device which an USB interface driver could bind to. Is it possible to create such a "virtual USB interface" using that procedure? Or would it be necessary to modify the interface driver to understand the concept? But I don't need any of this after all. I already have the two interfaces I need... I'm just utterly stupid not realizing it before: usbnet will not send any control messages referring to its control interface, and the device will not send any notifications except the "response available". So just make usbnet leave the control interface alone and make cdc-wdm bind to it instead. Works like a charm! So, although the above questions are theoretically interesting, and it also is quite possible to create an API for cdc-wdm allowing other drivers to use it, none of this is really required for making the device I'm looking at work. Bjørn -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html