aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2010-09-16 15:00:27 +0200
committerFlorian Boor <florian.boor@kernelconcepts.de>2010-09-16 17:52:35 +0200
commit5fdb10254742cb761c2b3371fc5b11d00ecb52a5 (patch)
tree1b83c93dac7936fb23668657207aee45737f9a78
parent18b9705e20879a9c6121224e58cb54eba6726957 (diff)
downloadopenembedded-5fdb10254742cb761c2b3371fc5b11d00ecb52a5.tar.gz
openembedded-5fdb10254742cb761c2b3371fc5b11d00ecb52a5.tar.bz2
openembedded-5fdb10254742cb761c2b3371fc5b11d00ecb52a5.zip
xserver-xorg-conf: Add xorg.conf for i.MX51 Babbage
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf/babbage/xorg.conf56
-rw-r--r--recipes/xorg-xserver/xserver-xorg-conf_0.1.bb2
2 files changed, 57 insertions, 1 deletions
diff --git a/recipes/xorg-xserver/xserver-xorg-conf/babbage/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/babbage/xorg.conf
new file mode 100644
index 0000000000..d4d41db42d
--- /dev/null
+++ b/recipes/xorg-xserver/xserver-xorg-conf/babbage/xorg.conf
@@ -0,0 +1,56 @@
+#
+# X11 configuration for i.MX51 Babbage EVK
+# Based on pm9263 by Koan sas
+#
+
+Section "Monitor"
+ Identifier "Display"
+EndSection
+
+Section "Device"
+ Identifier "fbdevice"
+ Driver "fbdev"
+ Option "fbdev" "/dev/fb0"
+ Option "shadowfb" "true"
+EndSection
+
+Section "Screen"
+ Identifier "fbscreen"
+ Device "fbdevice"
+ Monitor "Display"
+EndSection
+
+Section "InputDevice"
+ Identifier "mxc_ts"
+ Driver "evdev"
+ Option "SwapAxes" "0"
+ Option "Device" "/dev/input/touchscreen0"
+EndSection
+
+Section "InputDevice"
+ Identifier "Generic Mouse"
+ Driver "mouse"
+ Option "CorePointer"
+EndSection
+
+Section "InputDevice"
+ Identifier "Keypad"
+ Driver "evdev"
+ Option "Device" "/dev/input/event0"
+# Option "XkbModel" "nokiarx51"
+# Option "XkbLayout" "us"
+EndSection
+
+Section "ServerLayout"
+ Identifier "Layout"
+ Screen "fbscreen"
+ InputDevice "mxc_ts" "CorePointer"
+ InputDevice "Keypad"
+# Enable mouse only if necessary, it may interfere with touchscreen behaviour
+# InputDevice "Generic Mouse"
+EndSection
+
+#Section "ServerFlags"
+# Option "AutoAddDevices" "false"
+#EndSection
+
diff --git a/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb b/recipes/xorg-xserver/xserver-xorg-conf_0.1.bb
index df03f1bb2e..fd62ee2289 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 = "r33"
+PR = "r34"
SRC_URI = "file://xorg.conf"