]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table
authorWerner Sembach <wse@tuxedocomputers.com>
Tue, 10 Sep 2024 09:40:08 +0000 (11:40 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 14 Sep 2024 06:20:18 +0000 (23:20 -0700)
The Gen6 devices have the same problem and the same Solution as the Gen5
ones.

Some TongFang barebones have touchpad and/or keyboard issues after
suspend, fixable with nomux + reset + noloop + nopnp. Luckily, none of
them have an external PS/2 port so this can safely be set for all of
them.

I'm not entirely sure if every device listed really needs all four quirks,
but after testing and production use, no negative effects could be
observed when setting all four.

Signed-off-by: Werner Sembach <wse@tuxedocomputers.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20240910094008.1601230-3-wse@tuxedocomputers.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/i8042-acpipnpio.h

index d16072b82d95798dceb54565ce8cbfc31928385a..34d1f07ea4c30470b9bdfb8c9a0615cf5a3d5675 100644 (file)
@@ -1150,6 +1150,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, "GMxHGxx"),
+               },
+               .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 nomux + reset + noloop + nopnp. Luckily,