Skip to contentSkip to conversation

USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe

PATCH In review Michael Ehrenreich 2 participants 2 messages Mar 17, 2025 – Apr 16, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB: serial: ftdi_sio: add support for Abacus Electrics Optical Probe

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.

---
 drivers/usb/serial/ftdi_sio.c     | 2 ++
 drivers/usb/serial/ftdi_sio_ids.h | 5 +++++
 2 files changed, 7 insertions(+)
drivers/usb/serial/ftdi_sio.c +2 -0
index e07c5e3eb..7bf46104e 100644
@@ -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 */
 };
 
drivers/usb/serial/ftdi_sio_ids.h +5 -0
index 5ee60ba2a..5de8067be 100644
@@ -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 */
Signature · 1 line
2.48.1
maintainer
#1 lore raw
Quoted 14 lines · Michael Ehrenreich

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.

drivers/usb/serial/ftdi_sio_ids.h +0 -0
index 5ee60ba2a..5de8067be 100644

drivers/usb/serial/ftdi_sio_ids.h line 1619

Quoted 8 lines
drivers/usb/serial/ftdi_sio_ids.h +5 -0
@@ -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