Re: [PATCH] USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe

From: Johan Hovold
Date: Wed Apr 16 2025 - 02:26:49 EST


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@xxxxxxxxx>

> 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