* [PATCH] USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe
@ 2025-03-17 5:17 Michael Ehrenreich
2025-04-16 6:26 ` Johan Hovold
0 siblings, 1 reply; 2+ messages in thread
From: Michael Ehrenreich @ 2025-03-17 5:17 UTC (permalink / raw)
To: Johan Hovold, Greg Kroah-Hartman, linux-usb, linux-kernel
Abacus Electrics makes optical probes for interacting with smart meters
over an optical interface.
At least one version uses an FT232B chip (as detected by ftdi_sio) with
a custom USB PID, which needs to be added to the list to make the device
work in a plug-and-play fashion.
Signed-off-by: Michael Ehrenreich <michideep@gmail.com>
---
drivers/usb/serial/ftdi_sio.c | 2 ++
drivers/usb/serial/ftdi_sio_ids.h | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index e07c5e3eb..7bf46104e 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1079,6 +1079,8 @@ static const struct usb_device_id id_table_combined[] = {
.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
/* GMC devices */
{ USB_DEVICE(GMC_VID, GMC_Z216C_PID) },
+ /* Abacus Electrics */
+ { USB_DEVICE(FTDI_VID, ABACUS_OPTICAL_PROBE_PID) },
{ } /* Terminating entry */
};
diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h
index 5ee60ba2a..5de8067be 100644
--- a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/drivers/usb/serial/ftdi_sio_ids.h
@@ -1612,3 +1612,8 @@
*/
#define GMC_VID 0x1cd7
#define GMC_Z216C_PID 0x0217 /* GMC Z216C Adapter IR-USB */
+
+/*
+ * Abacus Electrics
+ */
+#define ABACUS_OPTICAL_PROBE_PID 0xf458 /* ABACUS ELECTRICS Optical Probe */
--
2.48.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe
2025-03-17 5:17 [PATCH] USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe Michael Ehrenreich
@ 2025-04-16 6:26 ` Johan Hovold
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hovold @ 2025-04-16 6:26 UTC (permalink / raw)
To: Michael Ehrenreich; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel
On Mon, Mar 17, 2025 at 06:17:15AM +0100, Michael Ehrenreich wrote:
> Abacus Electrics makes optical probes for interacting with smart meters
> over an optical interface.
>
> At least one version uses an FT232B chip (as detected by ftdi_sio) with
> a custom USB PID, which needs to be added to the list to make the device
> work in a plug-and-play fashion.
>
> Signed-off-by: Michael Ehrenreich <michideep@gmail.com>
> diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h
> index 5ee60ba2a..5de8067be 100644
> --- a/drivers/usb/serial/ftdi_sio_ids.h
> +++ b/drivers/usb/serial/ftdi_sio_ids.h
> @@ -1612,3 +1612,8 @@
> */
> #define GMC_VID 0x1cd7
> #define GMC_Z216C_PID 0x0217 /* GMC Z216C Adapter IR-USB */
> +
> +/*
> + * Abacus Electrics
> + */
> +#define ABACUS_OPTICAL_PROBE_PID 0xf458 /* ABACUS ELECTRICS Optical Probe */
I moved this one to the FTDI VID section higher up.
Now applied, thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-16 6:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 5:17 [PATCH] USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe Michael Ehrenreich
2025-04-16 6:26 ` Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox