LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Adding YISO u893 usb modem vendor and product IDs
@ 2008-11-12 1:51 Leslie Watter
2008-11-12 5:02 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Leslie Watter @ 2008-11-12 1:51 UTC (permalink / raw)
To: Linux Kernel Mailing List
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Adding YISO u893 usb modem vendor and product IDs
2008-11-12 1:51 [PATCH] Adding YISO u893 usb modem vendor and product IDs Leslie Watter
@ 2008-11-12 5:02 ` Greg KH
2008-11-12 17:10 ` Leslie Watter
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2008-11-12 5:02 UTC (permalink / raw)
To: Leslie Watter; +Cc: Linux Kernel Mailing List
On Tue, Nov 11, 2008 at 11:51:10PM -0200, Leslie Watter wrote:
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Adding YISO u893 usb modem vendor and product IDs
2008-11-12 5:02 ` Greg KH
@ 2008-11-12 17:10 ` Leslie Watter
0 siblings, 0 replies; 3+ messages in thread
From: Leslie Watter @ 2008-11-12 17:10 UTC (permalink / raw)
To: Greg KH; +Cc: Linux Kernel Mailing List
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].
Signed-off-by: Leslie Harlley Watter <leslie@watter.org>
----------------
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.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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-11-12 17:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-12 1:51 [PATCH] Adding YISO u893 usb modem vendor and product IDs Leslie Watter
2008-11-12 5:02 ` Greg KH
2008-11-12 17:10 ` Leslie Watter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).