From ea1343763bbdd56e342020b3ce6e6f24e850150e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Oct 19 2008 07:53:35 +0000 Subject: - Update xserver-1.5.2-disable-kbd-mouse.patch: if no config file is present, we need to force AllowEmptyInput on. --- diff --git a/xorg-x11-server.spec b/xorg-x11-server.spec index 125f193..347d98e 100644 --- a/xorg-x11-server.spec +++ b/xorg-x11-server.spec @@ -19,7 +19,7 @@ Summary: X.Org X11 X server Name: xorg-x11-server Version: 1.5.2 -Release: 5%{?dist} +Release: 6%{?dist} URL: http://www.x.org License: MIT Group: User Interface/X @@ -521,6 +521,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Oct 19 2008 Peter Hutterer 1.5.2-6 +- Update xserver-1.5.2-disable-kbd-mouse.patch: if no config file is present, + we need to force AllowEmptyInput on. + * Thu Oct 16 2008 Peter Hutterer 1.5.2-5 - xserver-1.5.2-enable-RAW-console.patch: enable RAW mode for console, no need for grabbing the evdev device anymore. diff --git a/xserver-1.5.2-disable-kbd-mouse.patch b/xserver-1.5.2-disable-kbd-mouse.patch index 076a1e3..b3cfa5d 100644 --- a/xserver-1.5.2-disable-kbd-mouse.patch +++ b/xserver-1.5.2-disable-kbd-mouse.patch @@ -1,4 +1,4 @@ -From 64db18dbc3a28e5b81140df0c76d1e1c38e9b225 Mon Sep 17 00:00:00 2001 +From d3863202cba03fe564d6cc1fe3641f017392c9e7 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 16 Oct 2008 11:22:29 +1030 Subject: [PATCH] xfree86: If AEI is on, disable "kbd" and "mouse" devices. @@ -11,9 +11,11 @@ And after finishing the server layout, run through the list of devices and remove any that use mouse or kbd. AEI is mutually exclusive with the kbd and mouse drivers, so pick either - or. +If no config file is present, force AEI on. --- hw/xfree86/common/xf86Config.c | 39 +++++++++++++++++++++++++++++++++++++-- - 1 files changed, 37 insertions(+), 2 deletions(-) + hw/xfree86/common/xf86Init.c | 2 ++ + 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index a1c2e34..ac80add 100644 @@ -79,6 +81,19 @@ index a1c2e34..ac80add 100644 } /* +diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c +index 68dc387..eb4ebfa 100644 +--- a/hw/xfree86/common/xf86Init.c ++++ b/hw/xfree86/common/xf86Init.c +@@ -508,6 +508,8 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv) + xf86Msg(X_ERROR, "Error parsing the config file\n"); + return; + case CONFIG_NOFILE: ++ /* No config file? Then we want HAL to give us the devices. */ ++ xf86Info.allowEmptyInput = TRUE; + autoconfig = TRUE; + break; + } -- 1.6.0.1