All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Nelson <eric.nelson@boundarydevices.com>
To: "Erik Botö" <erik.boto@pelagicore.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: [linux-boundary][PATCHv2] egalax_ts: Always report all touch points before input_sync()
Date: Wed, 03 Jul 2013 11:53:53 -0700	[thread overview]
Message-ID: <51D47341.40206@boundarydevices.com> (raw)
In-Reply-To: <1372860715-22416-1-git-send-email-erik.boto@pelagicore.com>

Hi Erik,

Sorry for the delay, but I finally got around to checking this patch.

On 07/03/2013 07:11 AM, Erik Botö wrote:
> The previous behavior of the driver did not work properly with Qt5
> QtQuick multi touch-point gestures, due to how touch-points are
> reported when removing a touch-point. My interpretation of the
> available documentation [1] was that the driver should report all
> touch-points between SYN_REPORTs, but it is not explicitly stated so.
> I've found another mail-thread [2] where the creator of the protocol
> states:
>
> "The protocol defines a generic way of sending a variable amount of
> contacts. The contact count is obtained by counting the number of
> non-empty finger packets between SYN_REPORT events."-Henrik Rydberg
>
> I think this verifies my assumption that all touch-points should be
> reported between SYN_REPORTs, otherwise it can not be used to obtain
> the count.
>

Your assumptions are correct, and if I read things correctly, they're
already fixed, but in a different source tree...

I'm guessing that someone forgot to mention that there are **two**
primary kernel trees for i.MX. Android and not-Android.

The Android kernel seems to have this fixed in a different way,
by doing some additional book-keeping of current touches:
	http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/drivers/input/touchscreen/egalax_ts.c?id=3b9608406bb699de5ff02760c745e62212b4c280

In Freescale's repository, the current Android stuff is in a tag
(jb4.2.2_1.0.0-ga) instead of a branch, so it's a bit difficult
to navigate through the web interface:

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tag/?id=jb4.2.2_1.0.0-ga

Hey Freescalers, can we get a head nod that we can consolidate
these? I think all that's needed is to add the SINGLE_TOUCH stuff
into the Android branch.

Erik, can you try out the Android version and see if it works for
you?

Please advise,


Eric



  parent reply	other threads:[~2013-07-03 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 14:11 [linux-boundary][PATCHv2] egalax_ts: Always report all touch points before input_sync() Erik Botö
2013-07-03 15:11 ` Otavio Salvador
2013-07-03 18:53 ` Eric Nelson [this message]
2013-07-05  6:18   ` Erik Botö
2013-07-06  1:07     ` Eric Nelson

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=51D47341.40206@boundarydevices.com \
    --to=eric.nelson@boundarydevices.com \
    --cc=erik.boto@pelagicore.com \
    --cc=meta-freescale@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.