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
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to