From 72e4d92de5b71cbe39d825d769d22ee56122fbf3 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Wed, 29 Nov 2006 10:00:13 +0000 Subject: tslib/tslib/smdk2440 : add configuration for smdk2440 machine --- packages/tslib/tslib/smdk2440/.mtn2git_empty | 0 packages/tslib/tslib/smdk2440/tslib.sh | 13 +++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 packages/tslib/tslib/smdk2440/.mtn2git_empty create mode 100644 packages/tslib/tslib/smdk2440/tslib.sh (limited to 'packages/tslib') diff --git a/packages/tslib/tslib/smdk2440/.mtn2git_empty b/packages/tslib/tslib/smdk2440/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 -- cgit v1.2.3