lkml.org 
[lkml]   [2010]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2010-04-26 16:19    [W:0.050 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site