]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys
authorValtteri Koskivuori <vkoskiv@gmail.com>
Fri, 9 May 2025 18:42:49 +0000 (21:42 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:38:08 +0000 (14:38 +0200)
commitdbc155cf4e70dd3df47b7340d10500be32cd4eb7
tree971e7288cf4cca5799ae7674c4d8e150020755d6
parent961caaf8ad35400fa5d5db1dfd03acc8bf67e72c
platform/x86: fujitsu-laptop: Support Lifebook S2110 hotkeys

[ Upstream commit a7e255ff9fe4d9b8b902023aaf5b7a673786bb50 ]

The S2110 has an additional set of media playback control keys enabled
by a hardware toggle button that switches the keys between "Application"
and "Player" modes. Toggling "Player" mode just shifts the scancode of
each hotkey up by 4.

Add defines for new scancodes, and a keymap and dmi id for the S2110.

Tested on a Fujitsu Lifebook S2110.

Signed-off-by: Valtteri Koskivuori <vkoskiv@gmail.com>
Acked-by: Jonathan Woithe <jwoithe@just42.net>
Link: https://lore.kernel.org/r/20250509184251.713003-1-vkoskiv@gmail.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/fujitsu-laptop.c