linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kandziora <jjj@gmx.de>
To: linux-input@vger.kernel.org
Subject: USB PCT multitouch 0eef:7200 (eGalaxTouch EXC7200-766Dv1.000)  PATCH INCLUDED
Date: Tue, 04 Mar 2014 22:58:33 +0100	[thread overview]
Message-ID: <53164C89.1010803@gmx.de> (raw)

Hi,

I found this touchscreen chip built into the board of the Posiflex
XT3015 cash register hardware.


Sadly, it doesn't work with the current usbhid OOTB. As the device ID
isn't in the hid-ids.h, I tried adding it:

--------------------------------------------------------------------------
diff -urN linux-3.10.27.orig/drivers/hid/hid-ids.h
linux-3.10.27/drivers/hid/hid-ids.h
--- linux-3.10.27.orig/drivers/hid/hid-ids.h    2014-01-16
00:29:14.000000000 +0100
+++ linux-3.10.27/drivers/hid/hid-ids.h 2014-03-04 20:51:09.889687222 +0100
@@ -268,6 +268,7 @@
 #define USB_DEVICE_ID_DWAV_TOUCHCONTROLLER     0x0002
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480D      0x480d
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_480E      0x480e
+#define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7200      0x7200
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7207      0x7207
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_720C      0x720c
 #define USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224      0x7224
diff -urN linux-3.10.27.orig/drivers/hid/hid-multitouch.c
linux-3.10.27/drivers/hid/hid-multitouch.c
--- linux-3.10.27.orig/drivers/hid/hid-multitouch.c     2014-01-16
00:29:14.000000000 +0100
+++ linux-3.10.27/drivers/hid/hid-multitouch.c  2014-03-04
20:48:35.351350357 +0100
@@ -1166,6 +1166,9 @@
                        USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_A001) },
        { .driver_data = MT_CLS_EGALAX,
                HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
+                       USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7200) },
+       { .driver_data = MT_CLS_EGALAX,
+               HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
                        USB_DEVICE_ID_DWAV_EGALAX_MULTITOUCH_7224) },
        { .driver_data = MT_CLS_EGALAX,
                HID_USB_DEVICE(USB_VENDOR_ID_DWAV,
--------------------------------------------------------------------------

That works. Haven't checked the multitouch functions, though.


Kind regards

	Jan

                 reply	other threads:[~2014-03-04 21:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53164C89.1010803@gmx.de \
    --to=jjj@gmx.de \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).