Skip to contentSkip to conversation

Request to add new VID/PID to PL2303 driver

PATCH Greg KH 1 participant 1 message Jan 25, 2018

Subsystems (2)
lore
Share & tools
lore

Greg KH

author
#0 lore raw
Quoted 5 lines · Chu.Mike [朱堅宜]

Dear Johan / Greg,

We have a new customer who wants to add their VID/PID to the PL2303 driver source. Can you help me?

Quoted 8 lines

Customer: Chilitag
VID: 067B
PID: AAA8

{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_CHILITAG) },

#define PL2303_VENDOR_ID0x067b
#define PL2303_PRODUCT_ID_CHILITAG0xaaa8

Sure, how about the patch below?

Johan, any objection to me adding this to my tree right now?

thanks,

greg k-h

-------------------

From foo@baz Thu Jan 25 09:48:55 CET 2018
Date: Thu, 25 Jan 2018 09:48:55 +0100
From: Greg Kroah-Hartman <[email protected]>
Subject: [PATCH] USB: serial: pl2303: new device id for Chilitag

This adds a new device id for Chilitag devices to the pl2303 driver.

---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

drivers/usb/serial/pl2303.c +1 -0
index 57ae832a49ff..46dd09da2434 100644
@@ -38,6 +38,7 @@ static const struct usb_device_id id_table[] = {
 	{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_RSAQ2) },
 	{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_DCU11) },
 	{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_RSAQ3) },
+	{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_CHILITAG) },
 	{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_PHAROS) },
 	{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_ALDIGA) },
 	{ USB_DEVICE(PL2303_VENDOR_ID, PL2303_PRODUCT_ID_MMX) },
drivers/usb/serial/pl2303.h +1 -0
index f98fd84890de..fcd72396a7b6 100644
@@ -12,6 +12,7 @@
 #define PL2303_PRODUCT_ID_DCU11		0x1234
 #define PL2303_PRODUCT_ID_PHAROS	0xaaa0
 #define PL2303_PRODUCT_ID_RSAQ3		0xaaa2
+#define PL2303_PRODUCT_ID_CHILITAG	0xaaa8
 #define PL2303_PRODUCT_ID_ALDIGA	0x0611
 #define PL2303_PRODUCT_ID_MMX		0x0612
 #define PL2303_PRODUCT_ID_GPRS		0x0609