[PATCH] Adding YISO u893 usb modem vendor and product IDs
From: Leslie Watter
Date: Tue Nov 11 2008 - 20:51:24 EST
Hi,
I would be glad if someone could take a look/apply the following patch.
This patch (against 2.6.27) adds YISO u893 usb modem vendor and
product ID to option.c.
I had a better experience using this modification and the same system.
The patch follows the same principle taken by ACME and applied by
gregkh in [1] and can be found as a file in [2].
----------------
option.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 73f8277..8d1bd76 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -124,6 +124,11 @@ static int option_send_setup(struct tty_struct
*tty, struct usb_serial_port *po
#define NOVATELWIRELESS_VENDOR_ID 0x1410
+/* YISO PRODUCTS */
+
+#define YISO_VENDOR_ID 0x0EAB
+#define YISO_PRODUCT_U893 0xC893
+
/* MERLIN EVDO PRODUCTS */
#define NOVATELWIRELESS_PRODUCT_V640 0x1100
#define NOVATELWIRELESS_PRODUCT_V620 0x1110
@@ -324,6 +329,7 @@ static struct usb_device_id option_ids[] = {
{ USB_DEVICE(AXESSTEL_VENDOR_ID, AXESSTEL_PRODUCT_MV110H) },
{ USB_DEVICE(ONDA_VENDOR_ID, ONDA_PRODUCT_MSA501HS) },
{ USB_DEVICE(ONDA_VENDOR_ID, ONDA_PRODUCT_ET502HS) },
+ { USB_DEVICE(YISO_VENDOR_ID, YISO_PRODUCT_U893) },
{ USB_DEVICE(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_C100_1) },
{ USB_DEVICE(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_C100_2) },
{ USB_DEVICE(BANDRICH_VENDOR_ID, BANDRICH_PRODUCT_1004) },
[1] http://www.kernel.org/pub/linux/kernel/people/gregkh/usb/2.6/2.6.26-rc3/usb-option-fix-name-of-o+nda-msa501hs-hsdpa-modem.patch
[2] http://www.watter.net/linux/patches/linux-2.6.27-yiso-u893.patch
Thanks in advance,
LEslie
--
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/