From nobody Thu Sep 11 02:00:19 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A723C4167B for ; Tue, 5 Dec 2023 16:36:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232113AbjLEQgM (ORCPT ); Tue, 5 Dec 2023 11:36:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231847AbjLEQgH (ORCPT ); Tue, 5 Dec 2023 11:36:07 -0500 Received: from mail.tuxedocomputers.com (mail.tuxedocomputers.com [157.90.84.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E4F41A5; Tue, 5 Dec 2023 08:36:11 -0800 (PST) Received: from wse.fritz.box (p5de457e6.dip0.t-ipconnect.de [93.228.87.230]) (Authenticated sender: wse@tuxedocomputers.com) by mail.tuxedocomputers.com (Postfix) with ESMTPA id 183982FC01FB; Tue, 5 Dec 2023 17:36:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxedocomputers.com; s=default; t=1701794170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=duNfayjenqLNWkN6bIec4wGX4k/FLSXlUkb3cvrjFeA=; b=E6rvuaVI0DNIKRMQtVOC0nVwH1xFarkk4OqquXfSVKiRF1SJu4RJsajZJkkQmSThZoDQDL 4SAmpmwEFXy7lrcO53w9EM6XIoPYFi3zLMpt+NbaZoT/CxqZCJtPUQnTeEy6UNSJk142a3 R31+8D+OCI0+gfXy281IGriyPR7St1o= Authentication-Results: mail.tuxedocomputers.com; auth=pass smtp.auth=wse@tuxedocomputers.com smtp.mailfrom=wse@tuxedocomputers.com From: Werner Sembach To: Dmitry Torokhov Cc: Werner Sembach , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] Fix strange behavior of touchpad on Clevo NS70PU Date: Tue, 5 Dec 2023 17:36:01 +0100 Message-Id: <20231205163602.16106-1-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" When closing the laptop lid with an external screen connected, the mouse pointer has a constant movement to the lower right corner. Opening the lid again stops this movement, but after that the touchpad does no longer register clicks. The touchpad is connected both via i2c-hid and PS/2, the predecessor of this device (NS70MU) has the same layout in this regard and also strange behaviour caused by the psmouse and the i2c-hid driver fighting over touchpad control. This fix is reusing the same workaround by just disabling the PS/2 aux port, that is only used by the touchpad, to give the i2c-hid driver the lone control over the touchpad. v2: Rebased on current master Signed-off-by: Werner Sembach Cc: stable@vger.kernel.org --- drivers/input/serio/i8042-acpipnpio.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8= 042-acpipnpio.h index 9c39553d30fa2..b31d3285bea69 100644 --- a/drivers/input/serio/i8042-acpipnpio.h +++ b/drivers/input/serio/i8042-acpipnpio.h @@ -1200,6 +1200,12 @@ static const struct dmi_system_id i8042_dmi_quirk_ta= ble[] __initconst =3D { SERIO_QUIRK_RESET_ALWAYS | SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP) }, + { + .matches =3D { + DMI_MATCH(DMI_BOARD_NAME, "NS5x_7xPU"), + }, + .driver_data =3D (void *)(SERIO_QUIRK_NOAUX) + }, { .matches =3D { DMI_MATCH(DMI_BOARD_NAME, "NJ50_70CU"), --=20 2.34.1