From 538942cc65b5a112739fb94e57b3be963cf50873 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 24 Jul 2008 09:56:00 +0930 Subject: xfree86: if AllowEmptyInput is on, warn the user that we rely on HAL now. (cherry picked from commit f30b0823dbfc5902e54b337b5b6b570ebf216584) --- 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 fde3a9c74..1052e2153 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -2460,6 +2460,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"); + } } /* -- cgit v1.2.3