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

John Frankish j-frankish at slb.com
Sun Nov 3 00:17:22 PDT 2013


> > > 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.

Thanks for the feedback (in fact pkg-config will automatically look in /usr/local).
The keyboard and mouse drivers are loaded from the same location as the evdev driver when I disable evdev

> BUT the first mentions of evdev in my log are
>
> [ 23798.003] (II) config/udev: Adding input device Power Button(/dev/input/event1)
> [ 23798.004] (**) Power Button: Applying InputClass "evdev keyboard catchall"
> [ 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.

10-evdev.conf is at /usr/local/share/X11/xorg.conf.d and verified to be the same as the 32-bit install, which works.

>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).

I tried copying 10-evdev.conf to various locations, including /etc/X11/xorg.conf.d, without success

> 3. The file is there, but your kernel is not providing
> /dev/input/event* - probably, CONFIG_INPUT_EVDEV is not set.
>
CONFIG_INPUT_EVDEV is set in the kernel config and /proc/bus/input/devices shows the keyboard, mouse, etc, have been assigned event numbers.

I have the feeling that this is something to do with lib64 being hardcoded into evdev/mtdev somewhere in the 64-bit build, but ldd shows everything to be present and correct.

Thanks for the suggestions so far.

John



More information about the blfs-support mailing list