Re: option driver, ZTE MF_330 matches linux usb 2.0 root hub

From: Michael Tokarev
Date: Thu May 26 2011 - 17:28:46 EST


27.05.2011 01:13, Michael Tokarev wrote:
> I noticed that recently, all my systems started
> loading option.ko driver even if I've no single
> GSM modem anywhere around.
>
> After some investigation I found this in option.c:
>
> /* ZTE PRODUCTS -- alternate vendor ID */
> #define ZTE_VENDOR_ID2 0x1d6b
> #define ZTE_PRODUCT_MF_330 0x0002
> ...
> { USB_DEVICE(ZTE_VENDOR_ID2, ZTE_PRODUCT_MF_330) },
>
>
> But this matches... "Linux Foundation 2.0 root hub",
> which has this module alias:
>
> usb:v1D6Bp0002d0206dc09dsc00dp00ic09isc00ip00

Forgot to mention, and to add proper Cc. The commit
is this one:

commit a559d2c8c1bf652ea2d0ecd6ab4a250fcdb37db8
Author: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
Date: Wed Apr 14 21:36:42 2010 +0200

USB: option: add ID for ZTE MF 330

Based on the information provided for by PaweÅ Drobek, add
a second vendor ID and the correct product ID for ZTE MF 330.

Reported-by: PaweÅ Drobek <pawel.drobek@xxxxxxxxx>
Signed-off: Dominik Brodowski <linux@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>

Are the IDs really correct? Maybe it's just a typo
after all...

It is interesting that no one noticed this so far.
Or it's just because it's difficult to search for -
"option" is really a bad search term ;)

> What are options to fix this option now? :)
>
> Thanks!
>
> [Cc'ing linux-kernel due to interesting USB ID clash]

/mjt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/