summaryrefslogtreecommitdiff
path: root/recipes/xserver-common/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-07-28 11:26:58 +0200
committerKoen Kooi <koen@openembedded.org>2009-07-28 11:26:58 +0200
commit1d5ab38e312a724337e438098cd8ec960f1758d8 (patch)
treebc438b4c2b513b62108de0e1617fc49b56312f9d /recipes/xserver-common/files
parent7af11a2eff9daeb53807e85e9df6d9d964496d23 (diff)
xserver-common: run tslib-calibrate for angstrom instead of xtscal (patch from gumstix)
Diffstat (limited to 'recipes/xserver-common/files')
-rw-r--r--recipes/xserver-common/files/xtscal-fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/xserver-common/files/xtscal-fix.patch b/recipes/xserver-common/files/xtscal-fix.patch
new file mode 100644
index 0000000000..eca9276be0
--- /dev/null
+++ b/recipes/xserver-common/files/xtscal-fix.patch
@@ -0,0 +1,16 @@
+--- xserver-common-1.22/run-calibrate.sh-orig 2007-07-12 11:21:28.000000000 -0700
++++ xserver-common-1.22/run-calibrate.sh 2009-02-18 06:42:00.000000000 -0800
+@@ -1,12 +1,8 @@
+ #! /bin/sh
+
+-if [ -x /usr/bin/xtscal ]; then
+- exec /usr/bin/xtscal
+-else
++if [ -e /dev/input/touchscreen0 ]; then
+ if [ -x /usr/bin/ts_calibrate ]; then
+ exec /usr/bin/ts_calibrate
+ fi
+ fi
+
+-exec xtscal
+-