Skip to contentSkip to conversation

Adding YISO u893 usb modem vendor and product IDs

PATCH In review Leslie Watter 2 participants 3 messages Nov 12, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Adding YISO u893 usb modem vendor and product IDs

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(+)
drivers/usb/serial/option.c +0 -0
index 73f8277..8d1bd76 100644
@@ -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

#1 lore raw
Quoted 8 lines · Leslie Watter

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.

So it works for you with this device id added?

Care to resend this with a "Signed-off-by"?

thanks,

greg k-h

#2 lore raw

Re-sending with Signed-of-by as requested.

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(+)
drivers/usb/serial/option.c +0 -0
index 73f8277..8d1bd76 100644
@@ -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.5.6.3.350.g6c11a

[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