<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Freescale Sabre Smart touch screen does not work with libinput+weston"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89211#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Freescale Sabre Smart touch screen does not work with libinput+weston"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89211">bug 89211</a>
from <span class="vcard"><a class="email" href="mailto:drf54321@gmail.com" title="Dario Freddi <drf54321@gmail.com>"> <span class="fn">Dario Freddi</span></a>
</span></b>
<pre>Further investigation, I found out the failure happens when checking for mtdev
slots.
if (device->mtdev->caps.slot.minimum < 0 || num_slots <= 0)
caps.slot.minimum and num_slots are both 0.
Running evemu-record with multitouch events, I get this for the first finger:
E: 9.378526 0003 0039 0000 # EV_ABS / ABS_MT_TRACKING_ID 0
E: 9.378526 0003 0030 0001 # EV_ABS / ABS_MT_TOUCH_MAJOR 1
E: 9.378526 0003 0035 12176 # EV_ABS / ABS_MT_POSITION_X 12176
E: 9.378526 0003 0036 4416 # EV_ABS / ABS_MT_POSITION_Y 4416
E: 9.378526 0000 0002 0000 # ++++++++++++ SYN_MT_REPORT (0) ++++++++++
E: 9.378526 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
And this for the second finger:
E: 40.668868 0003 0039 0001 # EV_ABS / ABS_MT_TRACKING_ID 1
E: 40.668868 0003 0030 0001 # EV_ABS / ABS_MT_TOUCH_MAJOR 1
E: 40.668868 0003 0035 10944 # EV_ABS / ABS_MT_POSITION_X 10944
E: 40.668868 0003 0036 5824 # EV_ABS / ABS_MT_POSITION_Y 5824
E: 40.668868 0000 0002 0000 # ++++++++++++ SYN_MT_REPORT (0) ++++++++++
E: 40.668868 0000 0000 0000 # ------------ SYN_REPORT (0) ----------
mtdev-test:
# mtdev-test /dev/input/event0
supported mt events:
ABS_MT_TOUCH_MAJOR
ABS_MT_WIDTH_MAJOR
ABS_MT_POSITION_X
ABS_MT_POSITION_Y
ABS_MT_TRACKING_ID
014bacc41bed 00 3 0030 1
014bacc41bed 00 3 0035 12176
014bacc41bed 00 3 0036 13632
014bacc41bed 00 3 0039 0
014bacc41bed 00 0 0000 0
014bacc41cea 01 3 002f 1
014bacc41cea 01 3 0030 1
014bacc41cea 01 3 0035 10080
014bacc41cea 01 3 0036 7488
014bacc41cea 01 3 0039 1
014bacc41cea 01 0 0000 0
The two events are with two different fingers.</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>