Re: Spurious touchpad events with closed LID

From: Bastien Nocera
Date: Wed Jun 28 2017 - 18:44:42 EST


On Wed, 2017-06-28 at 22:15 +0200, Pavel Machek wrote:
>
<snip>
> While policy normally belongs to userspace, I'd argue this is
> workaround for a hardware bug, and in-kernel solution would be
> acceptable.
>
> Anyway, disable attribute would be nice first step.

It's already fixed for those of us on recent distributions. The
"ID_INPUT_TOUCHPAD_INTEGRATION=internal" touchpads will be disabled
when the lid is closed, when libinput is used to process the events.

Usually, non-crappy hardware will do that in firmware, but software is
easier to patch ;)