summaryrefslogtreecommitdiff
path: root/recipes
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
parente4e300a83a1b5fbe728886148b466a6ab696bd68 (diff)
xf86-input-evtouch: add support for ET&T TC5UH touchscreen controller
Signed-off-by: Petr Štetiar <ynezz@true.cz>
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 \