[oe-commits] Michael 'Mickey' Lauer : tslib: add configuration for htc-msm7 devices

git version control git at git.openembedded.org
Sun Mar 14 20:01:29 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 2d6f65949cb6fbf7c3ee77a9383e54126c84b3b7
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2d6f65949cb6fbf7c3ee77a9383e54126c84b3b7

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Sun Mar 14 21:00:41 2010 +0100

tslib: add configuration for htc-msm7 devices

---

 recipes/tslib/tslib/htc-msm7/ts.conf  |   25 +++++++++++++++++++++++++
 recipes/tslib/tslib/htc-msm7/tslib.sh |    7 +++++++
 recipes/tslib/tslib_1.0.bb            |    2 +-
 3 files changed, 33 insertions(+), 1 deletions(-)

diff --git a/recipes/tslib/tslib/htc-msm7/ts.conf b/recipes/tslib/tslib/htc-msm7/ts.conf
new file mode 100644
index 0000000..1b0da93
--- /dev/null
+++ b/recipes/tslib/tslib/htc-msm7/ts.conf
@@ -0,0 +1,25 @@
+# Uncomment if you wish to use the linux input layer event interface
+module_raw input
+
+# Uncomment if you're using a Sharp Zaurus SL-5500/SL-5000d
+# module_raw collie
+
+# Uncomment if you're using a Sharp Zaurus SL-C700/C750/C760/C860
+# module_raw corgi
+
+# Uncomment if you're using a device with a UCB1200/1300/1400 TS interface
+# module_raw ucb1x00
+
+# Uncomment if you're using an HP iPaq h3600 or similar
+# module_raw h3600
+
+# Uncomment if you're using a Hitachi Webpad
+# module_raw mk712
+
+# Uncomment if you're using an IBM Arctic II
+# module_raw arctic2
+
+module pthres pmin=1
+module variance delta=30
+module dejitter delta=100
+module linear
diff --git a/recipes/tslib/tslib/htc-msm7/tslib.sh b/recipes/tslib/tslib/htc-msm7/tslib.sh
new file mode 100644
index 0000000..d6141f8
--- /dev/null
+++ b/recipes/tslib/tslib/htc-msm7/tslib.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# FIXME: Use /dev/input/touchscreen, once we have this logic on all hotplug system
+# Yes, hardcoding the event node is wrong, will fix this eventually
+TSLIB_TSDEVICE=/dev/input/event1
+
+export TSLIB_TSDEVICE
diff --git a/recipes/tslib/tslib_1.0.bb b/recipes/tslib/tslib_1.0.bb
index 58a0e35..4c2a56c 100644
--- a/recipes/tslib/tslib_1.0.bb
+++ b/recipes/tslib/tslib_1.0.bb
@@ -2,6 +2,6 @@ SRC_URI = "http://download.berlios.de/tslib/${BP}.tar.bz2 \
            file://fix_version.patch;patch=1 \
            file://tslib-nopressure.patch;patch=1 \
            file://tslib-pluginsld.patch;patch=1"
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 
 include tslib.inc





More information about the Openembedded-commits mailing list