]> git.karo-electronics.de Git - linux-beck.git/commitdiff
HID: hid-multitouch: add one new multitouch device's VID/PID
authorice chien <ice.chien@accupoint.com.tw>
Fri, 15 Jul 2011 08:58:06 +0000 (16:58 +0800)
committerJiri Kosina <jkosina@suse.cz>
Thu, 21 Jul 2011 12:12:28 +0000 (14:12 +0200)
This patch adds support for the CSR panel built by XAT.

Signed-off-by: Ice Chien <ice.chien@accupoint.com.tw>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-multitouch.c

index acc39e8ef3e7fab143be3f63d9199a61fa0c17c3..6008e634853e3045d0df31684e511a361f999cd5 100644 (file)
@@ -335,6 +335,7 @@ config HID_MULTITOUCH
          - Stantum multitouch panels
          - Touch International Panels
          - Unitec Panels
+         - XAT optical touch panels
 
          If unsure, say N.
 
index 2a268fc4db9a44e51b05f72c34d9e3a955ab3403..1ae647e3e81c95bdde5ebef353346e222f888bfc 100644 (file)
@@ -1500,6 +1500,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
        { 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_X_TENSIONS, USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE) },
        { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
        { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
index 2c8594767191dfd521cb57dab4c95ff16e3a4b5d..f9717e2a95a2d81efe00eb63bc685ed4afcb6558 100644 (file)
 #define USB_VENDOR_ID_X_TENSIONS               0x1ae7
 #define USB_DEVICE_ID_SPEEDLINK_VAD_CEZANNE    0x9001
 
+#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
 
index ecd4d2db9e800ca2397c3ad18945d30b2080a028..c0d1b15ca67cce182498526a3f2c5c5f8ce7fe50 100644 (file)
@@ -699,6 +699,10 @@ static const struct hid_device_id mt_devices[] = {
        { .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) },
 
        { }
 };