[oe-commits] Martin.Jansa : om-gta02: xorg.conf with evdev drivers for input

git version control git at git.openembedded.org
Wed Nov 4 15:35:34 UTC 2009


Module: openembedded.git
Branch: shr/merge
Commit: 21eb97a87ac6b878a47d5f5d9c9a53e714c353bb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=21eb97a87ac6b878a47d5f5d9c9a53e714c353bb

Author: Martin.Jansa <Martin.Jansa at gmail.com>
Date:   Fri Oct 30 11:33:55 2009 +0100

om-gta02: xorg.conf with evdev drivers for input

---

 .../xserver-xorg-conf/om-gta02/xorg.conf           |   52 ++++++++++++++++----
 1 files changed, 42 insertions(+), 10 deletions(-)

diff --git a/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf
index 3fc8d83..7d7589f 100644
--- a/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf
+++ b/recipes/xorg-xserver/xserver-xorg-conf/om-gta02/xorg.conf
@@ -1,20 +1,52 @@
+Section "Module"
+        Load    "glx"
+        Load	"dri2"
+EndSection
+
+
 Section "Monitor"
-        Identifier      "Builtin Default Monitor"
+        Identifier      "LCD Panel"
 EndSection
 
+
 Section "Device"
-        Identifier      "Builtin Default glamo Device 0"
-        Driver  "glamo"
-EndSection
+        Identifier      "Glamo Graphics Chip"
+        Driver          "glamo"
+EndSection  
+
 
 Section "Screen"
-        Identifier      "Builtin Default glamo Screen 0"
-        Device  "Builtin Default glamo Device 0"
-        Monitor "Builtin Default Monitor"
+        Identifier      "Default Screen"
+        Device          "Glamo Graphics Chip"
+        Monitor         "LCD Panel"
 EndSection
 
-Section "ServerLayout"
-        Identifier      "Builtin Default Layout"
-        Screen  "Builtin Default glamo Screen 0"
+
+Section "InputDevice"
+	Identifier	"Power Button"
+	Driver		"evdev"
+	Option		"Device"	"/dev/input/event0"
 EndSection
 
+
+Section "InputDevice"
+	Identifier	"AUX Button"
+	Driver		"evdev"
+	Option		"Device"	"/dev/input/event4"
+EndSection
+
+
+Section "InputDevice"
+	Identifier	"Touchscreen"
+	Driver		"evdev"
+	Option		"Device"	"/dev/input/event1"
+EndSection
+
+
+Section "ServerLayout"
+        Identifier      "Default Layout"
+        Screen          "Default Screen"
+	InputDevice	"Power Button"
+	InputDevice	"AUX Button"
+	InputDevice	"Touchscreen"
+EndSection





More information about the Openembedded-commits mailing list