| From: |
| Rodnei Cilto <rodnei.cilto-AT-gmail.com> |
| To: |
| Dmitry Torokhov <dmitry.torokhov-AT-gmail.com>, Ike Panhc <ikepanhc-AT-gmail.com>, Mark Pearson <mpearson-lenovo-AT-squebb.ca>, "Derek J. Clark" <derekjohn.clark-AT-gmail.com>, Hans de Goede <hansg-AT-kernel.org>, Ilpo Järvinen <ilpo.jarvinen-AT-linux.intel.com> |
| Subject: |
| [PATCH 0/2] Add keyboard LED support for Lenovo IdeaPad 83RR/83SR |
| Date: |
| Sun, 28 Jun 2026 22:57:02 -0300 |
| Message-ID: |
| <20260628-ideapad-kbd-leds-v1-0-50b421d94927@gmail.com> |
| Cc: |
| linux-input-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, platform-driver-x86-AT-vger.kernel.org, Rodnei Cilto <rodnei.cilto-AT-gmail.com> |
| Archive-link: |
| Article |
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@gmail.com>
---
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@gmail.com>