mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch]  usb: add support for 4348:5523 WinChipHead USB->RS 232 adapter
@ 2008-01-02 10:16 Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2008-01-02 10:16 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: dexter, linux-kernel

Greg,

find the patch from Piotr Roszatycki, submitted to:

  http://bugzilla.kernel.org/show_bug.cgi?id=9626

as an email plain-text patch submission below.

	Ingo

------------>
Subject: usb: add support for 4348:5523 WinChipHead USB->RS 232 adapter with Prolifec PL 2303 chipset
From: Piotr Roszatycki <dexter@debian.org>

add support for:

  4348:5523 WinChipHead USB->RS 232 adapter with Prolifec PL 2303 chipset

[ mingo@elte.hu: merged it and nursed it upstream ]

Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 drivers/usb/serial/pl2303.c |    1 +
 drivers/usb/serial/pl2303.h |    5 +++++
 2 files changed, 6 insertions(+)

Index: linux-x86.q/drivers/usb/serial/pl2303.c
===================================================================
--- linux-x86.q.orig/drivers/usb/serial/pl2303.c
+++ linux-x86.q/drivers/usb/serial/pl2303.c
@@ -87,6 +87,7 @@ static struct usb_device_id id_table [] 
 	{ USB_DEVICE(HUAWEI_VENDOR_ID, HUAWEI_PRODUCT_ID) },
 	{ USB_DEVICE(WS002IN_VENDOR_ID, WS002IN_PRODUCT_ID) },
 	{ USB_DEVICE(COREGA_VENDOR_ID, COREGA_PRODUCT_ID) },
+	{ USB_DEVICE(HL340_VENDOR_ID, HL340_PRODUCT_ID) },
 	{ }					/* Terminating entry */
 };
 
Index: linux-x86.q/drivers/usb/serial/pl2303.h
===================================================================
--- linux-x86.q.orig/drivers/usb/serial/pl2303.h
+++ linux-x86.q/drivers/usb/serial/pl2303.h
@@ -107,3 +107,8 @@
 /* Corega CG-USBRS232R Serial Adapter */
 #define COREGA_VENDOR_ID	0x07aa
 #define COREGA_PRODUCT_ID	0x002a
+
+/* HL HL-340 (ID: 4348:5523) */
+#define HL340_VENDOR_ID		0x4348
+#define HL340_PRODUCT_ID	0x5523
+

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-02 10:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-02 10:16 [patch] usb: add support for 4348:5523 WinChipHead USB->RS 232 adapter Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome