Bug 1230446

Summary: trackpad palm detection needs improvement (Cypress APA on Acer c720)
Product: [Fedora] Fedora Reporter: Wade Berrier <wberrier>
Component: libinputAssignee: Peter Hutterer <peter.hutterer>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: marco.laverdiere, parrenin, peter.hutterer, wberrier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 14:46:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
a single palm event
none
multiple palm events
none
ABS_MT_PRESSURE recording none

Description Wade Berrier 2015-06-10 23:27:15 UTC
Created attachment 1037454 [details]
a single palm event

Description of problem: the tarckpad picks up events while trying to type, often introducing errors in the text, or by introducing spurious click events.

Version-Release number of selected component (if applicable): 0.17.0-1.fc22

How reproducible:

Happens very often.

Steps to Reproduce:

This can be reproduced a couple of ways:

1. do a lot of typing and the cursor will end up in a different spot messing up the typing

2. or, tap the trackpad with your palm and notice the cursor moves, often involving a click

Actual results:

Pointer moves all over, clicks are performed.


Expected results:

Spurious pointer movement or clicks shouldn't be generated.

Comment 1 Wade Berrier 2015-06-10 23:28:36 UTC
Created attachment 1037455 [details]
multiple palm events

Comment 2 Peter Hutterer 2015-06-26 06:41:42 UTC
run an evemu-record | grep ABS_MT_PRESSURE please and try to get a feel for the pressure range on a touchpad vs the pressure range on a normal finger. The second recording has a few that max out to 255, but it'd be good to know what the pressure is for a normal finger event.

Comment 3 Wade Berrier 2015-06-26 21:06:00 UTC
Created attachment 1043711 [details]
ABS_MT_PRESSURE recording

If I'm understanding you correctly, here's a recording of just pressure doing normal finger movement.

Recorded are:

moving the pointer
soft clicks and double clicks
hard clicks and double clicks
two finger scrolling (vertical and horizontal)

As a side note: I was surprised to see that pressure for palm touches was so much higher.  Is that normal for trackpads?  This is probably what you're getting at, but at least for this trackpad, it seems that filtering based on pressure alone would be enough to detect palm events.

Comment 4 Peter Hutterer 2015-06-28 22:31:13 UTC
pressure on touchpads is really the size of surface area and based on the premise that by pushing down on a touchpad, your finger compresses and thus widens. that larger surface area is touchpads then export as pressure. and that's why thumbs and palms can be measured by looking at pressure.

it looks like this is in line with recordings from other touchpads I've seen where normal finger press doesn't go near/above the pressure 100 mark. so we should be able to use that (eventually :)

Comment 5 mlaverdiere 2015-07-29 14:19:19 UTC
I don't know if it's related or not with palm detection, but in my case, I do observe that since F22, my trackpad behaviour is weird/inconsistent, especially with operations like drag&drop, selections, etc.  It seems that the touchpad is really capricious on where/how the finger touches the pad surface.  The same hardware under others OS (Ubuntu or Windows) or under other desktop environment (KDE) works perfectly.

Comment 6 Peter Hutterer 2015-07-30 22:19:59 UTC
mlaverdiere: do you have the same laptop model? If not, please file a separate bug so it doesn't get overlooked. thanks.
http://wayland.freedesktop.org/libinput/doc/latest/reporting_bugs.html has a list of things required to debug issues with touchpads

Comment 7 Fedora End Of Life 2016-07-19 14:46:02 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.