]> 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:40:26 +0000 (14:40 +0200)
commit5d286f3cadd3513a50e2bf3038e9ed604143d063
treef9bc28fe37b70b698ab6a0b92853c9e67be31439
parentdcabad63e07e9494faf932184b1eef22032c974e
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