From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id E3B2AE00B4C; Mon, 16 Jun 2014 01:10:17 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (koansoftware[at]gmail.com) * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.52 listed in list.dnswl.org] Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B409CE00AEE for ; Mon, 16 Jun 2014 01:10:13 -0700 (PDT) Received: by mail-wg0-f52.google.com with SMTP id b13so5073166wgh.23 for ; Mon, 16 Jun 2014 01:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=agB5Pfe5f9TVZxXNKs0RlRvn4egwZ1w9xxDsShSSKB8=; b=KLAPPYOdUNyK6H1y2fobjNIYCHkMw60t9y4GaidX2EC/j9UnHs9aYaXsmJnlTRWlLn TPL+vWGs9b7YF1E5hiuUJs2le0RHSDnYpGkzVU0CDG9eD7gj56yLwSnqGJldxGVUAdcc GpqhP6+K6YHVBlWZXF4ESzVjpf5rasn3dxuNS47WqACitfTcXoX7DIjzkILERn8GvPvu yhZ2rzCFzvCcsyV/qsFBSPv6owzc8hzXO37ayzEsAeEK7IMMtdcqAymU9eaQSbHNV0pc NsAvxJjXib9OH0s5oKFKGofhrZm84sY2yM8bzcECo4u2I2CIvD/fd4Rg7LUGi0wuNMau 53jg== X-Received: by 10.180.24.2 with SMTP id q2mr25212297wif.22.1402906213059; Mon, 16 Jun 2014 01:10:13 -0700 (PDT) Received: from [192.168.0.5] (host56-7-static.30-87-b.business.telecomitalia.it. [87.30.7.56]) by mx.google.com with ESMTPSA id wk8sm17567129wjb.22.2014.06.16.01.10.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Jun 2014 01:10:11 -0700 (PDT) Message-ID: <539EA661.2020008@gmail.com> Date: Mon, 16 Jun 2014 10:10:09 +0200 From: Marco User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" References: <5399BAAF.4040200@gmail.com> In-Reply-To: <5399BAAF.4040200@gmail.com> Subject: Re: tslib not working with daisy X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: koansoftware@gmail.com 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: Mon, 16 Jun 2014 08:10:18 -0000 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Il 12/06/2014 16:35, Marco ha scritto: > Note: This thread was "[meta-freescale] tslib calibration issue" > > Hi > I am building minimal-image for imx6dlsabresd. > > Build Configuration: > BB_VERSION = "1.22.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "Ubuntu-12.04" > TARGET_SYS = "arm-poky-linux-gnueabi" > MACHINE = "imx6dlsabresd" > DISTRO = "poky" > DISTRO_VERSION = "1.6" > TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9" > TARGET_FPU = "vfp-neon" > meta > meta-yocto > meta-yocto-bsp = "daisy:62b1fef7875a6f9c55344fa6bcc7d4b6672eac1f" > meta-oe = "daisy:dca466c074c9a35bc0133e7e0d65cca0731e2acf" > meta-fsl-arm = "daisy:f5bf277a5a5fba2c3b64ed7d2dbec1903d96386b" > meta-fsl-demos = "daisy:27fdb2f2642ecd55d5633bde880dd4c37acd0d42" > > When I used branch dora the tslib and ts_calibrate worked. > Now using daisy ts_calibrate doesn't work, ts_print doesn't work, only > ts_print_raw is working. > It has set by default TSLIB_TSDEVICE=/dev/input/touchscreen0 > > I added some debug information into tslib and discovered that the > pressure signal is missing so probably the problem is the kernel > settings (maybe a misconfiguration in DT). > > root@imx6dlsabresd:~# ts_print_raw > 1402072658.126525: 20368 15584 0 > 1402072658.137927: 20368 15584 0 > 1402072658.149310: 20368 15584 0 > > > root@imx6dlsabresd:~# ts_print > LINEAR ts_input_read > RAW ts_input_read > RAW---------------------> 21360 22528 0 1402072702.766665 > LINEAR ts_input_read > RAW ts_input_read > RAW---------------------> 21360 22528 0 1402072702.778067 > LINEAR ts_input_read > RAW ts_input_read > RAW---------------------> 21360 22528 0 1402072702.789462 > > > What have you changed in daisy or linux-3.10.17 that broke the touchscreen? > Anybody tested the new image with a imx6dlsabresd? > What do you think? > > TIA More details root@imx6dlsabresd# evtest /dev/input/touchscreen0 Input driver version is 1.0.1 Input device ID: bus 0x18 vendor 0xeef product 0x20 version 0x1 Input device name: "eGalax Touch Screen" Supported events: Event type 0 (Sync) Event type 1 (Key) Event code 330 (Touch) Event type 3 (Absolute) Event code 0 (X) Value 0 Min 0 Max 32767 Event code 1 (Y) Value 0 Min 0 Max 32767 Event code 24 (Pressure) Value 0 Min 0 Max 1 Event code 48 (Touch Major) Value 0 Min 0 Max 255 Event code 50 (Width Major) Value 0 Min 0 Max 255 Event code 53 (Position X) Value 0 Min 0 Max 32767 Event code 54 (Position Y) Value 0 Min 0 Max 32767 Event code 57 (Tracking ID) Value 0 Min 0 Max 5 Testing ... (interrupt to exit) Event: time 1402822407.489433, type 3 (Absolute), code 57 (Tracking ID), value 0 Event: time 1402822407.489433, type 3 (Absolute), code 48 (Touch Major), value 1 Event: time 1402822407.489433, type 3 (Absolute), code 53 (Position X), value 20704 Event: time 1402822407.489433, type 3 (Absolute), code 54 (Position Y), value 19408 Event: time 1402822407.489433, -------------- Config Sync ------------ Event: time 1402822407.489433, -------------- Report Sync ------------ Event: time 1402822407.500802, type 3 (Absolute), code 57 (Tracking ID), value 0 Event: time 1402822407.500802, type 3 (Absolute), code 48 (Touch Major), value 1 Event: time 1402822407.500802, type 3 (Absolute), code 53 (Position X), value 20704 Event: time 1402822407.500802, type 3 (Absolute), code 54 (Position Y), value 19408 Event: time 1402822407.500802, -------------- Config Sync ------------ Event: time 1402822407.500802, -------------- Report Sync ------------ Event: time 1402822407.512211, type 3 (Absolute), code 57 (Tracking ID), value 0 Event: time 1402822407.512211, type 3 (Absolute), code 48 (Touch Major), value 1 Event: time 1402822407.512211, type 3 (Absolute), code 53 (Position X), value 20704 Event: time 1402822407.512211, type 3 (Absolute), code 54 (Position Y), value 19408 Event: time 1402822407.512211, -------------- Config Sync ------------ Event: time 1402822407.512211, -------------- Report Sync ------------ Event: time 1402822407.539138, type 3 (Absolute), code 57 (Tracking ID), value 0 Event: time 1402822407.539138, type 3 (Absolute), code 48 (Touch Major), value 1 Event: time 1402822407.539138, type 3 (Absolute), code 53 (Position X), value 20672 Event: time 1402822407.539138, type 3 (Absolute), code 54 (Position Y), value 19520 Event: time 1402822407.539138, -------------- Config Sync ------------ Event: time 1402822407.539138, -------------- Report Sync ------------ Event: time 1402822407.540674, type 3 (Absolute), code 57 (Tracking ID), value 0 Event: time 1402822407.540674, type 3 (Absolute), code 48 (Touch Major), value 0 Event: time 1402822407.540674, -------------- Config Sync ------------ Event: time 1402822407.540674, -------------- Report Sync ------------ Any clue? -- Marco