USB: serial: pl2303: new hardware support - sanwa multimeter
authorPawel Ludwikow <pludwiko@rab.ict.pwr.wroc.pl>
Thu, 27 Aug 2009 12:15:50 +0000 (14:15 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:15 +0000 (06:46 -0700)
I'd like to present my small patch enabling to use Sanwa PC5000
mulitimeter with linux.

Signed-off-by: Pawel Ludwikow <pludwiko@rab.ict.pwr.wroc.pl>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/pl2303.c
drivers/usb/serial/pl2303.h

index a63ea99936f79b46fec8a989890da0564d8fbf52..4cbe59c4ae7f514beccc889e07e14915f4887a6d 100644 (file)
@@ -96,6 +96,7 @@ static struct usb_device_id id_table [] = {
        { USB_DEVICE(HP_VENDOR_ID, HP_LD220_PRODUCT_ID) },
        { USB_DEVICE(CRESSI_VENDOR_ID, CRESSI_EDY_PRODUCT_ID) },
        { USB_DEVICE(SONY_VENDOR_ID, SONY_QN3USB_PRODUCT_ID) },
+       { USB_DEVICE(SANWA_VENDOR_ID, SANWA_PRODUCT_ID) },
        { }                                     /* Terminating entry */
 };
 
index ee9505e1dd9273f17f5cede9f0e3418ec820b13f..d640dc951568dc705c3d7c2ae22ea7321d9afe11 100644 (file)
 /* Sony, USB data cable for CMD-Jxx mobile phones */
 #define SONY_VENDOR_ID         0x054c
 #define SONY_QN3USB_PRODUCT_ID 0x0437
+
+/* Sanwa KB-USB2 multimeter cable (ID: 11ad:0001) */
+#define SANWA_VENDOR_ID                0x11ad
+#define SANWA_PRODUCT_ID       0x0001