mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Patch v2]hid-multitouch: add one new multitouch device's VID/PID
@ 2011-07-15  8:58 ice chien
  2011-07-21 12:13 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: ice chien @ 2011-07-15  8:58 UTC (permalink / raw)
  To: linux-kernel, benjamin.tissoires; +Cc: jonson.wu

This patch adds support for the CSR panel built by XAT.

Signed-off-by: Ice Chien<ice.chien@accupoint.com.tw>
---
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



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

* Re: [Patch v2]hid-multitouch: add one new multitouch device's VID/PID
  2011-07-15  8:58 [Patch v2]hid-multitouch: add one new multitouch device's VID/PID ice chien
@ 2011-07-21 12:13 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2011-07-21 12:13 UTC (permalink / raw)
  To: ice chien; +Cc: linux-kernel, benjamin.tissoires, jonson.wu

On Fri, 15 Jul 2011, ice chien wrote:

> This patch adds support for the CSR panel built by XAT.

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs

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

end of thread, other threads:[~2011-07-21 12:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-15  8:58 [Patch v2]hid-multitouch: add one new multitouch device's VID/PID ice chien
2011-07-21 12:13 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®