summaryrefslogtreecommitdiff
path: root/packages/tslib/tslib
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-08 20:40:13 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-08 20:40:13 +0000
commit708749b6b99848be51d0cc592acf8fcc8c956c3f (patch)
tree47a71b87f3f7daa82d4bc9eec0d84b69217020ec /packages/tslib/tslib
parent03735a3bce565d44e23ffd2dc1b8828ba1087cdd (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/08 22:37:47+02:00 opfer.lan!dirk tosa 2.6 kernelupdate, load tosakeymap-2.6 and set propper TSLIB_TSDEVICE 2005/06/08 22:27:08+02:00 utwente.nl!koen Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/06/08 22:26:45+02:00 utwente.nl!koen xfonts-xorg_6.8.bb: remove spurious inheritance BKrev: 42a757adZFKZWxIqPymCZREVyFRQfQ
Diffstat (limited to 'packages/tslib/tslib')
-rw-r--r--packages/tslib/tslib/tosa/tslib.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/tslib/tslib/tosa/tslib.sh b/packages/tslib/tslib/tosa/tslib.sh
index e69de29bb2..dc7484cada 100644
--- a/packages/tslib/tslib/tosa/tslib.sh
+++ b/packages/tslib/tslib/tosa/tslib.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+case `uname -r` in
+2.4*)
+ TSLIB_TSDEVICE=/dev/ts
+ TSLIB_TSEVENTTYPE=CORGI
+ TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi-2.4
+ ;;
+*)
+ TSLIB_TSDEVICE=/dev/input/event1
+ TSLIB_TSEVENTTYPE=INPUT
+ TSLIB_CONFFILE=/usr/share/tslib/ts.conf-corgi
+ ;;
+esac
+
+export TSLIB_TSDEVICE TSLIB_TSEVENTTYPE TSLIB_CONFFILE