> On Mon, Apr 26, 2010 at 04:42:17PM +0200, Michał Nazarewicz wrote:
On Mon, 26 Apr 2010 16:16:05 +0200, Daniel Mack <daniel@caiaq.de> wrote:
Granted, but since RDNIS needs an INF anyway there should be little or no
problems in specifying which configuration we are interested in. And Linux
has a special case for RNDIS so there should be no problems here.
No. Windows has a driver for composite gadget which acts as a bus for
other USB drivers connected to interfaces. However, in order for Windows
to treat a gadget as composite several rules need to be adhered to. Those
include specific class, subclass and protocol as well as requirement that
the gadget can have only one configuration. The rules are described at
<URL:http://msdn.microsoft.com/en-us/library/ff537109.aspx>.
Yes, I think we all agree on that. ;)
Hopefully, then the drivers are installed Windows will be able to find them
on its own, but this goes even beyond that. When the device is connected
for the first time there will be no drivers and the full blown "Found
New Hardware" dialog will be shown.
On the other hand, if I ware able to make Windows treat me as a mass
storage gadget when drivers are not installed, this will solve (some of)
my problems.
Yes, I'm sure. I've investigated an USB GSM modem which, when plugged
for the first time reports as mass storage (single configuration, single
interface) and when drivers are installed as a full blown composite
gadget. I still haven't figured out how it does that.
--
Best regards, _ _
| Humble Liege of Serenely Enlightened Majesty of o' \,=./ `o
| Computer Science, Michał "mina86" Nazarewicz (o o)
+----[mina86*mina86.com]---[mina86*jabber.org]----ooO--(_)--Ooo--
--