[PATCH 0/2] Add keyboard LED support for Lenovo IdeaPad 83RR/83SR
From: Rodnei Cilto
Date: Sat Jun 27 2026 - 21:57:02 EST
This series adds support for the internal keyboard of Lenovo IdeaPad
laptops based on Wildcat Lake SoC (models 83RR worldwide and 83SR
Brazil regional variant).
The EC PS/2 emulation on these models does not fully support the AT
protocol. Sending the SETLEDS command (0xED) after initialization
causes the EC to return corrupted scancodes ('**' in i8042.debug),
rendering the keyboard non-functional.
Patch 1 adds a softleds DMI quirk to atkbd that suppresses 0xED
while keeping EV_LED capabilities visible to userspace.
Patch 2 adds physical CapsLock/NumLock LED control in ideapad-laptop
via direct EC register access (offset 0xA1) and ACPI _QDF method,
discovered via DSDT analysis.
Rodnei Cilto (2):
input: atkbd: add softleds quirk for broken EC PS/2 emulation
platform/x86: ideapad-laptop: add CapsLock/NumLock LED via EC
Signed-off-by: Rodnei Cilto <rodnei.cilto@xxxxxxxxx>
---
Rodnei Cilto (2):
input: atkbd: add softleds quirk for broken EC PS/2 emulation
platform/x86: ideapad-laptop: add CapsLock/NumLock LED via EC
drivers/input/keyboard/atkbd.c | 46 ++++++++-
drivers/input/serio/i8042-acpipnpio.h | 3 +
drivers/platform/x86/lenovo/ideapad-laptop.c | 143 +++++++++++++++++++++++++++
3 files changed, 191 insertions(+), 1 deletion(-)
---
base-commit: 03e2778d1f11de9260543f969e9e888a1c2bf830
change-id: 20260628-ideapad-kbd-leds-16f587e9ab97
Best regards,
--
Rodnei Cilto <rodnei.cilto@xxxxxxxxx>