From: "Andreas Enbacka" <aenbacka@gmail.com>
To: "'Burton, Ross'" <ross.burton@intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: Problem with mouse and keyboard detection in yocto (core-image-sato on emenlow)
Date: Mon, 8 Apr 2013 15:12:51 +0300 [thread overview]
Message-ID: <00e801ce3452$67c501d0$374f0570$@gmail.com> (raw)
In-Reply-To: <CAJTo0LaQ76oZK3PDPnjhgVoQFjMnMkr1tGiVtXJ-U=qfhNg5Pg@mail.gmail.com>
I rebuilt xf86-input-keyboard and xf86-input-mouse (as well as the core-image-sato image), and now the mouse / keyboard works ok in X. Thanks for the assistance.
I checked the Xorg log file, it seems to add the mouse using the mouse_drv.so module, not evdev_drv.so. Do I need to rebuild xf86-input-evdev as well to get the mouse added using evdev? This because I have a custom application that handles the touch screen calibration running on top of X, and itexpects the mouse to be added via evdev.
//Andreas
-----Original Message-----
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: 8. huhtikuuta 2013 13:34
To: Andreas Enbacka
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Problem with mouse and keyboard detection in yocto (core-image-sato on emenlow)
On 8 April 2013 10:50, Andreas Enbacka <aenbacka@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
next prev parent reply other threads:[~2013-04-08 12:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 8:42 Problem with mouse and keyboard detection in yocto (core-image-sato on emenlow) Andreas Enbacka
2013-04-08 9:18 ` Burton, Ross
2013-04-08 9:50 ` Andreas Enbacka
2013-04-08 10:34 ` Burton, Ross
2013-04-08 10:50 ` Andreas Enbacka
2013-04-08 12:12 ` Andreas Enbacka [this message]
2013-04-08 12:19 ` Burton, Ross
2013-04-08 17:44 ` Andreas Enbacka
2013-04-09 10:06 ` Burton, Ross
2013-04-10 6:34 ` Andreas Enbacka
2013-04-10 14:50 ` Bruce Ashfield
2013-04-12 5:58 ` Andreas Enbacka
2013-04-12 10:27 ` Burton, Ross
2013-04-12 12:27 ` Andreas Enbacka
2013-04-12 12:34 ` Bruce Ashfield
2013-04-15 9:27 ` Andreas Enbacka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00e801ce3452$67c501d0$374f0570$@gmail.com' \
--to=aenbacka@gmail.com \
--cc=ross.burton@intel.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.