diff options
author | Kharlamov Alexey <derlafff@yandex.ru> | 2014-01-14 07:09:09 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-01-16 16:58:43 -0500 |
commit | 274be3eb653c421d68514684024c6d915c94b728 (patch) | |
tree | ca90febac406b3719a7b5b82c18d1d2069eb49d3 /drivers/hid/hid-holtek-mouse.c | |
parent | 42c22dbf81ebd1146960875ddfe71630cb2b3ae6 (diff) |
HID: hid-holtek-mouse: add new a070 mouse
Added support of RITMIX ROM-316 mouse to hid-holtek-mouse workaround module
Signed-off-by: Alexey Kharlamov <derlafff@ya.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-holtek-mouse.c')
-rw-r--r-- | drivers/hid/hid-holtek-mouse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-holtek-mouse.c b/drivers/hid/hid-holtek-mouse.c index 0caa676de622..d60fbd0adc0c 100644 --- a/drivers/hid/hid-holtek-mouse.c +++ b/drivers/hid/hid-holtek-mouse.c | |||
@@ -49,6 +49,7 @@ static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, | |||
49 | } | 49 | } |
50 | break; | 50 | break; |
51 | case USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A04A: | 51 | case USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A04A: |
52 | case USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070: | ||
52 | case USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081: | 53 | case USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A081: |
53 | if (*rsize >= 113 && rdesc[106] == 0xff && rdesc[107] == 0x7f | 54 | if (*rsize >= 113 && rdesc[106] == 0xff && rdesc[107] == 0x7f |
54 | && rdesc[111] == 0xff && rdesc[112] == 0x7f) { | 55 | && rdesc[111] == 0xff && rdesc[112] == 0x7f) { |
@@ -65,6 +66,8 @@ static __u8 *holtek_mouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, | |||
65 | static const struct hid_device_id holtek_mouse_devices[] = { | 66 | static const struct hid_device_id holtek_mouse_devices[] = { |
66 | { HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, | 67 | { HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, |
67 | USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A067) }, | 68 | USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A067) }, |
69 | { HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, | ||
70 | USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A070) }, | ||
68 | { HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, | 71 | { HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, |
69 | USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A04A) }, | 72 | USB_DEVICE_ID_HOLTEK_ALT_MOUSE_A04A) }, |
70 | { HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, | 73 | { HID_USB_DEVICE(USB_VENDOR_ID_HOLTEK_ALT, |