Input: atkbd - skip deactivate for Lenovo IdeaPad Slim 3 15IWC11 (83WA)
Subsystems (2)
PATCH 1/1 Input: atkbd - skip deactivate for Lenovo IdeaPad Slim 3 15IWC11 (83WA)
The Lenovo IdeaPad Slim 3 15IWC11 (DMI code 83WA) requires skipping keyboard deactivation in atkbd, similar to the existing "83RR" variant, otherwise the internal keyboard won't work unless the i8042.dumbkbd=1 option is passed.
Added a DMI quirk for the "83WA" variant using atkbd_deactivate_fixup. Tested on the hardware without i8042.dumbkbd=1.
Fixes typing and keyboard LEDs even after suspend/resume.
--- drivers/input/keyboard/atkbd.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/input/keyboard/atkbd.c +8 -0
@@ -1943,6 +1943,14 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = { }, .callback = atkbd_deactivate_fixup, }, + { +/* Lenovo IdeaPad Slim 3 15IWC11 (83WA) */ + .matches = { +DMI_MATCH (DMI_SYS_VENDOR ,"LENOVO" ), + DMI_MATCH(DMI_PRODUCT_NAME, "83WA"), + }, + .callback = atkbd_deactivate_fixup, + }, {/* Xiaomi Book Pro 14 (TM2424) */ .matches = {
Signature · 1 line
2.56.1
Quoted 11 lines · Igor Sousa
The Lenovo IdeaPad Slim 3 15IWC11 (DMI code 83WA) requires skipping keyboard deactivation in atkbd, similar to the existing "83RR" variant, otherwise the internal keyboard won't work unless the i8042.dumbkbd=1 option is passed.
Added a DMI quirk for the "83WA" variant using
atkbd_deactivate_fixup. Tested on the hardware without i8042.dumbkbd=1.
Fixes typing and keyboard LEDs even after suspend/resume.Signed-off-by Igor Sousa <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry