Skip to content

Commit b399078

Browse files
mickdermackjhovold
authored andcommitted
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. Signed-off-by: Michael Ehrenreich <michideep@gmail.com> Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org>
1 parent 968e1cb commit b399078

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

drivers/usb/serial/ftdi_sio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1093,6 +1093,8 @@ static const struct usb_device_id id_table_combined[] = {
10931093
{ USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 1) },
10941094
{ USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 2) },
10951095
{ USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 3) },
1096+
/* Abacus Electrics */
1097+
{ USB_DEVICE(FTDI_VID, ABACUS_OPTICAL_PROBE_PID) },
10961098
{ } /* Terminating entry */
10971099
};
10981100

drivers/usb/serial/ftdi_sio_ids.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,11 @@
442442
#define LINX_FUTURE_1_PID 0xF44B /* Linx future device */
443443
#define LINX_FUTURE_2_PID 0xF44C /* Linx future device */
444444

445+
/*
446+
* Abacus Electrics
447+
*/
448+
#define ABACUS_OPTICAL_PROBE_PID 0xf458 /* ABACUS ELECTRICS Optical Probe */
449+
445450
/*
446451
* Oceanic product ids
447452
*/

0 commit comments

Comments
 (0)