summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-11-29 10:00:13 +0000
committerGraeme Gregory <dp@xora.org.uk>2006-11-29 10:00:13 +0000
commit72e4d92de5b71cbe39d825d769d22ee56122fbf3 (patch)
treedbc27fcfdd77610ffa965a73dcdb1482300d00c5
parentc889e9e9c18b6de366874c5b7386c534a131f08c (diff)
tslib/tslib/smdk2440 : add configuration for smdk2440 machine
-rw-r--r--packages/tslib/tslib/smdk2440/.mtn2git_empty0
-rw-r--r--packages/tslib/tslib/smdk2440/tslib.sh13
2 files changed, 13 insertions, 0 deletions
diff --git a/packages/tslib/tslib/smdk2440/.mtn2git_empty b/packages/tslib/tslib/smdk2440/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/tslib/tslib/smdk2440/.mtn2git_empty
diff --git a/packages/tslib/tslib/smdk2440/tslib.sh b/packages/tslib/tslib/smdk2440/tslib.sh
new file mode 100644
index 0000000000..0ff219b31f
--- /dev/null
+++ b/packages/tslib/tslib/smdk2440/tslib.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/input/touchscreen0
+TSLIB_CONFFILE=/etc/ts.conf
+
+case `uname -r` in
+2.4*)
+ TSLIB_TSDEVICE=/dev/ts
+ TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4
+ ;;
+esac
+
+export TSLIB_TSDEVICE TSLIB_CONFFILE