* [PATCH] HID:multitouch:add driver fo CJTouch MultiTouch
@ 2015-06-29 17:04 linuxsea
2015-06-30 7:41 ` Jiri Kosina
0 siblings, 1 reply; 3+ messages in thread
From: linuxsea @ 2015-06-29 17:04 UTC (permalink / raw
To: jkosina; +Cc: linux-input, linux-kernel, linuxsea
From: linuxsea <linuxsea@163.com>
Signed-off-by:linuxsea<linuxsea@163.com>
---
---
drivers/hid/Kconfig | 1 +
drivers/hid/hid-ids.h | 4 ++++
drivers/hid/hid-multitouch.c | 8 ++++++++
3 files changed, 13 insertions(+)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index cc4c664..57c94d7 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -480,6 +480,7 @@ config HID_MULTITOUCH
- Atmel panels
- Cando dual touch panels
- Chunghwa panels
+ - CJTouch panels
- CVTouch panels
- Cypress TrueTouch panels
- Elan Microelectronics touch panels
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index b04b082..591b7d0 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -236,6 +236,10 @@
#define USB_VENDOR_ID_CIDC 0x1677
+#define USB_VENDOR_ID_CJTOUCH 0x24b8
+#define USB_DEVICE_ID_CJTOUCH_MULTI_TOUCH_0020 0x0020
+#define USB_DEVICE_ID_CJTOUCH_MULTI_TOUCH_0040 0x0040
+
#define USB_VENDOR_ID_CMEDIA 0x0d8c
#define USB_DEVICE_ID_CM109 0x000e
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 6a9b05b..5055008 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1138,6 +1138,14 @@ static const struct hid_device_id mt_devices[] = {
MT_USB_DEVICE(USB_VENDOR_ID_CHUNGHWAT,
USB_DEVICE_ID_CHUNGHWAT_MULTITOUCH) },
+ /* CJTouch panels */
+ { .driver_data = MT_CLS_DEFAULT,
+ HID_USB_DEVICE(USB_VENDOR_ID_CJTOUCH,
+ USB_DEVICE_ID_CJTOUCH_MULTI_TOUCH_0020) },
+ { .driver_data = MT_CLS_DEFAULT,
+ HID_USB_DEVICE(USB_VENDOR_ID_CJTOUCH,
+ USB_DEVICE_ID_CJTOUCH_MULTI_TOUCH_0040) },
+
/* CVTouch panels */
{ .driver_data = MT_CLS_NSMU,
MT_USB_DEVICE(USB_VENDOR_ID_CVTOUCH,
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] HID:multitouch:add driver fo CJTouch MultiTouch
2015-06-29 17:04 [PATCH] HID:multitouch:add driver fo CJTouch MultiTouch linuxsea
@ 2015-06-30 7:41 ` Jiri Kosina
[not found] ` <3a7b920e.50e7.14e5955d5a9.Coremail.linuxsea@163.com>
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2015-06-30 7:41 UTC (permalink / raw
To: linuxsea; +Cc: linux-input, linux-kernel
On Mon, 29 Jun 2015, linuxsea@163.com wrote:
> From: linuxsea <linuxsea@163.com>
>
> Signed-off-by:linuxsea<linuxsea@163.com>
Please use your real name for authorship and signoffs. Thanks,
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Re: [PATCH] HID:multitouch:add driver fo CJTouch MultiTouch
[not found] ` <3a7b920e.50e7.14e5955d5a9.Coremail.linuxsea@163.com>
@ 2015-07-06 23:00 ` Jiri Kosina
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2015-07-06 23:00 UTC (permalink / raw
To: linuxsea; +Cc: linux-input, linux-kernel
On Sat, 4 Jul 2015, linuxsea wrote:
> Use real names this is :
>
> > From: Yang Bo <linuxsea@163.com>
> >
> > Signed-off-by: Yang Bo <linuxsea@163.com>
Please resubmit the whole patch with your real name updated.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-06 23:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-29 17:04 [PATCH] HID:multitouch:add driver fo CJTouch MultiTouch linuxsea
2015-06-30 7:41 ` Jiri Kosina
[not found] ` <3a7b920e.50e7.14e5955d5a9.Coremail.linuxsea@163.com>
2015-07-06 23:00 ` Jiri Kosina
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).