Ken Moffat wrote:
> 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
> (/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.
>
> 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.

Well I've used /opt for years without too much issue.  I do need to set 
environment variables though:

PLUS_INCLUDE_PATH=/opt/xorg/include
C_INCLUDE_PATH=/opt/xorg/include
LIBRARY_PATH=/opt/xorg/lib

XORG_CONFIG='--prefix=/opt/xorg --sysconfdir=/etc \
   --mandir=/opt/xorg/share/man --localstatedir=/var'

XORG_PREFIX=/opt/xorg
for building.

MANPATH=...:/opt/xorg/share/man
PATH=...:/opt/xorg/bin:...
PKG_CONFIG_PATH=...:/opt/xorg/lib/pkgconfig:/opt/xorg/share/pkgconfig

For running.

My .conf file is at /opt/xorg/share/X11/xorg.conf.d/10-evdev.conf and it 
is found correctly.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to