]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK)
authorZeyu WANG <zeyu.thomas.wang@gmail.com>
Tue, 2 Jun 2026 17:09:09 +0000 (01:09 +0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 2 Jun 2026 23:33:40 +0000 (16:33 -0700)
The Lenovo Yoga Air 14 (83QK) laptop keyboard becomes unresponsive
after the standard atkbd init sequence. Controlled testing on the
actual hardware shows the F5 (ATKBD_CMD_RESET_DIS / deactivate)
command specifically corrupts the EC state, causing zero IRQ1
interrupts after init.

Skipping only the deactivate command (while keeping F4 ENABLE)
resolves the issue completely: both keystroke input and CapsLock
LED toggle work correctly. The reverse test - skipping only F4
while keeping F5 - makes the problem worse (zero keystroke
interrupts), confirming F5 is the sole culprit.

Add a DMI quirk entry for LENOVO/83QK using the existing
atkbd_deactivate_fixup callback, consistent with the existing
entries for LG Electronics and HONOR FMB-P that address the
same EC F5 deactivate issue.

Signed-off-by: Zeyu WANG <zeyu.thomas.wang@gmail.com>
Link: https://patch.msgid.link/20260602170909.14725-1-zeyu.thomas.wang@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/atkbd.c

index c8ad55f26ea83cfb19be2bee2cc102eff969cbe7..217e66ee36a1f8c659b90c6041dc1a310263ccb3 100644 (file)
@@ -1923,6 +1923,14 @@ static const struct dmi_system_id atkbd_dmi_quirk_table[] __initconst = {
                },
                .callback = atkbd_deactivate_fixup,
        },
+       {
+               /* Lenovo Yoga Air 14 (83QK) */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "83QK"),
+               },
+               .callback = atkbd_deactivate_fixup,
+       },
        { }
 };