From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CE390E013DE for ; Mon, 1 Jul 2013 10:06:20 -0700 (PDT) Received: by mail-pd0-f171.google.com with SMTP id y14so2776392pdi.2 for ; Mon, 01 Jul 2013 10:06:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=5QKiiOmrEkDyNgtLKr+iH5h+ue6aC7cUAAfKXOKkHkY=; b=I1J9y7H24uSYoDBZfJ5R1DnS7S7aL9aynCgAdY+7MiuF+T2RDV2/D2cyO/VGOPgpVD y9Q56a4JFSpkoA3TctWtqQ7WY3oUYi5qXybulTbmOLI9m8WyPkxCGlUYwODTQweCtVU9 VTMXQxJkEgqPj5n6R4t2X6QrQ+dDy9zguWZhJLaWc0nhR3fpVuApW7qvbM9wY1Y+0s/2 ywhwThVLphaKdg5vuNJ5+9fjojDyPKuQtCfRnuYGMiBfQPNUxa3nTy5jCVvwHJShmof9 Uwo2aAX0H4FvHYwReCiS6sKrsBI+yOfzf2LauHmStUjTojNjtVJZh2aV8w+UNUFTYG9v pLNQ== X-Received: by 10.68.223.225 with SMTP id qx1mr22106286pbc.157.1372698379923; Mon, 01 Jul 2013 10:06:19 -0700 (PDT) Received: from [192.168.0.55] ([70.96.116.236]) by mx.google.com with ESMTPSA id tq8sm23156763pbc.30.2013.07.01.10.06.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jul 2013 10:06:18 -0700 (PDT) Message-ID: <51D1B707.5050902@boundarydevices.com> Date: Mon, 01 Jul 2013 10:06:15 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Fabio Estevam References: In-Reply-To: X-Gm-Message-State: ALoCoQnoK4VbIhD50ZShR0t9pf+fpxF6xJGCVHaPsFc/jtQze6/tDMOAgp8pwlGc7CXZW05B9BKc Cc: "meta-freescale@yoctoproject.org" , Otavio Salvador Subject: Re: Issue with egalax_ts in linux-boundary 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: Mon, 01 Jul 2013 17:06:20 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks Fabio, On 07/01/2013 09:56 AM, Fabio Estevam wrote: > Hi Erik, > > On Mon, Jul 1, 2013 at 12:53 PM, Erik Botö wrote: >> Hi, >> >> >> >> The problem is that when pressing two fingers on the screen and then when >> you lift one finger only the lifted finger will be reported before sending >> the next SYN_REPORT, instead of also reporting the other present fingers >> before SYN_REPORT. >> >> > > Your proposed fix matches the code from FSL BSP 4.0.0 driver: > > http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/input/touchscreen/egalax_ts.c?h=imx_3.0.35_4.0.0 > > #ifdef CONFIG_TOUCHSCREEN_EGALAX_SINGLE_TOUCH > input_report_abs(input_dev, ABS_X, x); > input_report_abs(input_dev, ABS_Y, y); > input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); > input_report_abs(input_dev, ABS_PRESSURE, 1); > #else Also our kernel tree in branch 'boundary-imx_3.0.35_4.0.0': https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_3.0.35_4.0.0/drivers/input/touchscreen/egalax_ts.c#L142 Regards, Eric