[oe-commits] David-John Willis : tslib: Add config files for the omap3-pandora.
git version control
git at git.openembedded.org
Fri Dec 4 09:44:40 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 32acd42a04bf21cbf02c0b095c5ebcb02df3b413
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=32acd42a04bf21cbf02c0b095c5ebcb02df3b413
Author: David-John Willis <John.Willis at Distant-earth.com>
Date: Wed Dec 2 16:29:01 2009 +0000
tslib: Add config files for the omap3-pandora.
---
recipes/tslib/tslib.inc | 4 +++-
recipes/tslib/tslib/omap3-pandora/ts.conf | 8 ++++++++
recipes/tslib/tslib/omap3-pandora/tslib.sh | 7 +++++++
3 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/recipes/tslib/tslib.inc b/recipes/tslib/tslib.inc
index e10351b..81f2a4e 100644
--- a/recipes/tslib/tslib.inc
+++ b/recipes/tslib/tslib.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "http://tslib.berlios.de/"
AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
SECTION = "base"
LICENSE = "LGPL"
-INC_PR = "r22"
+INC_PR = "r23"
SRC_URI += "\
file://ts.conf \
@@ -61,6 +61,7 @@ PACKAGE_ARCH_tslib-conf_jornada7xx = "${MACHINE_ARCH}"
PACKAGE_ARCH_tslib-conf_netbook-pro = "${MACHINE_ARCH}"
PACKAGE_ARCH_tslib-conf_omap1610h2 = "${MACHINE_ARCH}"
PACKAGE_ARCH_tslib-conf_omap5912osk = "${MACHINE_ARCH}"
+PACKAGE_ARCH_tslib-conf_omap3-pandora = "${MACHINE_ARCH}"
PACKAGE_ARCH_tslib-conf_simpad = "${MACHINE_ARCH}"
PACKAGES =+ "tslib-conf libts-dev tslib-tests tslib-calibrate"
@@ -78,3 +79,4 @@ FILES_${PN} = "${libdir}/*.so.* ${libdir}/ts/*.so*"
FILES_libts-dev = "${FILES_tslib-dev} ${libdir}/ts/*.la"
FILES_tslib-calibrate += "${bindir}/ts_calibrate"
FILES_tslib-tests = "${bindir}/ts_harvest ${bindir}/ts_print ${bindir}/ts_print_raw ${bindir}/ts_test"
+
diff --git a/recipes/tslib/tslib/omap3-pandora/ts.conf b/recipes/tslib/tslib/omap3-pandora/ts.conf
new file mode 100644
index 0000000..7b5271c
--- /dev/null
+++ b/recipes/tslib/tslib/omap3-pandora/ts.conf
@@ -0,0 +1,8 @@
+# ts.conf for the OMAP3-PANDORA default touchscreen.
+
+module_raw input
+
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/recipes/tslib/tslib/omap3-pandora/tslib.sh b/recipes/tslib/tslib/omap3-pandora/tslib.sh
new file mode 100644
index 0000000..f73e39c
--- /dev/null
+++ b/recipes/tslib/tslib/omap3-pandora/tslib.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/input/touchscreen0
+TSLIB_CONFFILE=/etc/ts.conf
+
+export TSLIB_TSDEVICE TSLIB_CONFFILE
+
More information about the Openembedded-commits
mailing list