summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-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
-rw-r--r--recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb3
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 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"
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 1c33056a80..2b016e274d 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 \