[oe-commits] Ken Gilmer : bug20/xorg.conf: update to use tslib driver for touchscreen input device.
git version control
git at git.openembedded.org
Wed May 12 10:44:20 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 18993334c37bfc5564e84b1ec543cfbd6e8a6306
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=18993334c37bfc5564e84b1ec543cfbd6e8a6306
Author: Ken Gilmer <ken at buglabs.net>
Date: Thu May 6 17:55:40 2010 -0400
bug20/xorg.conf: update to use tslib driver for touchscreen input device.
---
conf/machine/imote2.conf | 3 ++-
.../xorg-xserver/xserver-xorg-conf/bug20/xorg.conf | 8 ++++++++
2 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/conf/machine/imote2.conf b/conf/machine/imote2.conf
index 24da0d0..78af942 100644
--- a/conf/machine/imote2.conf
+++ b/conf/machine/imote2.conf
@@ -3,7 +3,8 @@
#@DESCRIPTION: Machine configuration for Crossbow iMote 2
TARGET_ARCH = "arm"
-PREFERRED_PROVIDER_virtual/kernel = "linux"
+#PREFERRED_PROVIDER_virtual/kernel = "linux"
+PREFERRED_PROVIDER_virtual/kernel = "linux-zigbee"
PACKAGE_EXTRA_ARCHS = " iwmmxt"
diff --git a/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf
index 0b976fe..6301d06 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf
+++ b/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf
@@ -26,4 +26,12 @@ EndSection
Section "ServerLayout"
Identifier "Builtin Default Layout"
Screen "Builtin Default fbdev Screen 0"
+ InputDevice "bmi-lcd-ts" "CorePointer"
EndSection
+
+Section "InputDevice"
+ Identifier "bmi-lcd-ts"
+ Driver "tslib"
+ Option "SwapAxes" "1"
+ Option "Device" "/dev/input/touchscreen0"
+EndSection
More information about the Openembedded-commits
mailing list