From f30b0823dbfc5902e54b337b5b6b570ebf216584 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 24 Jul 2008 09:56:00 +0930 Subject: [PATCH] xfree86: if AllowEmptyInput is on, warn the user that we rely on HAL now. --- hw/xfree86/common/xf86Config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 663d81a5f..f1ac5ec46 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -2473,6 +2473,13 @@ static void checkInput(serverLayoutPtr layout) { if (!xf86Info.allowEmptyInput) checkCoreInputDevices(layout, FALSE); + else + { + xf86Msg(X_INFO, "AllowEmptyInput is on.\n" + "\tThe server relies on HAL to provide the list of input " + "devices.\n\tIf no devices become available, reconfigure " + "HAL.\n"); + } } /*