Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH v2] platform/x86: dell-wmi: Add audio/mic mute key codes
@ 2026-02-07 17:16 Kurt Borja
  2026-02-07 17:22 ` Pali Rohár
  2026-02-23 16:34 ` Ilpo Järvinen
  0 siblings, 2 replies; 3+ messages in thread
From: Kurt Borja @ 2026-02-07 17:16 UTC (permalink / raw)
  To: Matthew Garrett, Pali Rohár, Hans de Goede,
	Ilpo Järvinen
  Cc: platform-driver-x86, linux-kernel, Dell.Client.Kernel, stable,
	Olexa Bilaniuk, Kurt Borja

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>
---
v2:
  - Put the codes in the correct order
  - Add comment above keycodes
  - Mention the specific model that uses these keycodes in commit
    message

v1: https://lore.kernel.org/r/20260201-mute-keys-v1-1-825e786732fc@gmail.com
---
 drivers/platform/x86/dell/dell-wmi-base.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/platform/x86/dell/dell-wmi-base.c b/drivers/platform/x86/dell/dell-wmi-base.c
index 28076929d6af..907f1da01c8d 100644
--- a/drivers/platform/x86/dell/dell-wmi-base.c
+++ b/drivers/platform/x86/dell/dell-wmi-base.c
@@ -80,6 +80,12 @@ static const struct dmi_system_id dell_wmi_smbios_list[] __initconst = {
 static const struct key_entry dell_wmi_keymap_type_0000[] = {
 	{ KE_IGNORE, 0x003a, { KEY_CAPSLOCK } },
 
+	/* Audio mute toggle */
+	{ KE_KEY,    0x0109, { KEY_MUTE } },
+
+	/* Mic mute toggle */
+	{ KE_KEY,    0x0150, { KEY_MICMUTE } },
+
 	/* Meta key lock */
 	{ KE_IGNORE, 0xe000, { KEY_RIGHTMETA } },
 

---
base-commit: 008bec8ffe6e7746588d1e12c5b3865fa478fc91
change-id: 20260126-mute-keys-7f8a27cd317f

-- 
Thanks, 
 ~ Kurt


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-23 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-07 17:16 [PATCH v2] platform/x86: dell-wmi: Add audio/mic mute key codes Kurt Borja
2026-02-07 17:22 ` Pali Rohár
2026-02-23 16:34 ` Ilpo Järvinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox