<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Magic Trackpad stopped to work with libinput 1.10.7"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106786#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEEDINFO "
title="NEEDINFO - Magic Trackpad stopped to work with libinput 1.10.7"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106786">bug 106786</a>
from <span class="vcard"><a class="email" href="mailto:mario.diraimondo@gmail.com" title="Mario <mario.diraimondo@gmail.com>"> <span class="fn">Mario</span></a>
</span></b>
<pre>Ok, it looks that the problem is the use of libinput-gestures (that uses
libinput-debug-events to gather events).
Let's see what I discovered step-by-step:
$ evemu-record /dev/input/event23
error: this device is grabbed and I cannot record events
see the evemu-record man page for more information
$ fuser -v /dev/input/event23
USER PID ACCESS COMMAND
/dev/input/event23: mario 1353 F.... libinput-debug-
mario 1389 F.... gnome-shell
$ ps aux | grep libinput
mario 1337 0.1 0.0 41556 11856 ? Ss 11:35 0:00
/usr/bin/python3 /home/mario/.bin/libinput-gestures
mario 1353 0.2 0.0 35736 4252 ? S 11:35 0:00
libinput-debug-events
$ systemctl --user stop libinput-gestures.service
(external trackpad started to work! the internal one of the XPS 13 worked in
any case with any version of libinput)
$ systemctl --user start libinput-gestures.service
(now libinput-gestures gather gestures from both the trackpads)
It looks something changed in libinput and this create badly conflict with the
(weird) method used by libinput-gestures to gather event notifications.
Note the I use libinput-gestures option 'device all' in order to catch events
from multiple devices: including the device attached after service launch.
I think this is the schedule in my system:
- libinput-gestures launch libinput-debug-events;
- the external bluetooth device is later connected.
Is it normal that libinput doesn't make the external device to work if an
instance of libinput-debug-events is running? As proof of this: if after the
previous steps (so with everything working) I switch off the bluetooth
trackpad, wait some seconds and reconnect it: the problem is there again.</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>