[RFC/PATCH] USB: option: handle Novatel 3G modem 1410:7001 out ofthe box again

From: Jonathan Nieder
Date: Mon Mar 19 2012 - 14:25:31 EST


From: Santiago Garcia Mantinan <manty@xxxxxxxxxx>
Date: Mon, 19 Mar 2012 18:17:00 +0100

Since commit c7aa8f44b4d1 ("USB: option: fix incorrect novatel
entries"), the Novatel Mifi 2372 (USB id 1410:7001) is not recognized
by the option driver. That commit removed that id from the list of
supported ids for no obvious reason --- perhaps it was just lost in
the shuffle.

Addresses http://bugs.debian.org/664605 and
https://bugs.launchpad.net/bugs/750362

Signed-off-by: Santiago Garcia Mantinan <manty@xxxxxxxxxx>
Signed-off-by: Jonathan Nieder <jrnieder@xxxxxxxxx>
Cc: <stable@xxxxxxxxxxxxxxx> # >= 2.6.36
---
Santiago Garcia Mantinan wrote:

> here it goes with full paths on the patch ...

Great. Here is the same with a commit message and all. ;-) linux-usb
folks, what do you think?

drivers/usb/serial/option.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index f9b11fb8e25c..4021f4d303bb 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -708,6 +708,7 @@ static const struct usb_device_id option_ids[] = {
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_EMBEDDED_FULLSPEED) },
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_EMBEDDED_FULLSPEED) },
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_EVDO_HIGHSPEED) },
+ { USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED) },
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED3) },
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED4) },
{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, NOVATELWIRELESS_PRODUCT_HSPA_HIGHSPEED5) },
--
1.7.10.rc1

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