On 20/05/2026 1:31 am, Stefan Monnier wrote:
I do not see a similar debug parameter for the psmouse module, so I would try libinput tools to get a data point between i8042 and xev.The "delayed" behavior of the button releases is visible in libinput debug-events /dev/input/event4
Perhaps developers of libinput, psmouse, or i8042 may suggest tests for more precise triage of the issue. I hope, it is not related to buffering and with either flushing or listening and proper poll/select invocation.
Have you checked that i8042 debug output is similar when the trackpad works and when it doesn't?
Have you tried to unload the i8042 module? (It might break something in the running system.)

