]> git.baikalelectronics.ru Git - kernel.git/commit
HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard2
authorDaniel Bristot de Oliveira <bristot@redhat.com>
Thu, 10 Mar 2016 17:17:58 +0000 (14:17 -0300)
committerJiri Kosina <jkosina@suse.cz>
Thu, 10 Mar 2016 17:20:24 +0000 (18:20 +0100)
commit4cc18819e739a6704d9f8d354e9033c387aefed2
tree5218a2309efd4e28d6cbda43636c8afa82e318d3
parent06993db957973d76dc3347e3dcc368eae888c806
HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard2

The device which identifies itself as a "USB Keykoard" (no typo)
with VID:PID 1a2c:0027 does not seem to be handling the reports
initialization very well.

This results in a "usb_submit_urb(ctrl) failed: -1" message from the
kernel when connected, and a delay before its initialization. It can
also cause the hang the system.

This patch adds the  quirk for this device, which causes the delay
to disappear. It is named as "USB Keykoard2" because the "USB Keykoard"
already exists.

Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c