aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Gilmer <ken@buglabs.net>2010-05-06 17:55:40 -0400
committerStefan Schmidt <stefan@datenfreihafen.org>2010-05-12 12:44:07 +0200
commit18993334c37bfc5564e84b1ec543cfbd6e8a6306 (patch)
treed82704adb1887b480b0cf3161fce48a896041d81
parent93323eb479d5d0244f8973544f9484412770f526 (diff)
downloadopenembedded-18993334c37bfc5564e84b1ec543cfbd6e8a6306.tar.gz
bug20/xorg.conf: update to use tslib driver for touchscreen input device.
-rw-r--r--conf/machine/imote2.conf3
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf8
2 files changed, 10 insertions, 1 deletions
diff --git a/conf/machine/imote2.conf b/conf/machine/imote2.conf
index 24da0d0678..78af942473 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 0b976fe632..6301d06900 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