From: Johan Hovold <johan@kernel.org>
To: "Bjørn Mork" <bjorn@mork.no>
Cc: "Johan Hovold" <johan@kernel.org>,
"Thomas Schäfer" <tschaefer@t-online.de>,
linux-usb@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] USB: option: add "D-Link DWM-221 B1" device id
Date: Thu, 7 Apr 2016 11:34:14 +0200 [thread overview]
Message-ID: <20160407093414.GE25008@localhost> (raw)
In-Reply-To: <1459197455-11180-1-git-send-email-bjorn@mork.no>
On Mon, Mar 28, 2016 at 10:37:35PM +0200, Bj�rn Mork wrote:
> Thomas reports:
> "Windows:
>
> 00 diagnostics
> 01 modem
> 02 at-port
> 03 nmea
> 04 nic
>
> Linux:
>
> T: Bus=02 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 4 Spd=480 MxCh= 0
> D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
> P: Vendor=2001 ProdID=7e19 Rev=02.32
> S: Manufacturer=Mobile Connect
> S: Product=Mobile Connect
> S: SerialNumber=0123456789ABCDEF
> C: #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=500mA
> I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> I: If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> I: If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=00 Driver=option
> I: If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
> I: If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage"
>
> Reported-by: Thomas Sch�fer <tschaefer@t-online.de>
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Bj�rn Mork <bjorn@mork.no>
> ---
> drivers/usb/serial/option.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
> index 348e19834b83..6ca2cc5790c0 100644
> --- a/drivers/usb/serial/option.c
> +++ b/drivers/usb/serial/option.c
> @@ -1818,6 +1818,8 @@ static const struct usb_device_id option_ids[] = {
> { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d02, 0xff, 0x00, 0x00) },
> { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d03, 0xff, 0x02, 0x01) },
> { USB_DEVICE_AND_INTERFACE_INFO(0x2001, 0x7d03, 0xff, 0x00, 0x00) },
> + { USB_DEVICE(0x2001, 0x7e19), /* D-Link DWM-221 B1 */
> + .driver_info = (kernel_ulong_t)&net_intf4_blacklist },
Why not use USB_DEVICE_INTERFACE_CLASS here to avoid even trying to
probe the mass-storage interface?
Thanks,
Johan
next prev parent reply other threads:[~2016-04-07 9:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-28 20:37 [PATCH] USB: option: add "D-Link DWM-221 B1" device id Bjørn Mork
2016-04-07 9:34 ` Johan Hovold [this message]
2016-04-07 9:54 ` Bjørn Mork
2016-04-07 10:09 ` [PATCH v2] " Bjørn Mork
2016-04-07 10:20 ` Johan Hovold
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=20160407093414.GE25008@localhost \
--to=johan@kernel.org \
--cc=bjorn@mork.no \
--cc=linux-usb@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=tschaefer@t-online.de \
/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