Re: USB gadget with drivers "on board"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michał Nazarewicz
Date: Monday, April 26, 2010 - 7:42 am

> On Mon, Apr 26, 2010 at 10:29:05AM +0200, Michał Nazarewicz wrote:

On Mon, 26 Apr 2010 16:16:05 +0200, Daniel Mack <daniel@caiaq.de> wrote:

Ideally, I would like to use two configurations on its own just like
g_ether that is one configuration with RNDIS and some other functionality
and another with CDC ECM and some other functionality.

It seems however that such gadgets are not properly detected by Windows
as composite devices and thus require a driver (I imagined a single INF
should be enough but now I'm not even sure of that) and so I tried adding
another configuration with just the mass storage function and this seems
to be handled correctly.

Now, even if I were to ignore the other RNDIS/ECM multiple personality
disorder and sticking to a single configuration with RNDIS there's still
an issue (or challenge if you will) of a "Found new driver" dialog
popping up like crazy when the device is inserted but the drivers from
mass storage didn't have time to install.  This is especially true since
it was my experience that RDNIS is able to freeze Windows if it's not
the first interface.

So in the end, I'm looking for a method to get a device that can be
plugged in and report as mass storage with drivers but when drivers
are installed report as something else.  I know it is possible since
I encountered several devices that do exactly that.


PS. There seem to be some mass with the To and Cc headers in my
original message.  Sorry about that.

-- 
Best regards,                                           _     _
  .o. | Liege of Serenely Enlightened Majesty of       o' \,=./ `o
  ..o | Computer Science,  Michał "mina86" Nazarewicz     (o o)
  ooo +---[mina86@mina86.com]---[mina86@jabber.org]---ooO--(_)--Ooo--
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
USB gadget with drivers &quot;on board&quot;, Michał Nazarewicz, (Mon Apr 26, 1:29 am)
Re: USB gadget with drivers &quot;on board&quot;, Daniel Mack, (Mon Apr 26, 7:16 am)
Re: USB gadget with drivers "on board", Michał Nazarewicz, (Mon Apr 26, 7:42 am)
Re: USB gadget with drivers &quot;on board&quot;, Daniel Mack, (Mon Apr 26, 7:57 am)
Re: USB gadget with drivers &quot;on board&quot;, Michał Nazarewicz, (Mon Apr 26, 8:45 am)
Re: USB gadget with drivers &quot;on board&quot;, Josua Dietze, (Mon Apr 26, 10:37 am)