diff options
-rw-r--r-- | drivers/hid/hid-core.c | 1 | ||||
-rw-r--r-- | drivers/hid/hid-cypress.c | 2 | ||||
-rw-r--r-- | drivers/hid/hid-ids.h | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index de8220c3fb5f..0b386b976460 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c | |||
@@ -1524,6 +1524,7 @@ static const struct hid_device_id hid_have_special_driver[] = { | |||
1524 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_1) }, | 1524 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_1) }, |
1525 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) }, | 1525 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_2) }, |
1526 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_3) }, | 1526 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_3) }, |
1527 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_4) }, | ||
1527 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE) }, | 1528 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE) }, |
1528 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0006) }, | 1529 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0006) }, |
1529 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0011) }, | 1530 | { HID_USB_DEVICE(USB_VENDOR_ID_DRAGONRISE, 0x0011) }, |
diff --git a/drivers/hid/hid-cypress.c b/drivers/hid/hid-cypress.c index 2f0be4c66af7..9e43aaca9774 100644 --- a/drivers/hid/hid-cypress.c +++ b/drivers/hid/hid-cypress.c | |||
@@ -129,6 +129,8 @@ static const struct hid_device_id cp_devices[] = { | |||
129 | .driver_data = CP_RDESC_SWAPPED_MIN_MAX }, | 129 | .driver_data = CP_RDESC_SWAPPED_MIN_MAX }, |
130 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_3), | 130 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_3), |
131 | .driver_data = CP_RDESC_SWAPPED_MIN_MAX }, | 131 | .driver_data = CP_RDESC_SWAPPED_MIN_MAX }, |
132 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_BARCODE_4), | ||
133 | .driver_data = CP_RDESC_SWAPPED_MIN_MAX }, | ||
132 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE), | 134 | { HID_USB_DEVICE(USB_VENDOR_ID_CYPRESS, USB_DEVICE_ID_CYPRESS_MOUSE), |
133 | .driver_data = CP_2WHEEL_MOUSE_HACK }, | 135 | .driver_data = CP_2WHEEL_MOUSE_HACK }, |
134 | { } | 136 | { } |
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index a139d9619ad1..9b26a41ae978 100644 --- a/drivers/hid/hid-ids.h +++ b/drivers/hid/hid-ids.h | |||
@@ -231,6 +231,7 @@ | |||
231 | #define USB_DEVICE_ID_CYPRESS_BARCODE_1 0xde61 | 231 | #define USB_DEVICE_ID_CYPRESS_BARCODE_1 0xde61 |
232 | #define USB_DEVICE_ID_CYPRESS_BARCODE_2 0xde64 | 232 | #define USB_DEVICE_ID_CYPRESS_BARCODE_2 0xde64 |
233 | #define USB_DEVICE_ID_CYPRESS_BARCODE_3 0xbca1 | 233 | #define USB_DEVICE_ID_CYPRESS_BARCODE_3 0xbca1 |
234 | #define USB_DEVICE_ID_CYPRESS_BARCODE_4 0xed81 | ||
234 | #define USB_DEVICE_ID_CYPRESS_TRUETOUCH 0xc001 | 235 | #define USB_DEVICE_ID_CYPRESS_TRUETOUCH 0xc001 |
235 | 236 | ||
236 | #define USB_VENDOR_ID_DEALEXTREAME 0x10c5 | 237 | #define USB_VENDOR_ID_DEALEXTREAME 0x10c5 |