]> code.ossystems Code Review - openembedded-core.git/commitdiff
xserver-xf86-config: Add a netbook xorg.conf with an extra option
authorJeff Dike <jdike@x86_64.user-mode-linux.org>
Tue, 27 Jul 2010 22:26:24 +0000 (18:26 -0400)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 28 Jul 2010 05:51:34 +0000 (22:51 -0700)
The X server on some netbooks don't interact well with HAL with their
keyboard or mouse and consequently one or both is unusable.  This
patch adds AutoAddDevices = False to a new netbook-specific
xorg.conf.  If this breaks any systems which currently work, we'll
have to figure out what's really going on with hotplug and the X
server.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
meta/packages/xorg-xserver/xserver-xf86-config/netbook/xorg.conf [new file with mode: 0644]

diff --git a/meta/packages/xorg-xserver/xserver-xf86-config/netbook/xorg.conf b/meta/packages/xorg-xserver/xserver-xf86-config/netbook/xorg.conf
new file mode 100644 (file)
index 0000000..897a1d6
--- /dev/null
@@ -0,0 +1,29 @@
+Section "ServerFlags"
+    Option "AutoAddDevices" "False"
+EndSection
+
+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"
+EndSection