mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Leslie Watter" <leslie.watter@gmail.com>
To: "Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: [PATCH] Adding YISO u893 usb modem vendor and product IDs
Date: Tue, 11 Nov 2008 23:51:10 -0200	[thread overview]
Message-ID: <8a966de80811111751x67feb700l774cbba30b21c81@mail.gmail.com> (raw)

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

             reply	other threads:[~2008-11-12  1:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-12  1:51 Leslie Watter [this message]
2008-11-12  5:02 ` Greg KH
2008-11-12 17:10   ` Leslie Watter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8a966de80811111751x67feb700l774cbba30b21c81@mail.gmail.com \
    --to=leslie.watter@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®