]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: huawei-wmi: add keys for HONOR models
authorJia Ston <ston.jia@outlook.com>
Wed, 29 Oct 2025 05:18:38 +0000 (05:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Dec 2025 17:37:20 +0000 (18:37 +0100)
commit9fc36198989e62f2ff333ea420d7a631af76e4ee
tree6d4bf9e4867ef4d8676b3936ae6bc51dcbacf6ac
parentb22703f8b5b37cad75cb433b0cb6b9b28de99d5d
platform/x86: huawei-wmi: add keys for HONOR models

[ Upstream commit 5c72329716d0858621021193330594d5d26bf44d ]

HONOR MagicBook X16/X14 models produced in 2025 cannot use the Print
Screen and YOYO keys properly, with the system reporting them as
unknown key presses (codes: 0x028b and 0x028e).

To resolve this, a key_entry is added for both the HONOR Print Screen
key and the HONOR YOYO key, ensuring they function correctly on these
models.

Signed-off-by: Ston Jia <ston.jia@outlook.com>
Link: https://patch.msgid.link/20251029051804.220111-1-ston.jia@outlook.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/huawei-wmi.c