[PATCH 2.6.30] USB: option.c: add Qualcomm/Option iCON 210 modem

From: Kai Engert
Date: Fri Jun 12 2009 - 02:58:26 EST


Add modem portion of USB device labeled:
Model iCON 210, Qualcomm 3G HSDPA, designed in EU by Option

Signed-off-by: Kai Engert <kaie@xxxxxxx>
---

Device starts in usb-storage mode (1e0e:f000) and requires the use of a tool like usb_modeswitch to switch it to modem mode (1e0e:9000).
I'm not subscribed to the mailing list, please cc me on replies, thanks.
Regards, Kai

--- linux-2.6.30/drivers/usb/serial/option.c.preicon210 2009-06-12 08:11:37.000000000 +0200
+++ linux-2.6.30/drivers/usb/serial/option.c 2009-06-12 08:11:39.000000000 +0200
@@ -93,6 +93,9 @@
#define OPTION_PRODUCT_ETNA_KOI_MODEM 0x7100
#define OPTION_PRODUCT_GTM380_MODEM 0x7201

+#define QUALCOMM_OPTION_VENDOR_ID 0x1e0e
+#define QUALCOMM_OPTION_PRODUCT_ICON_210 0x9000
+
#define HUAWEI_VENDOR_ID 0x12D1
#define HUAWEI_PRODUCT_E600 0x1001
#define HUAWEI_PRODUCT_E220 0x1003
@@ -330,6 +333,7 @@
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_MODEM_EX) },
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_ETNA_KOI_MODEM) },
{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_GTM380_MODEM) },
+ { USB_DEVICE(QUALCOMM_OPTION_VENDOR_ID, QUALCOMM_OPTION_PRODUCT_ICON_210) },
{ USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q101) },
{ USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_Q111) },
{ USB_DEVICE(QUANTA_VENDOR_ID, QUANTA_PRODUCT_GLX) },
--
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/