From 9eeba291dcecb3651d6c7807c391d949de851d30 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Petr=20=C5=A0tetiar?= Date: Sun, 29 Nov 2009 03:49:59 +0000 Subject: [PATCH] xf86-input-evtouch: add support for ET&T TC5UH touchscreen controller MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Å tetiar --- .../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 deletion(-) create mode 100644 recipes/xorg-driver/xf86-input-evtouch/fdi/50-ett-tc5uh.fdi create mode 100644 recipes/xorg-driver/xf86-input-evtouch/udev-ett-tc5uh.patch 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 @@ + + + + + + + + evtouch + raw + true + 50 + on + + + + + 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 \ -- 2.39.5