Skip to content

Commit cbedf1a

Browse files
tuxedo-wsedtor
authored andcommitted
Input: i8042 - add TUXEDO devices to i8042 quirk tables for partial fix
A lot of modern Clevo 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. Setting SERIO_QUIRK_NOMUX or SERIO_QUIRK_RESET_ALWAYS on the Clevo N150CU and the Clevo NHxxRZQ makes the keyboard very laggy for ~5 seconds after boot and sometimes also after resume. However both are required for the keyboard to not fail completely sometimes after boot or resume. Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20230321191619.647911-1-wse@tuxedocomputers.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 754ff50 commit cbedf1a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

drivers/input/serio/i8042-acpipnpio.h

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,13 +1124,41 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
11241124
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
11251125
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
11261126
},
1127+
{
1128+
/*
1129+
* Setting SERIO_QUIRK_NOMUX or SERIO_QUIRK_RESET_ALWAYS makes
1130+
* the keyboard very laggy for ~5 seconds after boot and
1131+
* sometimes also after resume.
1132+
* However both are required for the keyboard to not fail
1133+
* completely sometimes after boot or resume.
1134+
*/
1135+
.matches = {
1136+
DMI_MATCH(DMI_BOARD_NAME, "N150CU"),
1137+
},
1138+
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
1139+
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
1140+
},
11271141
{
11281142
.matches = {
11291143
DMI_MATCH(DMI_BOARD_NAME, "NH5xAx"),
11301144
},
11311145
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
11321146
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
11331147
},
1148+
{
1149+
/*
1150+
* Setting SERIO_QUIRK_NOMUX or SERIO_QUIRK_RESET_ALWAYS makes
1151+
* the keyboard very laggy for ~5 seconds after boot and
1152+
* sometimes also after resume.
1153+
* However both are required for the keyboard to not fail
1154+
* completely sometimes after boot or resume.
1155+
*/
1156+
.matches = {
1157+
DMI_MATCH(DMI_BOARD_NAME, "NHxxRZQ"),
1158+
},
1159+
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
1160+
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
1161+
},
11341162
{
11351163
.matches = {
11361164
DMI_MATCH(DMI_BOARD_NAME, "NL5xRU"),

0 commit comments

Comments
 (0)