Skip to content

Commit 26a7601

Browse files
kuu-rtij-intel
authored andcommitted
platform/x86: dell-wmi: Add audio/mic mute key codes
Add audio/mic mute key codes found in Alienware m18 r1 AMD. Cc: stable@vger.kernel.org Tested-by: Olexa Bilaniuk <obilaniu@gmail.com> Suggested-by: Olexa Bilaniuk <obilaniu@gmail.com> Signed-off-by: Kurt Borja <kuurtb@gmail.com> Acked-by: Pali Rohár <pali@kernel.org> Link: https://patch.msgid.link/20260207-mute-keys-v2-1-c55e5471c9c1@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 249f05e commit 26a7601

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/platform/x86/dell/dell-wmi-base.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {
8080
static const struct key_entry dell_wmi_keymap_type_0000[] = {
8181
{ KE_IGNORE, 0x003a, { KEY_CAPSLOCK } },
8282

83+
/* Audio mute toggle */
84+
{ KE_KEY, 0x0109, { KEY_MUTE } },
85+
86+
/* Mic mute toggle */
87+
{ KE_KEY, 0x0150, { KEY_MICMUTE } },
88+
8389
/* Meta key lock */
8490
{ KE_IGNORE, 0xe000, { KEY_RIGHTMETA } },
8591

0 commit comments

Comments
 (0)