Skip to content

Commit e06edf9

Browse files
tuxedo-wsedtor
authored andcommitted
Input: i8042 - add TUXEDO Stellaris 16 Gen5 AMD to i8042 quirk table
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 <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent c472d33 commit e06edf9

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

drivers/input/serio/i8042-acpipnpio.h

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1120,6 +1120,29 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
11201120
},
11211121
.driver_data = (void *)(SERIO_QUIRK_NOLOOP)
11221122
},
1123+
/*
1124+
* Some TongFang barebones have touchpad and/or keyboard issues after
1125+
* suspend fixable with nomux + reset + noloop + nopnp. Luckily, none of
1126+
* them have an external PS/2 port so this can safely be set for all of
1127+
* them.
1128+
* TongFang barebones come with board_vendor and/or system_vendor set to
1129+
* a different value for each individual reseller. The only somewhat
1130+
* universal way to identify them is by board_name.
1131+
*/
1132+
{
1133+
.matches = {
1134+
DMI_MATCH(DMI_BOARD_NAME, "GM6XGxX"),
1135+
},
1136+
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
1137+
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
1138+
},
1139+
{
1140+
.matches = {
1141+
DMI_MATCH(DMI_BOARD_NAME, "GMxXGxX"),
1142+
},
1143+
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
1144+
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
1145+
},
11231146
/*
11241147
* A lot of modern Clevo barebones have touchpad and/or keyboard issues
11251148
* after suspend fixable with nomux + reset + noloop + nopnp. Luckily,

0 commit comments

Comments
 (0)