]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] usbhid: automatically set HID_QUIRK_NOGET for keyboards and mice
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 15 May 2006 18:49:04 +0000 (14:49 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:10 +0000 (15:04 -0700)
commit410f4fb83fa31b742542aaf1519433458bda0754
treeba4f93841ee399c6eba67c3920f4e10e74850258
parentba3a9fd5ad866652e24bbcf3b7cf1d3ce53f9cf9
[PATCH] usbhid: automatically set HID_QUIRK_NOGET for keyboards and mice

It seems to be relatively common for USB keyboards and mice to dislike
being polled for reports.  Since there's no need to poll a keyboard or
a mouse, this patch (as685) automatically sets the HID_QUIRK_NOGET flag
for devices that advertise themselves as either sort of device with boot
protocol support.

This won't cure all the problems since some devices don't support the
boot protocol, but it's simple and easy and it should fix quite a few
problems.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/input/hid-core.c
drivers/usb/input/hid.h