From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-da0-f43.google.com (mail-da0-f43.google.com [209.85.210.43]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7D270E014AD for ; Mon, 8 Apr 2013 05:13:07 -0700 (PDT) Received: by mail-da0-f43.google.com with SMTP id u36so2614429dak.16 for ; Mon, 08 Apr 2013 05:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; bh=EVBj5sMWVwibP0MdT6OsXiwA1QOUKvbGo8SKTqwz854=; b=Q8aq5wPDJpNlhc4ZtHrH60gX8zGyS++IhtMNXDb8AbT/p2dFgFo0c9/qsaEk7hAaEU /x7R1yczG97f2RatvzCUhB9rAX8EVAnhQWSAO8QT9Fthdvkk0+cgUs0E5cxc6YFIu1I6 Pq+HM6NZSbdlMUrh5kBbwFn05X/QFH3BmOF85zeBzwZasffbzHln4wJIHocu2umJxCyn dgxYdxM9MZq8jWXtIMRihvh6KVFbgcT4Ba62aiCo+6MRmYbp87moJHlr4Jih5ObC+VRi wKo1A1/1olC3z7+uxpl93D7vK7PjjuI1rG5hJgTNfOz/YA8foTAcr+fTewTbu9FTcJlt 6fIw== X-Received: by 10.67.1.97 with SMTP id bf1mr36570471pad.118.1365423186478; Mon, 08 Apr 2013 05:13:06 -0700 (PDT) Received: from LAPTOP (mail.embedo.fi. [194.100.97.18]) by mx.google.com with ESMTPS id pa2sm38328060pac.9.2013.04.08.05.13.03 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 08 Apr 2013 05:13:05 -0700 (PDT) From: "Andreas Enbacka" To: "'Burton, Ross'" References: <003701ce3434$f487d750$dd9785f0$@gmail.com> <009101ce343e$8db88560$a9299020$@gmail.com> In-Reply-To: Date: Mon, 8 Apr 2013 15:12:51 +0300 Message-ID: <00e801ce3452$67c501d0$374f0570$@gmail.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQH944JhdSdZ2SxfUz8SRR72F7dePwGwEU34AgDMcSEB8hSHPJg/xS1g Cc: yocto@yoctoproject.org Subject: Re: Problem with mouse and keyboard detection in yocto (core-image-sato on emenlow) X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Apr 2013 12:13:07 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Language: fi 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.=20 //Andreas -----Original Message----- From: Burton, Ross [mailto:ross.burton@intel.com]=20 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 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=3D"X.Org Foundation" [3901748.208] compiled for 1.13.1, module version =3D 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 (>=3D 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