public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: "Pali Rohár" <pali@kernel.org>
To: Kurt Borja <kuurtb@gmail.com>
Cc: "Matthew Garrett" <mjg59@srcf.ucam.org>,
	"Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org, Dell.Client.Kernel@dell.com,
	stable@vger.kernel.org, "Olexa Bilaniuk" <obilaniu@gmail.com>
Subject: Re: [PATCH v2] platform/x86: dell-wmi: Add audio/mic mute key codes
Date: Sat, 7 Feb 2026 18:22:42 +0100	[thread overview]
Message-ID: <20260207172242.r5dcdf5kxnihshpi@pali> (raw)
In-Reply-To: <20260207-mute-keys-v2-1-c55e5471c9c1@gmail.com>

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
> 

  reply	other threads:[~2026-02-07 17:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2026-02-23 16:34 ` Ilpo Järvinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260207172242.r5dcdf5kxnihshpi@pali \
    --to=pali@kernel.org \
    --cc=Dell.Client.Kernel@dell.com \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=kuurtb@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjg59@srcf.ucam.org \
    --cc=obilaniu@gmail.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox