Skip to content

Commit 9ed468e

Browse files
tuxedo-wsedtor
authored andcommitted
Input: i8042 - add required quirks for missing old boardnames
Some older Clevo barebones have problems like no or laggy keyboard after resume or boot which can be fixed with the SERIO_QUIRK_FORCENORESTORE quirk. The PB71RD keyboard is sometimes laggy after resume and the PC70DR, PB51RF, P640RE, and PCX0DX_GN20 keyboard is sometimes unresponsive after resume. This quirk fixes that. Cc: stable@vger.kernel.org Signed-off-by: Werner Sembach <wse@tuxedocomputers.com> Link: https://lore.kernel.org/r/20250221230137.70292-2-wse@tuxedocomputers.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 729d163 commit 9ed468e

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

drivers/input/serio/i8042-acpipnpio.h

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,6 +1260,12 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
12601260
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
12611261
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
12621262
},
1263+
{
1264+
.matches = {
1265+
DMI_MATCH(DMI_BOARD_NAME, "P640RE"),
1266+
},
1267+
.driver_data = (void *)(SERIO_QUIRK_FORCENORESTORE)
1268+
},
12631269
{
12641270
/*
12651271
* This is only a partial board_name and might be followed by
@@ -1335,13 +1341,37 @@ static const struct dmi_system_id i8042_dmi_quirk_table[] __initconst = {
13351341
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
13361342
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
13371343
},
1344+
{
1345+
.matches = {
1346+
DMI_MATCH(DMI_BOARD_NAME, "PB51RF"),
1347+
},
1348+
.driver_data = (void *)(SERIO_QUIRK_FORCENORESTORE)
1349+
},
1350+
{
1351+
.matches = {
1352+
DMI_MATCH(DMI_BOARD_NAME, "PB71RD"),
1353+
},
1354+
.driver_data = (void *)(SERIO_QUIRK_FORCENORESTORE)
1355+
},
1356+
{
1357+
.matches = {
1358+
DMI_MATCH(DMI_BOARD_NAME, "PC70DR"),
1359+
},
1360+
.driver_data = (void *)(SERIO_QUIRK_FORCENORESTORE)
1361+
},
13381362
{
13391363
.matches = {
13401364
DMI_MATCH(DMI_BOARD_NAME, "PCX0DX"),
13411365
},
13421366
.driver_data = (void *)(SERIO_QUIRK_NOMUX | SERIO_QUIRK_RESET_ALWAYS |
13431367
SERIO_QUIRK_NOLOOP | SERIO_QUIRK_NOPNP)
13441368
},
1369+
{
1370+
.matches = {
1371+
DMI_MATCH(DMI_BOARD_NAME, "PCX0DX_GN20"),
1372+
},
1373+
.driver_data = (void *)(SERIO_QUIRK_FORCENORESTORE)
1374+
},
13451375
/* See comment on TUXEDO InfinityBook S17 Gen6 / Clevo NS70MU above */
13461376
{
13471377
.matches = {

0 commit comments

Comments
 (0)