Commit b399078f authored by Michael Ehrenreich's avatar Michael Ehrenreich Committed by Johan Hovold
Browse files

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: default avatarMichael Ehrenreich <michideep@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 968e1cbb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1093,6 +1093,8 @@ static const struct usb_device_id id_table_combined[] = {
	{ USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 1) },
	{ USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 2) },
	{ USB_DEVICE_INTERFACE_NUMBER(ALTERA_VID, ALTERA_UB3_602E_PID, 3) },
	/* Abacus Electrics */
	{ USB_DEVICE(FTDI_VID, ABACUS_OPTICAL_PROBE_PID) },
	{ }					/* Terminating entry */
};

+5 −0
Original line number Diff line number Diff line
@@ -442,6 +442,11 @@
#define LINX_FUTURE_1_PID   0xF44B	/* Linx future device */
#define LINX_FUTURE_2_PID   0xF44C	/* Linx future device */

/*
 * Abacus Electrics
 */
#define ABACUS_OPTICAL_PROBE_PID	0xf458 /* ABACUS ELECTRICS Optical Probe */

/*
 * Oceanic product ids
 */