* [PATCH 2.6.38.6 1/1] usbhid: add quirks for HyperPen 10000U
@ 2011-05-20 10:58 Jimmy Hon
0 siblings, 0 replies; only message in thread
From: Jimmy Hon @ 2011-05-20 10:58 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input
Add 5543:0064 UC-Logic Technology Corp. Aiptek HyperPen 10000U to quirks
with HID_QUIRK_MULTI_INPUT.
Originally the device is reporting the x,y coordinates on Z and RX. By
adding this quirk, there will be two kernel devices. The first one is
muted and the second device will report coordinates on X and Y.
---
diff -ur a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
--- a/drivers/hid/hid-ids.h 2011-05-20 06:31:15.471495292 -0400
+++ b/drivers/hid/hid-ids.h 2011-05-20 05:51:38.598147606 -0400
@@ -559,6 +559,7 @@
#define USB_VENDOR_ID_UCLOGIC 0x5543
#define USB_DEVICE_ID_UCLOGIC_TABLET_PF1209 0x0042
#define USB_DEVICE_ID_UCLOGIC_TABLET_KNA5 0x6001
+#define USB_DEVICE_ID_UCLOGIC_TABLET_TWA60 0x0064
#define USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U 0x0003
#define USB_DEVICE_ID_UCLOGIC_TABLET_WP5540U 0x0004
#define USB_DEVICE_ID_UCLOGIC_TABLET_WP8060U 0x0005
diff -ur a/drivers/hid/usbhid/hid-quirks.c b/drivers/hid/usbhid/hid-quirks.c
--- a/drivers/hid/usbhid/hid-quirks.c 2011-05-20 04:01:28.541441025 -0400
+++ b/drivers/hid/usbhid/hid-quirks.c 2011-05-20 04:10:21.881444247 -0400
@@ -71,6 +71,7 @@
{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_PF1209,
HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP4030U,
HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_KNA5,
HID_QUIRK_MULTI_INPUT },
+ { USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_TWA60,
HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP5540U,
HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_UCLOGIC, USB_DEVICE_ID_UCLOGIC_TABLET_WP8060U,
HID_QUIRK_MULTI_INPUT },
{ USB_VENDOR_ID_WALTOP,
USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH, HID_QUIRK_MULTI_INPUT },
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-20 10:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-20 10:58 [PATCH 2.6.38.6 1/1] usbhid: add quirks for HyperPen 10000U Jimmy Hon
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.