From ab37f53c7ba4487cbb67e831abd5f5fc80608d29 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Tue, 27 Jul 2010 18:26:24 -0400 Subject: [PATCH] xserver-xf86-config: Add a netbook xorg.conf with an extra option 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 --- .../xserver-xf86-config/netbook/xorg.conf | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta/packages/xorg-xserver/xserver-xf86-config/netbook/xorg.conf 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 index 0000000000..897a1d6fef --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-xf86-config/netbook/xorg.conf @@ -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