diff mbox series

Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN

Message ID 20230607173331.851192-1-wse@tuxedocomputers.com (mailing list archive)
State Mainlined
Commit eb09074bdb05ffd6bfe77f8b4a41b76ef78c997b
Headers show
Series Input: i8042 - add quirk for TUXEDO Gemini 17 Gen1/Clevo PD70PN | expand

Commit Message

Werner Sembach June 7, 2023, 5:33 p.m. UTC
The touchpad of this device is both connected via PS/2 and i2c. This causes
strange behavior when both driver fight for control. The easy fix is to
prevent the PS/2 driver from accessing the mouse port as the full feature
set of the touchpad is only supported in the i2c interface anyway.

The strange behavior in this case is, that when an external screen is
connected and the notebook is closed, the pointer on the external screen is
moving to the lower right corner. When the notebook is opened again, this
movement stops, but the touchpad clicks are unresponsive afterwards until
reboot.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: stable@vger.kernel.org
---
 drivers/input/serio/i8042-acpipnpio.h | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Dmitry Torokhov July 12, 2023, 9:05 p.m. UTC | #1
On Wed, Jun 07, 2023 at 07:33:31PM +0200, Werner Sembach wrote:
> The touchpad of this device is both connected via PS/2 and i2c. This causes
> strange behavior when both driver fight for control. The easy fix is to
> prevent the PS/2 driver from accessing the mouse port as the full feature
> set of the touchpad is only supported in the i2c interface anyway.
> 
> The strange behavior in this case is, that when an external screen is
> connected and the notebook is closed, the pointer on the external screen is
> moving to the lower right corner. When the notebook is opened again, this
> movement stops, but the touchpad clicks are unresponsive afterwards until
> reboot.
> 
> Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
> Cc: stable@vger.kernel.org

Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/input/serio/i8042-acpipnpio.h b/drivers/input/serio/i8042-acpipnpio.h
index 028e45bd050bf..1724d6cb8649d 100644
--- a/drivers/input/serio/i8042-acpipnpio.h
+++ b/drivers/input/serio/i8042-acpipnpio.h
@@ -1281,6 +1281,13 @@  static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
 		.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
 					SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
 	},
+	/* See comment on TUXEDO InfinityBook S17 Gen6 / Clevo NS70MU above */
+	{
+		.matches = {
+			DMI_MATCH(DMI_BOARD_NAME, "PD5x_7xPNP_PNR_PNN_PNT"),
+		},
+		.driver_data = (void *)(SERIO_QUIRK_NOAUX)
+	},
 	{
 		.matches = {
 			DMI_MATCH(DMI_BOARD_NAME, "X170SM"),