Messages in this thread | | | From | Michal Nazarewicz <> | Subject | Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configurations | Date | Fri, 13 Aug 2010 22:35:39 +0200 |
| |
Xiaofan Chen <xiaofanc@gmail.com> writes:
> On Fri, Aug 13, 2010 at 5:31 PM, Dries Van Puymbroeck > <dries.van.puymbroeck@gmail.com> wrote: >> When a mutlifunction gadget has more than 1 configuration, Windows does not >> use its generic driver for multifunctional USB devices. > > Sorry but what do you mean by the above? > As per the previous discussions, it seems that a registry entry hack > (for Vista and Windows 7) is needed. > http://msdn.microsoft.com/en-us/library/ff538059%28VS.85%29.aspx > >> This commit adds an INF file that will load the required Windows driver >> as well as a short description in gadget_multi.txt > > It seems to me your inf file forces the USB Generic > Parent Driver (for USB Composite Device) to load. But for which > configuration? I do not have any device to test myself. But > I tend to guess it will still be the first configuration (either > RNDIS or CDC ECM).
2-configuration g_multi has configuration with RNDIS as the first one so that's pretty perfect for us.
-- Best regards, _ _ .o. | Liege of Serenly Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Michal "mina86" Nazarewicz (o o) ooo +--<mina86-tlen.pl>--<jid:mina86-jabber.org>--ooO--(_)--Ooo--
| |