[oe] [PATCH][STABLE 1/4] bug20/xorg.conf: update to use tslib driver for touchscreen input device.

Stefan Schmidt stefan at datenfreihafen.org
Tue Jun 15 18:15:24 UTC 2010


From: Ken Gilmer <ken at buglabs.net>


Signed-off-by: Ken Gilmer <ken at buglabs.net>
Signed-off-by: Stefan Schmidt <stefan at buglabs.net>

---
 .../xorg-xserver/xserver-xorg-conf/bug20/xorg.conf |    8 ++++++++
 recipes/xorg-xserver/xserver-xorg-conf_0.1.bb      |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)

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
diff --git a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
index 0d286b7..43ca6fa 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
+++ b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
@@ -1,5 +1,5 @@
 DESCRIPTION = "Machine specific xorg.conf files"
-PR = "r24"
+PR = "r25"
 
 SRC_URI = "file://xorg.conf"
 
-- 
1.7.1





More information about the Openembedded-devel mailing list