mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-21 23:16:50 +08:00
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:fce79512a9("staging: gpib: Add LPVO DIY USB GPIB driver") Fixes:e6ab504633("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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
a1621e06cc
commit
163cc462de
@@ -38,8 +38,10 @@ MODULE_DESCRIPTION("GPIB driver for LPVO usb devices");
|
||||
/*
|
||||
* Table of devices that work with this driver.
|
||||
*
|
||||
* Currently, only one device is known to be used in the
|
||||
* lpvo_usb_gpib adapter (FTDI 0403:6001).
|
||||
* Currently, only one device is known to be used in the lpvo_usb_gpib
|
||||
* adapter (FTDI 0403:6001) but as this device id is already handled by the
|
||||
* ftdi_sio USB serial driver the LPVO driver must not bind to it by default.
|
||||
*
|
||||
* If your adapter uses a different chip, insert a line
|
||||
* in the following table with proper <Vendor-id>, <Product-id>.
|
||||
*
|
||||
@@ -50,7 +52,6 @@ MODULE_DESCRIPTION("GPIB driver for LPVO usb devices");
|
||||
*/
|
||||
|
||||
static const struct usb_device_id skel_table[] = {
|
||||
{ USB_DEVICE(0x0403, 0x6001) },
|
||||
{ } /* Terminating entry */
|
||||
};
|
||||
MODULE_DEVICE_TABLE(usb, skel_table);
|
||||
|
||||
Reference in New Issue
Block a user