aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2011-03-15 16:30:07 -0700
committerDarren Hart <dvhart@linux.intel.com>2011-03-15 21:29:47 -0700
commit14f57b958ba34ad3c5e82188ff3f457f7737b9b5 (patch)
treed26a932e7622dfb883cee1dd0a7718b27d39b418
parent2bd6b798cbb21562ace0b53808c544dc38deb4b0 (diff)
downloadmeta-intel-14f57b958ba34ad3c5e82188ff3f457f7737b9b5.tar.gz
meta-intel-14f57b958ba34ad3c5e82188ff3f457f7737b9b5.tar.bz2
meta-intel-14f57b958ba34ad3c5e82188ff3f457f7737b9b5.zip
n450: add xorg.conf to disable AutoAddDevices
Fixes [YOCTO #869] (2 of 2) The n450 needs: Option "AutoAddDevices" "False" In the ServerFlags, or it will fail to detect the keyboard. Signed-off-by: Darren Hart <dvhart@linux.intel.com> Acked-by: Tom Zanussi <tom.zanussi@intel.com>
-rw-r--r--meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf26
-rw-r--r--meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend3
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
new file mode 100644
index 00000000..e18b9111
--- /dev/null
+++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config/n450/xorg.conf
@@ -0,0 +1,26 @@
+Section "Device"
+ Identifier "Intel Graphics Driver"
+ Driver "intel"
+EndSection
+
+Section "Monitor"
+ Identifier "Generic Monitor"
+ Option "DPMS"
+EndSection
+
+Section "Screen"
+ Identifier "Default Screen"
+ Device "Intel Graphics Driver"
+ Monitor "Generic Monitor"
+ DefaultDepth 24
+EndSection
+
+Section "ServerLayout"
+ Identifier "Default Layout"
+ Screen "Default Screen"
+EndSection
+
+Section "ServerFlags"
+ Option "DontZap" "0"
+ Option "AutoAddDevices" "False"
+EndSection
diff --git a/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
new file mode 100644
index 00000000..4b8d0e65
--- /dev/null
+++ b/meta-n450/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
@@ -0,0 +1,3 @@
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+