1 From c75bdb2c0b1e1df9f8f045cb5a39d26f7934bad1 Mon Sep 17 00:00:00 2001
2 From: Sasha Levin <sashal@kernel.org>
3 Date: Wed, 14 Feb 2024 11:47:29 +0100
4 Subject: USB: serial: cp210x: add ID for MGP Instruments PDS100
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 From: Christian Häggström <christian.haggstrom@orexplore.com>
11 [ Upstream commit a0d9d868491a362d421521499d98308c8e3a0398 ]
13 The radiation meter has the text MGP Instruments PDS-100G or PDS-100GN
14 produced by Mirion Technologies. Tested by forcing the driver
17 echo 10c4 863c > /sys/bus/usb-serial/drivers/cp210x/new_id
19 and then setting the serial port in 115200 8N1 mode. The device
20 announces ID_USB_VENDOR_ENC=Silicon\x20Labs and ID_USB_MODEL_ENC=PDS100
22 Signed-off-by: Christian Häggström <christian.haggstrom@orexplore.com>
23 Cc: stable@vger.kernel.org
24 Signed-off-by: Johan Hovold <johan@kernel.org>
25 Signed-off-by: Sasha Levin <sashal@kernel.org>
27 drivers/usb/serial/cp210x.c | 1 +
28 1 file changed, 1 insertion(+)
30 diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
31 index f4c982a323df2..12d0be4d15101 100644
32 --- a/drivers/usb/serial/cp210x.c
33 +++ b/drivers/usb/serial/cp210x.c
34 @@ -148,6 +148,7 @@ static const struct usb_device_id id_table[] = {
35 { USB_DEVICE(0x10C4, 0x85EA) }, /* AC-Services IBUS-IF */
36 { USB_DEVICE(0x10C4, 0x85EB) }, /* AC-Services CIS-IBUS */
37 { USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */
38 + { USB_DEVICE(0x10C4, 0x863C) }, /* MGP Instruments PDS100 */
39 { USB_DEVICE(0x10C4, 0x8664) }, /* AC-Services CAN-IF */
40 { USB_DEVICE(0x10C4, 0x8665) }, /* AC-Services OBD-IF */
41 { USB_DEVICE(0x10C4, 0x87ED) }, /* IMST USB-Stick for Smart Meter */