Skip to content

Commit 163cc46

Browse files
jhovoldgregkh
authored andcommitted
gpib: lpvo_usb: fix unintended binding of FTDI 8U232AM devices
The LPVO USB GPIB adapter apparently uses an FTDI 8U232AM with the default PID, but this device id is already handled by the ftdi_sio serial driver. Stop binding to the default PID to avoid breaking existing setups with FTDI 8U232AM. Anyone using this driver should blacklist the ftdi_sio driver and add the device id manually through sysfs (e.g. using udev rules). Fixes: fce7951 ("staging: gpib: Add LPVO DIY USB GPIB driver") Fixes: e6ab504 ("staging: gpib: Destage gpib") Cc: Dave Penkler <dpenkler@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20260305151729.10501-2-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent a1621e0 commit 163cc46

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

drivers/gpib/lpvo_usb_gpib/lpvo_usb_gpib.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,10 @@ MODULE_DESCRIPTION("GPIB driver for LPVO usb devices");
3838
/*
3939
* Table of devices that work with this driver.
4040
*
41-
* Currently, only one device is known to be used in the
42-
* lpvo_usb_gpib adapter (FTDI 0403:6001).
41+
* Currently, only one device is known to be used in the lpvo_usb_gpib
42+
* adapter (FTDI 0403:6001) but as this device id is already handled by the
43+
* ftdi_sio USB serial driver the LPVO driver must not bind to it by default.
44+
*
4345
* If your adapter uses a different chip, insert a line
4446
* in the following table with proper <Vendor-id>, <Product-id>.
4547
*
@@ -50,7 +52,6 @@ MODULE_DESCRIPTION("GPIB driver for LPVO usb devices");
5052
*/
5153

5254
static const struct usb_device_id skel_table[] = {
53-
{ USB_DEVICE(0x0403, 0x6001) },
5455
{ } /* Terminating entry */
5556
};
5657
MODULE_DEVICE_TABLE(usb, skel_table);

0 commit comments

Comments
 (0)