[PATCH] platform/x86: ideapad-laptop: Add PrintScreen key on ThinkBook 14 G8+ IPH
From: Zekai Xie
Date: Tue Sep 29 2026 - 11:40:50 EST
The Fn+F11 (PrintScreen) key on the Lenovo ThinkBook 14 G8+ IPH
(21VG) reports WMI scancode 0x48 (0x148 with the WMI key bit set),
which has no entry in ideapad_keymap[], so userspace only receives
KEY_UNKNOWN:
Event: type 4 (EV_MSC), code 4 (MSC_SCAN), value 148
Event: type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 1
Map it to KEY_SYSRQ so the key produces the Print keysym as labelled.
Assisted-by: LLM
Signed-off-by: Zekai Xie <zekaixie37@xxxxxxxxx>
---
drivers/platform/x86/lenovo/ideapad-laptop.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/platform/x86/lenovo/ideapad-laptop.c b/drivers/platform/x86/lenovo/ideapad-laptop.c
index 8213524..4cae65c 100644
--- a/drivers/platform/x86/lenovo/ideapad-laptop.c
+++ b/drivers/platform/x86/lenovo/ideapad-laptop.c
@@ -1364,6 +1364,8 @@ static const struct key_entry ideapad_keymap[] = {
{ KE_KEY, 0x2d | IDEAPAD_WMI_KEY, { KEY_SELECTIVE_SCREENSHOT } },
{ KE_KEY, 0x29 | IDEAPAD_WMI_KEY, { KEY_TOUCHPAD_TOGGLE } },
{ KE_KEY, 0x2a | IDEAPAD_WMI_KEY, { KEY_ROOT_MENU } },
+ /* PrintScreen (Fn+F11) on ThinkBook 14 G8+ IPH (21VG) */
+ { KE_KEY, 0x48 | IDEAPAD_WMI_KEY, { KEY_SYSRQ } },
{ KE_END },
};
--
2.55.0