Input: atkbd - skip deactivate for Lenovo IdeaPad Slim 3 15IWC11
Subsystems (2)
PATCH 1/1 Input: atkbd - skip deactivate for Lenovo IdeaPad Slim 3 15IWC11
From: Martino Papero <[email protected]>
The internal keyboard on the Lenovo IdeaPad Slim 3 15IWC11 (83RR) does not work correctly with the default i8042 settings. Using i8042.nopnp=1 and i8042.dumbkbd=1 restores keyboard input, but prevents the Caps Lock LED from working. Using i8042.nopnp=1 alone does not fix the keyboard.
The laptop works correctly when atkbd_deactivate_fixup is used instead. Add a DMI quirk for the 83RR to enable it.
This was tested without any i8042 command-line parameters. Keyboard input and the Caps Lock LED work correctly, including after suspend and resume and after a cold boot.
Signed-off-by Martino Papero <[email protected]>
Reviewed-by Hans de Goede <[email protected]>
Signed-off-by Dmitry Torokhov <[email protected]>
--- drivers/input/keyboard/atkbd.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/input/keyboard/atkbd.c +8 -0
@@ -1938,6 +1938,14 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = { }, .callback = atkbd_deactivate_fixup, }, + { +/* Lenovo IdeaPad Slim 3 15IWC11 (83RR) */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"LENOVO" ), + DMI_MATCH(DMI_PRODUCT_NAME, "83RR"), + }, + .callback = atkbd_deactivate_fixup, + }, {/* Xiaomi Book Pro 14 (TM2424) */ .matches = {
Signature · 1 line
2.43.0