Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp720340pxb; Fri, 14 Jan 2022 14:59:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/eMwRwZLIaMCQBpMKH1fsfVdV4RAwIn1Dke221mTXOZX6kLv4XcFiLzDC9WS+2DZ/sCwA X-Received: by 2002:a17:907:6d9f:: with SMTP id sb31mr8692414ejc.86.1642201146560; Fri, 14 Jan 2022 14:59:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642201146; cv=none; d=google.com; s=arc-20160816; b=bfh1x26IiYLvKXdFXccUPbwyU3wFFhAGPaeZxrK1zvQUGLF43HkSOAEzxcF03wsFBz FM34bbIBHx2op/r2dO+Jl79X8JFd0dVXLP/O+DAnR1v8GIc6xB6xwbt4r3wjGqVWBfN1 ECzLzLmfuYs/trPPdAL1NPYmSsUaMLs6toyqtE9UnftQgw1Rdsoosd7F+WicjNDsXTme 6o2UdZkd3L/89zVqoKoWM7ZS1Q4ASyGxXEf2DWFSiAchMWJKYvUBS1dj9Xcnc7VFL9rt VGSC06WGwSKSw32YXNJz8hhR+rEQE3x7ds+OuKK7sZ3vzeH4BWfc2wY6h4Mu7+i3Pp0z yigg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:references:to :from:subject; bh=SOiZ1+ZbItnAuU/L7mOzoqWFVANwHhT7SEBMcdX+GYU=; b=HWNqZMhtzeh1JbqIpIWZgCCrwwH3vThqDiZX2wvbrKC6ZXbQcc4r+mdCpEH8vQq9C8 mXGJvmCnCjBzRFMaMoZxhCX2A0EMpqtlMSoosKVdhs4vI8Z1tNevv1zsrL6LtSeG2pz6 BS+ANT6S48t9AejtIEexwo8EIAwkiHLClc2eoPpTZS1zJLUzgyzQy4N1aAhkNOhHCxhU 9ENLXO5hmaI4oz7DzPqilK9z8uFSOXQkYe7WBkEsljjatfsNJkQNb1gHcykgUYVubete LJf9XGel3qwi+yLr9jB7OdRWFA9rRk1NqAh+6sVSr1OPfETE7wCjxTH+1iapIFZLgmp4 7KfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hw17si3890040ejc.535.2022.01.14.14.58.42; Fri, 14 Jan 2022 14:59:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243815AbiANRQA (ORCPT + 99 others); Fri, 14 Jan 2022 12:16:00 -0500 Received: from srv6.fidu.org ([159.69.62.71]:47320 "EHLO srv6.fidu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235457AbiANRP7 (ORCPT ); Fri, 14 Jan 2022 12:15:59 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by srv6.fidu.org (Postfix) with ESMTP id 480CDC800BB; Fri, 14 Jan 2022 18:15:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at srv6.fidu.org Received: from srv6.fidu.org ([127.0.0.1]) by localhost (srv6.fidu.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id wXmD50gJP-TB; Fri, 14 Jan 2022 18:15:57 +0100 (CET) Received: from [192.168.178.20] (host-212-18-30-247.customer.m-online.net [212.18.30.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: wse@tuxedocomputers.com) by srv6.fidu.org (Postfix) with ESMTPSA id CAA8BC80094; Fri, 14 Jan 2022 18:15:56 +0100 (CET) Subject: Re: [PATCH][RESEND] input/i8042: Add quirk table to disable aux port on Clevo NS70MU From: Werner Sembach To: dmitry.torokhov@gmail.com, tiwai@suse.com, mpdesouza@suse.com, arnd@arndb.de, samuel@cavoj.net, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220114171206.682113-1-wse@tuxedocomputers.com> Message-ID: <28911efd-9e6d-741d-5ba9-a07efc6e9fca@tuxedocomputers.com> Date: Fri, 14 Jan 2022 18:15:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20220114171206.682113-1-wse@tuxedocomputers.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: de-DE Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 14.01.22 um 18:12 schrieb Werner Sembach: > At least one modern Clevo barebone has the touchpad connected both via PS/2 > and i2c interface. This causes a race condition between the psmouse and > i2c-hid driver. Since the full capability if the touchpad is available via > the i2c interface and the device has no external PS/2 port, it is save to > just ignore all ps2 mouses here to avoid this issue. > > The know affected device is the Clevo NS70MU. > > This patch add a new i8042_dmi_noaux_table with the dmi strings of the > affected device of different revisions. The table is then evaluated like > the other quirk tables in the i8042 driver. > > Signed-off-by: Werner Sembach Sorry for the spam, forgot to add CC stable, so I resend and forget to add CC stable again .. Third time's the charm xD > --- > drivers/input/serio/i8042-x86ia64io.h | 42 +++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/drivers/input/serio/i8042-x86ia64io.h b/drivers/input/serio/i8042-x86ia64io.h > index 148a7c5fd0e2..48ad6247a1a0 100644 > --- a/drivers/input/serio/i8042-x86ia64io.h > +++ b/drivers/input/serio/i8042-x86ia64io.h > @@ -1013,6 +1013,45 @@ static const struct dmi_system_id i8042_dmi_probe_defer_table[] __initconst = { > { } > }; > > +static const struct dmi_system_id i8042_dmi_noaux_table[] __initconst = { > + /* > + * At least one modern Clevo barebone has the touchpad connected > + * both via PS/2 and i2c interface. This causes a race condition > + * between the psmouse and i2c-hid driver. Since the full > + * capability if the touchpad is available via the i2c interface > + * and the device has no external PS/2 port, it is save to just > + * ignore all ps2 mouses here to avoid this issue. > + * The know affected device is the > + * TUXEDO InfinityBook S17 Gen6 / Clevo NS70MU which comes with > + * one of the 4 different dmi string combinations below. > + */ > + { > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"), > + DMI_MATCH(DMI_BOARD_NAME, "NS50MU"), > + }, > + }, > + { > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "TUXEDO"), > + DMI_MATCH(DMI_BOARD_NAME, "NS50_70MU"), > + }, > + }, > + { > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Notebook"), > + DMI_MATCH(DMI_BOARD_NAME, "NS50MU"), > + }, > + }, > + { > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Notebook"), > + DMI_MATCH(DMI_BOARD_NAME, "NS50_70MU"), > + }, > + }, > + { } > +}; > + > #endif /* CONFIG_X86 */ > > #ifdef CONFIG_PNP > @@ -1336,6 +1375,9 @@ static int __init i8042_platform_init(void) > if (dmi_check_system(i8042_dmi_probe_defer_table)) > i8042_probe_defer = true; > > + if (dmi_check_system(i8042_dmi_noaux_table)) > + i8042_noaux = true; > + > /* > * A20 was already enabled during early kernel init. But some buggy > * BIOSes (in MSI Laptops) require A20 to be enabled using 8042 to