<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - More than 4 fingers results in "invalid event, no fingers are down""
href="https://bugs.freedesktop.org/show_bug.cgi?id=89800">89800</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>More than 4 fingers results in "invalid event, no fingers are down"
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>killertofu@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>When running the 'event-debug' tool with an Intuos Pro, the message "libinput
error: libinput bug: invalid event, no fingers are down" will appear several
times after placing a fifth finger on the touchpad.
Running the tool with GDB, it appears that the "if we have too many touches"
case inside 'tp_unhover_touches' (evdev-mt-touchpad.c) is satisfied and
subsequently clears out all active touches once the fifth finger goes down.
This is because "nfake_touches" should be zero at this point due to the kernel
switching out BTN_TOOL_QUADTAP for BTN_TOOL_QUINTTAP (which isn't handled by
libinput).
This error can be delayed until 6 fingers are in contact by handling
BTN_TOOL_QUINTTAP, but it isn't really a solution (that's the last *TAP tool
reported by the kernel, and the touchpad can report far more). Libinput needs
to sense when the *TAP tool "overflows" and rely on slot state instead.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>