* [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
* Re: [PATCH v2] platform/x86: dell-wmi: Add audio/mic mute key codes
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
1 sibling, 0 replies; 3+ messages in thread
From: Pali Rohár @ 2026-02-07 17:22 UTC (permalink / raw)
To: Kurt Borja
Cc: Matthew Garrett, Hans de Goede, Ilpo Järvinen,
platform-driver-x86, linux-kernel, Dell.Client.Kernel, stable,
Olexa Bilaniuk
On Saturday 07 February 2026 12:16:34 Kurt Borja wrote:
> 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>
Thank you, this looks good.
Acked-by: Pali Rohár <pali@kernel.org>
> ---
> 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 [flat|nested] 3+ messages in thread
* Re: [PATCH v2] platform/x86: dell-wmi: Add audio/mic mute key codes
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
1 sibling, 0 replies; 3+ messages in thread
From: Ilpo Järvinen @ 2026-02-23 16:34 UTC (permalink / raw)
To: Matthew Garrett, Pali Rohár, Hans de Goede, Kurt Borja
Cc: platform-driver-x86, linux-kernel, Dell.Client.Kernel, stable,
Olexa Bilaniuk
On Sat, 07 Feb 2026 12:16:34 -0500, Kurt Borja wrote:
> Add audio/mic mute key codes found in Alienware m18 r1 AMD.
>
>
Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: dell-wmi: Add audio/mic mute key codes
commit: 26a7601471f62b95d56a81c3a8ccb551b5a6630f
--
i.
^ permalink raw reply [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