aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWangYuli <[email protected]>2024-07-02 23:44:08 +0800
committerGreg Kroah-Hartman <[email protected]>2024-07-03 16:03:40 +0200
commit3859e85de30815a20bce7db712ce3d94d40a682d (patch)
treef2a735634e6c4945a781571f7edfaa10dcf552bb
parenta368ecde8a5055b627749b09c6218ef793043e47 (diff)
USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k
START BP-850K is a dot matrix printer that crashes when it receives a Set-Interface request and needs USB_QUIRK_NO_SET_INTF to work properly. Cc: stable <[email protected]> Signed-off-by: jinxiaobo <[email protected]> Signed-off-by: WangYuli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/usb/core/quirks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index b4783574b8e6..13171454f959 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -506,6 +506,9 @@ static const struct usb_device_id usb_quirk_list[] = {
{ USB_DEVICE(0x1b1c, 0x1b38), .driver_info = USB_QUIRK_DELAY_INIT |
USB_QUIRK_DELAY_CTRL_MSG },
+ /* START BP-850k Printer */
+ { USB_DEVICE(0x1bc3, 0x0003), .driver_info = USB_QUIRK_NO_SET_INTF },
+
/* MIDI keyboard WORLDE MINI */
{ USB_DEVICE(0x1c75, 0x0204), .driver_info =
USB_QUIRK_CONFIG_INTF_STRINGS },