diff options
author | Pawel Ludwikow <pludwiko@rab.ict.pwr.wroc.pl> | 2009-08-27 08:15:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:15 -0400 |
commit | 35904e6b5106fda51b04c8b8080c04466865415f (patch) | |
tree | 53e15a61072c6ca4b2efb294e8317336d7b27d89 | |
parent | e7d7fcc09ebde1ea1773521ecab5a3f0ad6bef6e (diff) |
USB: serial: pl2303: new hardware support - sanwa multimeter
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>
-rw-r--r-- | drivers/usb/serial/pl2303.c | 1 | ||||
-rw-r--r-- | drivers/usb/serial/pl2303.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c index a63ea99936f7..4cbe59c4ae7f 100644 --- a/drivers/usb/serial/pl2303.c +++ b/drivers/usb/serial/pl2303.c | |||
@@ -96,6 +96,7 @@ static struct usb_device_id id_table [] = { | |||
96 | { USB_DEVICE(HP_VENDOR_ID, HP_LD220_PRODUCT_ID) }, | 96 | { USB_DEVICE(HP_VENDOR_ID, HP_LD220_PRODUCT_ID) }, |
97 | { USB_DEVICE(CRESSI_VENDOR_ID, CRESSI_EDY_PRODUCT_ID) }, | 97 | { USB_DEVICE(CRESSI_VENDOR_ID, CRESSI_EDY_PRODUCT_ID) }, |
98 | { USB_DEVICE(SONY_VENDOR_ID, SONY_QN3USB_PRODUCT_ID) }, | 98 | { USB_DEVICE(SONY_VENDOR_ID, SONY_QN3USB_PRODUCT_ID) }, |
99 | { USB_DEVICE(SANWA_VENDOR_ID, SANWA_PRODUCT_ID) }, | ||
99 | { } /* Terminating entry */ | 100 | { } /* Terminating entry */ |
100 | }; | 101 | }; |
101 | 102 | ||
diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h index ee9505e1dd92..d640dc951568 100644 --- a/drivers/usb/serial/pl2303.h +++ b/drivers/usb/serial/pl2303.h | |||
@@ -130,3 +130,7 @@ | |||
130 | /* Sony, USB data cable for CMD-Jxx mobile phones */ | 130 | /* Sony, USB data cable for CMD-Jxx mobile phones */ |
131 | #define SONY_VENDOR_ID 0x054c | 131 | #define SONY_VENDOR_ID 0x054c |
132 | #define SONY_QN3USB_PRODUCT_ID 0x0437 | 132 | #define SONY_QN3USB_PRODUCT_ID 0x0437 |
133 | |||
134 | /* Sanwa KB-USB2 multimeter cable (ID: 11ad:0001) */ | ||
135 | #define SANWA_VENDOR_ID 0x11ad | ||
136 | #define SANWA_PRODUCT_ID 0x0001 | ||