projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a368ecd
)
USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k
author
WangYuli
<wangyuli@uniontech.com>
Tue, 2 Jul 2024 15:44:08 +0000
(23:44 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 3 Jul 2024 14:03:40 +0000
(16:03 +0200)
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 <stable@kernel.org>
Signed-off-by: jinxiaobo <jinxiaobo@uniontech.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Link:
https://lore.kernel.org/r/202E4B2BD0F0FEA4+20240702154408.631201-1-wangyuli@uniontech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/core/quirks.c
b/drivers/usb/core/quirks.c
index b4783574b8e6603b7c521accdbc4cc52518d61ec..13171454f9591a2c745ded15d48e9554dd1675b6 100644
(file)
--- 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 },