From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 87FCBE00734 for ; Mon, 24 Jun 2013 18:58:19 -0700 (PDT) Received: by mail-la0-f50.google.com with SMTP id dy20so11224610lab.37 for ; Mon, 24 Jun 2013 18:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=GwRamGty6T2F+FQaIv38XTTmJLhbjyQTBKkjYMsvx9A=; b=NvM57xOqwvyffLOSggSOXbtpXfCo9y2JY9tNxriqIzuM9NHe965Aqj8PLn4WsrtPLP +YEqmGIXPSQC3hAYik95TUZIINKC00h9Xf8IVN8m7fEY4EK99iXT88vflzmd5Y01P8en BSuhugvIRTV4Hj1apGcVpOV6AHE748oqKXUqG+oEZitgN34FL1QAoZNZWp/Q2pYGKE4X y1G+LaFC1M/7GYqWX65MstpmXJip0Zuz88nx9PSlYWEnzSYI3vjdPkipmOU7Qvl635hq 50NTo3rpyqETCbsE4T/jLLLwZNsOU3OszCaTawkUhdBU87SHTUDdOAl7FzBMBvLUi1s6 u47g== X-Received: by 10.152.9.102 with SMTP id y6mr12747021laa.17.1372125498173; Mon, 24 Jun 2013 18:58:18 -0700 (PDT) Received: from [192.168.10.103] ([88.210.25.237]) by mx.google.com with ESMTPSA id g7sm7701977lae.6.2013.06.24.18.58.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Jun 2013 18:58:16 -0700 (PDT) Message-ID: <51C8F937.4030903@gmail.com> Date: Tue, 25 Jun 2013 05:58:15 +0400 From: Alexey Mednyy User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org X-Enigmail-Version: 1.5.1 Subject: tslib in fsl-image-gui X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jun 2013 01:58:23 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello all, I figured out that mxc_ts driver works bad with X evtest, always returns bad values. On ubuntu images I always got touchscreen to work with tslib. my MACHINE ??= 'imx53qsb' I'm using my custom 2.6.35-maintain kernel from freescale git. On Yocto if I run ts_calibrate util I've got: "tslib: Selected device uses a different version of the event protocol than tslib was compiled for" I dive into tslib sources and found this: if (version < EV_VERSION) { fprintf(stderr, "tslib: Selected device uses a different version of the event protocol than tslib was compiled for\n"); return -1; } EV_VERSION defined in input.h, so looks like tslib compiled with wrong kernel headers. For now I'm not familiar with all Yocto stuff so I just tried to append this to local.conf: PREFERRED_PROVIDER_virtual/kernel = "linux-imx" PREFERRED_VERSION_linux-imx = "2.6.35.3" but it didn't help. Any variants how to get tslib to work on fsl-image-gui?