[PATCH] If neither HAL nor udev backends are enabled, warn the user
Peter Hutterer
peter.hutterer at who-t.net
Sun Feb 3 14:17:26 PST 2013
On Fri, Feb 01, 2013 at 11:09:41AM +0100, Mark Kettenis wrote:
> > Date: Fri, 1 Feb 2013 09:20:38 +1000
> > From: Peter Hutterer <peter.hutterer at who-t.net>
> >
> > If both are missing, input device hotplugging will not work out of the box.
> > While we still have a DBus-API or the user may want to set AAD off all the
> > time, the most likely source of this is misconfiguration (i.e. lack of the
> > udev/hal devel packages).
> >
> > Message printed last to make it more obvious to the user.
>
> But the check is pretty much Linux-specific. On OpenBSD you'll get
> (basic) input device hotplug capability through wscons (which is
> always available).
is this actual X hotplugging support or just the kernel multiplexing,
similar to /dev/input/mice?
Cheers,
Peter
>
> > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> > ---
> > configure.ac | 8 ++++++++
> > 1 file changed, 8 insertions(+)
> >
> > diff --git a/configure.ac b/configure.ac
> > index 435a38f..94f63ff 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -2216,6 +2216,14 @@ AC_SUBST([prefix])
> >
> > AC_CONFIG_COMMANDS([sdksyms], [touch hw/xfree86/sdksyms.dep])
> >
> > +if test "x$CONFIG_HAL" = xno && test "x$CONFIG_UDEV" = xno; then
> > + AC_WARN([
> > + ***********************************************
> > + Neither HAL nor udev backend will be enabled.
> > + Input device hotplugging will not be available!
> > + ***********************************************])
> > +fi
> > +
> > AC_OUTPUT([
> > Makefile
> > glx/Makefile
> > --
> > 1.8.1
> >
> > _______________________________________________
> > xorg-devel at lists.x.org: X.Org development
> > Archives: http://lists.x.org/archives/xorg-devel
> > Info: http://lists.x.org/mailman/listinfo/xorg-devel
> >
More information about the xorg-devel
mailing list