]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Input: i8042 - add quirks for MECHREVO Wujie 15X Pro
authorgongqi <550230171hxy@gmail.com>
Thu, 22 Jan 2026 15:54:59 +0000 (23:54 +0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 25 Jan 2026 05:52:03 +0000 (21:52 -0800)
The MECHREVO Wujie 15X Pro requires several i8042 quirks to function
correctly. Specifically, NOMUX, RESET_ALWAYS, NOLOOP, and NOPNP are
needed to ensure the keyboard and touchpad work reliably.

Signed-off-by: gongqi <550230171hxy@gmail.com>
Link: https://patch.msgid.link/20260122155501.376199-3-550230171hxy@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-acpipnpio.h

index a06dd9740d698598a9fd513d84f440c93e4ebfa8..d2cf940b105a690c7292254bddb85b4f2b3228fa 100644 (file)
@@ -1187,6 +1187,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)
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_NAME, "WUJIE Series-X5SP4NAG"),
+               },
+               .driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
+                                       SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
+       },
        /*
         * A lot of modern Clevo barebones have touchpad and/or keyboard issues
         * after suspend fixable with the forcenorestore quirk.