[oe-commits] Petr Štetiar : xf86-input-evtouch: add support for ET&T TC5UH touchscreen controller

git version control git at git.openembedded.org
Sun Jan 24 07:39:04 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 9eeba291dcecb3651d6c7807c391d949de851d30
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9eeba291dcecb3651d6c7807c391d949de851d30

Author: Petr Štetiar <ynezz at true.cz>
Date:   Sun Nov 29 03:49:59 2009 +0000

xf86-input-evtouch: add support for ET&T TC5UH touchscreen controller

Signed-off-by: Petr Štetiar <ynezz at true.cz>

---

 .../xf86-input-evtouch/fdi/50-ett-tc5uh.fdi        |   17 +++++++++++++++++
 .../xf86-input-evtouch/udev-ett-tc5uh.patch        |   10 ++++++++++
 recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb    |    3 ++-
 3 files changed, 29 insertions(+), 1 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 0000000..b227b2c
--- /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 0000000..625ba0a
--- /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"
diff --git a/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb b/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb
index 1c33056..2b016e2 100644
--- a/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb
+++ b/recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb
@@ -1,6 +1,6 @@
 require xorg-driver-input.inc
 
-PR = "r9"
+PR = "r11"
 
 DESCRIPTION = "X.Org X server -- evtouch input driver"
 
@@ -9,6 +9,7 @@ SRC_URI = "http://www.conan.de/touchscreen/xf86-input-evtouch-${PV}.tar.bz2 \
            file://20_fix_calibrate_submission_directions.patch;patch=1 \
            file://21_more_calibration_fixups.patch;patch=1 \
            file://fdi/*.fdi \
+           file://udev-ett-tc5uh.patch;patch=1 \
 "
 
 EXTRA_OECONF = "--enable-evcalibrate \





More information about the Openembedded-commits mailing list