Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK)
@ 2026-06-02 17:09 Zeyu WANG
  2026-06-02 23:32 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Zeyu WANG @ 2026-06-02 17:09 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input

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>
---
 drivers/input/keyboard/atkbd.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/input/keyboard/atkbd.c b/drivers/input/keyboard/atkbd.c
index c8ad55f..217e66e 100644
--- a/drivers/input/keyboard/atkbd.c
+++ b/drivers/input/keyboard/atkbd.c
@@ -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,
+	},
 	{ }
 };
 
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK)
  2026-06-02 17:09 [PATCH] Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK) Zeyu WANG
@ 2026-06-02 23:32 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2026-06-02 23:32 UTC (permalink / raw)
  To: Zeyu WANG; +Cc: linux-input

On Wed, Jun 03, 2026 at 01:09:09AM +0800, Zeyu WANG wrote:
> 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>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-02 23:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-02 17:09 [PATCH] Input: atkbd - add DMI quirk for Lenovo Yoga Air 14 (83QK) Zeyu WANG
2026-06-02 23:32 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox