[yocto] Problem with mouse and keyboard detection in yocto (core-image-sato on emenlow)

Burton, Ross ross.burton at intel.com
Mon Apr 8 03:34:10 PDT 2013


On 8 April 2013 10:50, Andreas Enbacka <aenbacka at gmail.com> wrote:
> Thanks for your reply, very much appreciated. I am currently using Poky master. I have attached the complete Xorg.0.log; it does not contain any mentions of evdev, only mouse, which would imply that evdev does not get loaded of some reason.

That's interesting, it should be loading the evdev module.  Can you
confirm that it's present in /usr/lib/xorg/modules/input?

Your log shows that it didn't load the kbd and mouse modules because
the versions don't match:

[3901748.190] (II) LoadModule: "mouse"
[3901748.191] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[3901748.208] (II) Module kbd: vendor="X.Org Foundation"
[3901748.208]   compiled for 1.13.1, module version = 1.6.2
[3901748.203] (EE) module ABI major version (18) doesn't match the
server's version (11)
[3901748.204] (EE) Failed to load module "mouse" (module requirement
mismatch, 0)

This shouldn't happen in master because the server and the modules
have runtime-dependences injected to stop this happening:

$ dpkg -I xf86-input-mouse_1.8.1-r21.0.0_armv5te.ipk
...
 Depends: xorg-abi-input-19, libc6 (>= 2.17)

$ dpkg -I xserver-xorg_1.14.0-r8.0.0_armv5te.ipk
...
 Provides: xserver-xorg-extension-extmod, xserver-xorg-extension-dri,
xorg-abi-video-14, xorg-abi-input-19, xserver-xorg-extension-dbe,
xserver-xorg-extension-record, xserver-xorg-extension-dri2

Something went wrong and your drivers were built with a newer version
of the server (1.13.1) than you're actually running (1.9.3). I suspect
what's happened is that you've done a non-emenlow build (say, atom-pc)
in the same build directory and your emenlow build is re-using the
drivers.  Rebuilding the drivers should help, so "bitbake
-ccleansstate xorg-input-keyboard xorg-input-mouse" and then re-build
your image.

Ross



More information about the yocto mailing list