public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michal Nazarewicz <mina86@mina86.com>
To: Xiaofan Chen <xiaofanc@gmail.com>
Cc: "Dries Van Puymbroeck" <dries.van.puymbroeck@gmail.com>,
	linux-usb@vger.kernel.org, "Greg KH" <greg@kroah.com>,
	"Michał Nazarewicz" <m.nazarewicz@samsung.com>,
	"Dries Van Puymbroeck" <dries.vanpuymbroeck@dekimo.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configurations
Date: Fri, 13 Aug 2010 22:35:39 +0200	[thread overview]
Message-ID: <87sk2i45es.fsf@erwin.mina86.com> (raw)
In-Reply-To: <AANLkTikk7T6v8zwzEQuZ7yDgf6AcdEfNJr7BG+z1O02n@mail.gmail.com> (Xiaofan Chen's message of "Fri, 13 Aug 2010 21:31:46 +0800")

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--

  reply	other threads:[~2010-08-13 20:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-13  9:31 [PATCH] USB: Gadget: g_multi: added INF file for gadget with multiple configurations Dries Van Puymbroeck
2010-08-13 13:31 ` Xiaofan Chen
2010-08-13 20:35   ` Michal Nazarewicz [this message]
2010-08-14  1:27     ` Xiaofan Chen
2010-08-14  8:39       ` Michal Nazarewicz
2010-08-14  8:57         ` Xiaofan Chen
2010-08-16  8:07           ` Dries Van Puymbroeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sk2i45es.fsf@erwin.mina86.com \
    --to=mina86@mina86.com \
    --cc=dries.van.puymbroeck@gmail.com \
    --cc=dries.vanpuymbroeck@dekimo.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=m.nazarewicz@samsung.com \
    --cc=xiaofanc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox