]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: ideapad-laptop: add missing Ideapad Pro 5 fn keys
authorRenato Caldas <renato@calgera.com>
Sat, 2 Nov 2024 18:31:16 +0000 (18:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:40 +0000 (11:07 +0100)
commit8efeacc9a8397745bd1b72d0e0bb3b4aa1c13c60
treea796ca806d81482186761e1b1731583d3f876cf9
parent034ebe04d8d4af52ba42f8e5d6c5e14dda8aa207
platform/x86: ideapad-laptop: add missing Ideapad Pro 5 fn keys

commit 36e66be874a7ea9d28fb9757629899a8449b8748 upstream.

The scancodes for the Mic Mute and Airplane keys on the Ideapad Pro 5
(14AHP9 at least, probably the other variants too) are different and
were not being picked up by the driver. This adds them to the keymap.

Apart from what is already supported, the remaining fn keys are
unfortunately producing windows-specific key-combos.

Signed-off-by: Renato Caldas <renato@calgera.com>
Link: https://lore.kernel.org/r/20241102183116.30142-1-renato@calgera.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/ideapad-laptop.c