Skip to contentSkip to conversation

USB: serial: pl2303: add device-id for HP GC device

PATCH Applied Scott Chen 2 participants 2 messages Sep 24, 2020 – Sep 29, 2020

Subsystems (2)
lore
Share & tools
lore

Scott Chen

author
#0 lore raw

PATCH 1/1 USB: serial: pl2303: add device-id for HP GC device

This is adds a device id for HP LD381 which is a pl2303GC-base device.

---
 drivers/usb/serial/pl2303.c | 1 +
 drivers/usb/serial/pl2303.h | 1 +
 2 files changed, 2 insertions(+)
drivers/usb/serial/pl2303.c +1 -0
index 048452d8a4a4..be8067017eaa 100644
@@ -100,6 +100,7 @@ static const struct usb_device_id id_table[] = {
 	{ USB_DEVICE(HP_VENDOR_ID, HP_LD220_PRODUCT_ID) },
 	{ USB_DEVICE(HP_VENDOR_ID, HP_LD220TA_PRODUCT_ID) },
 	{ USB_DEVICE(HP_VENDOR_ID, HP_LD381_PRODUCT_ID) },
+	{ USB_DEVICE(HP_VENDOR_ID, HP_LD381GC_PRODUCT_ID) },
 	{ USB_DEVICE(HP_VENDOR_ID, HP_LD960_PRODUCT_ID) },
 	{ USB_DEVICE(HP_VENDOR_ID, HP_LD960TA_PRODUCT_ID) },
 	{ USB_DEVICE(HP_VENDOR_ID, HP_LCM220_PRODUCT_ID) },
drivers/usb/serial/pl2303.h +1 -0
index 7d3090ee7e0c..b0f399a8c628 100644
@@ -127,6 +127,7 @@
 
 /* Hewlett-Packard POS Pole Displays */
 #define HP_VENDOR_ID		0x03f0
+#define HP_LD381GC_PRODUCT_ID   0x0183
 #define HP_LM920_PRODUCT_ID	0x026b
 #define HP_TD620_PRODUCT_ID	0x0956
 #define HP_LD960_PRODUCT_ID	0x0b39
Signature · 1 line
2.17.1