From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751919AbdF1Wok (ORCPT ); Wed, 28 Jun 2017 18:44:40 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:56141 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751610AbdF1Woc (ORCPT ); Wed, 28 Jun 2017 18:44:32 -0400 X-Originating-IP: 83.155.44.161 Message-ID: <1498689867.6564.6.camel@hadess.net> Subject: Re: Spurious touchpad events with closed LID From: Bastien Nocera To: Pavel Machek , Pali =?ISO-8859-1?Q?Roh=E1r?= Cc: Dmitry Torokhov , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Date: Thu, 29 Jun 2017 00:44:27 +0200 In-Reply-To: <20170628201530.GB18101@amd> References: <201706261854.53970@pali> <20170626170312.GB4965@dtor-ws> <201706262109.42628@pali> <20170628201530.GB18101@amd> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 (3.24.2-1.fc26) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2017-06-28 at 22:15 +0200, Pavel Machek wrote: > > 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 ;)