[Patch v2]hid-multitouch: add one new multitouch device's VID/PID
From: ice chien
Date: Fri Jul 15 2011 - 04:59:07 EST
This patch adds support for the CSR panel built by XAT.
Signed-off-by: Ice Chien<ice.chien@xxxxxxxxxxxxxxxx>
---
diff -u linux-3.0-rc7/drivers/hid/hid-core.c modified_linux-3.0-rc7/drivers/hid/hid-core.c
--- linux-3.0-rc7/drivers/hid/hid-core.c 2011-07-12 07:51:52.000000000 +0800
+++ modified_linux-3.0-rc7/drivers/hid/hid-core.c 2011-07-14 16:40:49.265137787 +0800
@@ -1499,6 +1499,7 @@
{ HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_SLIM_TABLET_12_1_INCH) },
{ HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_10_6_INCH) },
{ HID_USB_DEVICE(USB_VENDOR_ID_WALTOP, USB_DEVICE_ID_WALTOP_MEDIA_TABLET_14_1_INCH) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_XAT, USB_DEVICE_ID_XAT_CSR) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
{ HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
diff -u linux-3.0-rc7/drivers/hid/hid-ids.h modified_linux-3.0-rc7/drivers/hid/hid-ids.h
--- linux-3.0-rc7/drivers/hid/hid-ids.h 2011-07-12 07:51:52.000000000 +0800
+++ modified_linux-3.0-rc7/drivers/hid/hid-ids.h 2011-07-14 16:38:00.565529748 +0800
@@ -663,6 +663,9 @@
#define USB_VENDOR_ID_WISEGROUP_LTD2 0x6677
#define USB_DEVICE_ID_SMARTJOY_DUAL_PLUS 0x8802
+#define USB_VENDOR_ID_XAT 0x2505
+#define USB_DEVICE_ID_XAT_CSR 0x0220
+
#define USB_VENDOR_ID_YEALINK 0x6993
#define USB_DEVICE_ID_YEALINK_P1K_P4K_B2K 0xb001
diff -u linux-3.0-rc7/drivers/hid/hid-multitouch.c modified_linux-3.0-rc7/drivers/hid/hid-multitouch.c
--- linux-3.0-rc7/drivers/hid/hid-multitouch.c 2011-07-12 07:51:52.000000000 +0800
+++ modified_linux-3.0-rc7/drivers/hid/hid-multitouch.c 2011-07-14 16:43:02.786343884 +0800
@@ -727,6 +727,10 @@
{ .driver_data = MT_CLS_DEFAULT,
HID_USB_DEVICE(USB_VENDOR_ID_UNITEC,
USB_DEVICE_ID_UNITEC_USB_TOUCH_0A19) },
+ /* XAT */
+ { .driver_data = MT_CLS_DEFAULT,
+ HID_USB_DEVICE(USB_VENDOR_ID_XAT,
+ USB_DEVICE_ID_XAT_CSR) },
{ }
};
diff -u linux-3.0-rc7/drivers/hid/Kconfig modified_linux-3.0-rc7/drivers/hid/Kconfig
--- linux-3.0-rc7/drivers/hid/Kconfig 2011-07-12 07:51:52.000000000 +0800
+++ modified_linux-3.0-rc7/drivers/hid/Kconfig 2011-07-14 16:44:05.610915920 +0800
@@ -322,6 +322,7 @@
- Stantum multitouch panels
- Touch International Panels
- Unitec Panels
+ - XAT optical touch panels
If unsure, say N.
Common subdirectories: linux-3.0-rc7/drivers/hid/usbhid and modified_linux-3.0-rc7/drivers/hid/usbhid
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/