← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 873482] Re: elantech: Touchpad always reports 3 finger tap as 1 finger tap

 

As far as I can tell from
http://pkgs.fedoraproject.org/gitweb/?p=xorg-x11-drv-synaptics.git,
Fedora just ships the upstream tarball, so it doesn't have
debian/patches/120_active_touches_num_fingers.patch, which is what is
causing the issue.

I did have a thought though. If I understand the patch correctly, it
expects to have a pair of touch coordinates for each finger, and then
only increments active_touches if they fall in the active region of the
touchpad. Since the elantech touchpads only report a single pair of
coordinates for three finger taps, the maximum for active_touches is
only 1.

My thought was to keep track of how many pairs of coordinates were
received, both in active and inactive regions, and then do a sort of
sanity check before using the active_touches data. If the number of
pairs received is 1 when we receive a SYN_REPORT, but the kernel didn't
send a single tap event, then something is wrong, and we probably should
just go with what the kernel sent us. To keep track of the pairs of
coordinates, I've been using ABS_MT_TRACKING_ID, and incrementing the
number of pairs when it is not -1, decrementing otherwise.

This fixes the issue for me (triple taps work again), but it is really
more of a rough idea at this point, since I am not very familiar with
the synaptics xorg driver.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xserver-xorg-input-synaptics in Ubuntu.
https://bugs.launchpad.net/bugs/873482

Title:
  elantech: Touchpad always reports 3 finger tap as 1 finger tap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-synaptics/+bug/873482/+subscriptions