summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-cypress.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-12-02 22:54:11 +0100
committerJiri Kosina <jkosina@suse.cz>2009-12-02 22:54:11 +0100
commite8d0eab4d9eda9f5e97852f780f020bfb134f9f0 (patch)
tree1a6b8818bcb443c9325388dc25c334c18689783e /drivers/hid/hid-cypress.c
parent66d61bec697e99476c2fb095f9a6ead3be2e1c21 (diff)
downloadlinux-e8d0eab4d9eda9f5e97852f780f020bfb134f9f0.tar.bz2
HID: add support for Acan FG-8100 barcode reader
Acan FG-8100 barcode reader (0x04b4/0xbca1) has vendor ID of cypress and requires the same MIN/MAX swap descriptor quirk as other barcode readers from cypress. Reported-by: Stijn Ghesquiere <stijn@applesnail.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-cypress.c')
-rw-r--r--drivers/hid/hid-cypress.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-cypress.c b/drivers/hid/hid-cypress.c
index 62e9cb10e88c..998b6f443d7d 100644
--- a/drivers/hid/hid-cypress.c
+++ b/drivers/hid/hid-cypress.c
@@ -126,6 +126,8 @@ static const struct hid_device_id cp_devices[] = {
.driver_data = CP_RDESC_SWAPPED_MIN_MAX },
{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2),
.driver_data = CP_RDESC_SWAPPED_MIN_MAX },
+ { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_3),
+ .driver_data = CP_RDESC_SWAPPED_MIN_MAX },
{ HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE),
.driver_data = CP_2WHEEL_MOUSE_HACK },
{ }