linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] USB: serial: cp210x: add ID for MGP Instruments PDS100
@ 2024-02-14 10:47 Christian Häggström
  2024-03-04 10:16 ` Johan Hovold
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Häggström @ 2024-02-14 10:47 UTC (permalink / raw)
  To: Johan Hovold, Greg Kroah-Hartman, linux-usb, linux-kernel

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>
---
  drivers/usb/serial/cp210x.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
index 923e0ed85444..ab725c2c5594 100644
--- a/drivers/usb/serial/cp210x.c
+++ b/drivers/usb/serial/cp210x.c
@@ -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 */
-- 
2.43.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] USB: serial: cp210x: add ID for MGP Instruments PDS100
  2024-02-14 10:47 [PATCH] USB: serial: cp210x: add ID for MGP Instruments PDS100 Christian Häggström
@ 2024-03-04 10:16 ` Johan Hovold
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2024-03-04 10:16 UTC (permalink / raw)
  To: Christian Häggström; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

On Wed, Feb 14, 2024 at 11:47:29AM +0100, Christian Häggström wrote:
> 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>

Now applied, thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-04 10:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-14 10:47 [PATCH] USB: serial: cp210x: add ID for MGP Instruments PDS100 Christian Häggström
2024-03-04 10:16 ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).