[Wayland-bugs] [Bug 106786] Magic Trackpad stopped to work with libinput 1.10.7
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jun 4 09:50:13 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=106786
--- Comment #5 from Mario <mario.diraimondo at gmail.com> ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180604/5780ec1a/attachment-0001.html>
More information about the wayland-bugs
mailing list