From: Ken Gilmer Date: Thu, 6 May 2010 21:55:40 +0000 (-0400) Subject: bug20/xorg.conf: update to use tslib driver for touchscreen input device. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18993334c37bfc5564e84b1ec543cfbd6e8a6306;p=openembedded.git bug20/xorg.conf: update to use tslib driver for touchscreen input device. --- 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