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

From: Greg KH
Date: Thu May 26 2011 - 21:28:15 EST


On Fri, May 27, 2011 at 01:28:38AM +0400, Michael Tokarev wrote:
> 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...

I don't know, PaweÅ, can you provide the output of 'lsusb -v' for your
system where you saw this being a option device instead of a hub?

thanks,

greg k-h
--
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/