linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gavin Lambert" <gavinl@compacsort.com>
To: 'Benjamin Tissoires' <benjamin.tissoires@gmail.com>
Cc: linux-input <linux-input@vger.kernel.org>
Subject: RE: [eGalax] no click events with touchscreen
Date: Fri, 9 Jan 2015 12:19:22 +1300	[thread overview]
Message-ID: <000f01d02b99$89843d00$9c8cb700$@compacsort.com> (raw)
In-Reply-To: <CAN+gG=GKpPhXm8HkxC6WAOQ5RY24WpSXUrOyY6xiPzJ6hGL=yw@mail.gmail.com>

On 9 January 2015 11:55, quoth Benjamin Tissoires:
> On Thu, Jan 8, 2015 at 5:20 PM, Gavin Lambert <gavinl@compacsort.com> wrote:
> > On 9 January 2015 04:17, you quoth:
> >> So here, everything seems fine except for the tracking ID and the
> BTN_TOUCH.
> >> The kernel does not sends the touch begin and touch end information,
> >> thus the device is not working :(
> >>
> >> Can you compile and install hid-recorder from
> >> http://bentiss.github.io/hid- replay-docs/ ?
> >> I would need a hid-record of your touchscreen so I can figure out why
> >> the kernel does not handle it properly.
> >
> > Attached.  (Sent off-list to avoid spamming uninterested parties with
> > the file; please feel free to reply on-list if you prefer.)
> >
> > During the recording, I made one touch and release to the centre of the
> screen, waited about three seconds, then did a staggered two-point multitouch
> (touch left, touch right, release left, release right).  Just in case both
> scenarios are useful to you.
> >
> 
> Well, unfortunately, when I first read your bug report, I missed that you are
> using one of the most buggy touchscreen available.
> Egalax still tries to reuse the product id 0001 for *many* different
> touchscreens. Some are multitouch, some are not.
> With all this mess, it is impossible to figure out which way to go and write
> something upstream about it :(

Buggy or not, it seems to be the most common kind of small panel commercially available for the Pi.  Two out of three touchscreens I've tried getting seem to be eGalax ones.

> Anyway, given your hid outputs, if you run the following command before
> plugging your touchscreen (at boot is a good idea), you should be fine:
> # echo 3 0eef 0001 16 > /sys/bus/hid/drivers/hid-multitouch/new_id

I could probably add this to an init script somewhere, but I don't think there's any way I can do this before the touchscreen is physically connected.  Would it be sufficient to put it after mounting sys but before starting udev?

> *BUT* the outputs show only _one_ touch when you said you made 2.

This doesn't really surprise me.  It's a resistive panel, so I was very surprised when it loaded the multitouch driver.  Maybe that's the real problem?



  reply	other threads:[~2015-01-08 23:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08  3:40 [eGalax] no click events with touchscreen Gavin Lambert
2015-01-08 15:16 ` Benjamin Tissoires
     [not found]   ` <000b01d02b91$4303a8f0$c90afad0$@compacsort.com>
2015-01-08 22:54     ` Benjamin Tissoires
2015-01-08 23:19       ` Gavin Lambert [this message]
2015-01-09  0:07         ` Benjamin Tissoires
2015-01-09  2:58           ` Gavin Lambert
2015-01-12 15:51             ` Benjamin Tissoires

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='000f01d02b99$89843d00$9c8cb700$@compacsort.com' \
    --to=gavinl@compacsort.com \
    --cc=benjamin.tissoires@gmail.com \
    --cc=linux-input@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).