USB: serial: cp210x: add ID for MGP Instruments PDS100
authorChristian Häggström <christian.haggstrom@orexplore.com>
Wed, 14 Feb 2024 10:47:29 +0000 (11:47 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 4 Mar 2024 10:15:37 +0000 (11:15 +0100)
The radiation meter has the text MGP Instruments PDS-100G or PDS-100GN
produced by Mirion Technologies. Tested by forcing the driver
association with

  echo 10c4 863c > /sys/bus/usb-serial/drivers/cp210x/new_id

and then setting the serial port in 115200 8N1 mode. The device
announces ID_USB_VENDOR_ENC=Silicon\x20Labs and ID_USB_MODEL_ENC=PDS100

Signed-off-by: Christian Häggström <christian.haggstrom@orexplore.com>
Cc: stable@vger.kernel.org
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/cp210x.c

index d339d81f6e8cf82f50cbdb50d64ba0d2233efd81..2169b6549a260459b75602420b3e6f5b78bd097c 100644 (file)
@@ -144,6 +144,7 @@ static const struct usb_device_id id_table[] = {
        { USB_DEVICE(0x10C4, 0x85EA) }, /* AC-Services IBUS-IF */
        { USB_DEVICE(0x10C4, 0x85EB) }, /* AC-Services CIS-IBUS */
        { USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */
+       { USB_DEVICE(0x10C4, 0x863C) }, /* MGP Instruments PDS100 */
        { USB_DEVICE(0x10C4, 0x8664) }, /* AC-Services CAN-IF */
        { USB_DEVICE(0x10C4, 0x8665) }, /* AC-Services OBD-IF */
        { USB_DEVICE(0x10C4, 0x87ED) }, /* IMST USB-Stick for Smart Meter */