lkml.org 
[lkml]   [2012]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH] USB: adds support for Novatek wireless mouse to usbhid
From
This patch adds support for the Novatek wireless mouse (device id
0603:1602) to usbhid and fixes bug
https://bugzilla.kernel.org/show_bug.cgi?id=47031

Reported-by: Benoit Touchette <draekko.dev@gmail.com>
Signed-off-by: Benoit Touchette <draekko.dev@gmail.com>

---

--- linux-3.6.10/drivers/hid/hid-ids.h.orig 2012-12-10
14:13:27.000000000 -0500
+++ linux-3.6.10/drivers/hid/hid-ids.h 2012-12-12 20:06:41.000000000 -0500
@@ -833,4 +833,7 @@
#define USB_VENDOR_ID_PRIMAX 0x0461
#define USB_DEVICE_ID_PRIMAX_KEYBOARD 0x4e05

+#define USB_VENDOR_ID_NOVATEK 0x0603
+#define USB_DEVICE_ID_NOVATEK_MOUSE 0x1602
+
#endif
--- linux-3.6.10/drivers/hid/usbhid/hid-quirks.c.orig 2012-12-10
14:13:27.000000000 -0500
+++ linux-3.6.10/drivers/hid/usbhid/hid-quirks.c 2012-12-12
20:06:41.000000000 -0500
@@ -98,6 +98,8 @@ static const struct hid_blacklist {

{ USB_VENDOR_ID_PI_ENGINEERING,
USB_DEVICE_ID_PI_ENGINEERING_VEC_USB_FOOTPEDAL,
HID_QUIRK_HIDINPUT_FORCE },

+ { USB_VENDOR_ID_NOVATEK, USB_DEVICE_ID_NOVATEK_MOUSE,
HID_QUIRK_NO_INIT_REPORTS },
+
{ USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_MULTI_TOUCH,
HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS,
HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD,
HID_QUIRK_NO_INIT_REPORTS },

\
 
 \ /
  Last update: 2012-12-13 03:01    [W:2.919 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site