[blfs-support] Xorg-7.7 Does not Detect Input Devices on 64-bit Build

Ken Moffat zarniwhoop at ntlworld.com
Sat Nov 2 07:00:53 PDT 2013

On Sat, Nov 02, 2013 at 12:35:10PM +0000, John Frankish wrote:
> > > >
> > > Do you have somthing like:
> > > [    25.470] (II) LoadModule: "evdev"
> > > in the log?
> > > If not, It might be that you forgot to compile the evdev driver. (see Xorg drivers page).
> > >
> >
> > No, I don't have anything like LoadModule: "evdev", but the evdev driver is there at:
> >
> > /usr/local/lib/xorg/modules/input/evdev_drv.so
> >
> > Note that the intel driver is loaded from:
> >
> > /usr/local/lib/xorg/modules/drivers/intel_drv.so
> >
> > Is there a way to force Xorg to use the old-style mouse/keyboard drivers rather than evdev?

 It's a bit hard to diagnose when you use /usr/local/lib (it
*always* gets harder to build things correctly, e.g. PKG_CONFIG_PATH
needs to be set), and *my* modules are all in
/usr/lib/X11/modules/{,drivers/,input/} because I pass
 --with-module-dir=/usr/lib/X11/modules.  But your evdev_drv seems
to be in the right place for your system.

 BUT the first mentions of evdev in my log are

[ 23798.003] (II) config/udev: Adding input device Power Button
[ 23798.004] (**) Power Button: Applying InputClass "evdev keyboard
[ 23798.004] (**) Power Button: Applying InputClass "keyboard-all"

 and that appears to be what causes evdev to get loaded.  I guess
that's because the first entry in my /usr/share/X11/xorg.conf.d is
10-evdev.conf : that has the settings to match /dev/input/event* to
the evdev driver.  10-evdev.conf comes from the xorg-server install.

 So, I guess there are three possibilities :

1. 10-evdev.conf didn't get installed - I guess that might happen if
the build for xorg-server thought it was on a non-linux system, but
it seems pretty unlikely.

2. 10-evdev.conf is somehow not in the right place (I guess it needs
to be in /usr/local for you, but you might find that putting it in
/etc/X11 works).

3. The file is there, but your kernel is not providing
/dev/input/event* - probably, CONFIG_INPUT_EVDEV is not set.

das eine Mal als Tragödie, dieses Mal als Farce

More information about the blfs-support mailing list