aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-driver/xf86-input-evtouch
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2009-11-29 03:49:59 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-24 04:42:07 +0100
commit9eeba291dcecb3651d6c7807c391d949de851d30 (patch)
treee1da5d640265c08e1120d3d579b81d5d1195f81f /recipes/xorg-driver/xf86-input-evtouch
parente4e300a83a1b5fbe728886148b466a6ab696bd68 (diff)
downloadopenembedded-9eeba291dcecb3651d6c7807c391d949de851d30.tar.gz
xf86-input-evtouch: add support for ET&T TC5UH touchscreen controller
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'recipes/xorg-driver/xf86-input-evtouch')
-rw-r--r--recipes/xorg-driver/xf86-input-evtouch/fdi/50-ett-tc5uh.fdi17
-rw-r--r--recipes/xorg-driver/xf86-input-evtouch/udev-ett-tc5uh.patch10
2 files changed, 27 insertions, 0 deletions
diff --git a/recipes/xorg-driver/xf86-input-evtouch/fdi/50-ett-tc5uh.fdi b/recipes/xorg-driver/xf86-input-evtouch/fdi/50-ett-tc5uh.fdi
new file mode 100644
index 0000000000..b227b2cea2
--- /dev/null
+++ b/recipes/xorg-driver/xf86-input-evtouch/fdi/50-ett-tc5uh.fdi
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- configuration for ET&T TC5UH touchscreen controller -->
+<deviceinfo version="0.2">
+ <device>
+ <match key="usb.product_id" int="0x309">
+ <match key="usb.vendor_id" int="0x664">
+ <match key="info.linux.driver" contains="usbtouchscreen">
+ <merge key="input.x11_driver" type="string">evtouch</merge>
+ <merge key="input.x11_options.reportingmode" type="string">raw</merge>
+ <merge key="input.x11_options.emulate3buttons" type="string">true</merge>
+ <merge key="input.x11_options.emulate3timeout" type="string">50</merge>
+ <merge key="input.x11_options.sendcoreevents" type="string">on</merge>
+ </match>
+ </match>
+ </match>
+ </device>
+</deviceinfo>
diff --git a/recipes/xorg-driver/xf86-input-evtouch/udev-ett-tc5uh.patch b/recipes/xorg-driver/xf86-input-evtouch/udev-ett-tc5uh.patch
new file mode 100644
index 0000000000..625ba0a32b
--- /dev/null
+++ b/recipes/xorg-driver/xf86-input-evtouch/udev-ett-tc5uh.patch
@@ -0,0 +1,10 @@
+Index: xf86-input-evtouch-0.8.8/69-touchscreen.rules
+===================================================================
+--- xf86-input-evtouch-0.8.8.orig/69-touchscreen.rules 2009-11-28 22:03:37.000000000 +0100
++++ xf86-input-evtouch-0.8.8/69-touchscreen.rules 2009-11-28 22:04:19.000000000 +0100
+@@ -50,3 +50,5 @@
+ KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="LBPS/2 Fujitsu Lifebook TouchScreen", SYMLINK+="input/evtouch_event"
+ # Elo Touchscreen
+ KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="04e7", ATTRS{idProduct}=="0020", SYMLINK+="input/evtouch_event"
++# ET&T TC5UH
++KERNEL=="event*", SUBSYSTEM=="input", SYSFS{idVendor}=="0664", SYSFS{idProduct}=="0309", SYMLINK+="input/evtouch_event"