linux/drivers/hid/usbhid
Jiri Kosina 66da876962 USB HID: report descriptor of Cypress USB barcode readers needs fixup
Certain versions of Cypress USB barcode readers (this problem is known to
happen at least with PIDs 0xde61 and 0xde64) have report descriptor which
has swapped usage min and usage max tag. This results in HID parser failing
for report descriptor of these devices, as it (wrongly) requires allocating
more usages than HID_MAX_USAGES.

Solve this by walking through the report descriptor for such devices, and swap
the usage min and usage max items (and their values) to be in proper order.

Reported-by: Bret Towe <magnade@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2007-05-09 02:52:51 +02:00
..
hid-core.c USB HID: report descriptor of Cypress USB barcode readers needs fixup 2007-05-09 02:52:51 +02:00
hid-ff.c USB HID: add FF support for Logitech Force 3D Pro Joystick 2007-04-11 10:36:03 +02:00
hid-lgff.c USB HID: add FF support for Logitech Force 3D Pro Joystick 2007-04-11 10:36:03 +02:00
hid-pidff.c USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid 2007-04-11 10:36:02 +02:00
hid-plff.c USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid 2007-04-11 10:36:02 +02:00
hid-quirks.c USB HID: report descriptor of Cypress USB barcode readers needs fixup 2007-05-09 02:52:51 +02:00
hid-tmff.c USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid 2007-04-11 10:36:02 +02:00
hid-zpff.c USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid 2007-04-11 10:36:02 +02:00
hiddev.c USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid 2007-04-11 10:36:02 +02:00
Kconfig USB HID: update CONFIG_USB_HIDINPUT_POWERBOOK description 2007-05-09 02:52:51 +02:00
Makefile USB HID: encapsulate quirk handling into hid-quirks.c 2007-04-19 13:27:04 +02:00
usbhid.h USB HID: move usbhid code from drivers/usb/input to drivers/hid/usbhid 2007-04-11 10:36:02 +02:00
usbkbd.c USB HID: usbkbd/usbmouse - handle errors when registering devices 2007-04-11 10:36:03 +02:00
usbmouse.c USB HID: usbkbd/usbmouse - handle errors when registering devices 2007-04-11 10:36:03 +02:00