Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 26 Apr 2010 16:16:05 +0200 | From | Daniel Mack <> | Subject | Re: USB gadget with drivers "on board" |
| |
On Mon, Apr 26, 2010 at 10:29:05AM +0200, Michał Nazarewicz wrote: > I need to create an USB gadget with drivers for Windows included > "on board". In particular, when the gadget is connected to Windows > host it is detected as mass storage and mounted drive include the > drivers. However, when the drivers are installed, it is detected > as some other device. > > Now, it seems that a simple composite device with two configurations > is enough -- the first containing mass storage and the second other > functions. My tests show that Windows manages to set the first > configuration and detect the mass storage interface.
Why are you using two configurations on this device instead of one configuration with two interfaces? Interfaces are not allowed to share endpoints within one configuration, so they can be used simultaniously.
Daniel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |