All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] USB: adds support for Novatek wireless mouse to usbhid
@ 2012-12-13  1:43 Benoit Touchette
  2012-12-13  1:50 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Benoit Touchette @ 2012-12-13  1:43 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, trivial, greg, marcobiscaro2112

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 },

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-13 19:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-13  1:43 [PATCH] USB: adds support for Novatek wireless mouse to usbhid Benoit Touchette
2012-12-13  1:50 ` Greg KH
2012-12-13  2:37   ` draekko.dev
2012-12-13 13:58     ` Jiri Kosina
2012-12-13 19:38   ` Marco Biscaro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.