mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: Antheas Kapenekakis <lkml@antheas.dev>,
	Rahul Chandra <rahul@chandra.net>
Cc: platform-driver-x86@vger.kernel.org,
	LKML <linux-kernel@vger.kernel.org>,
	 Corentin Chary <corentin.chary@gmail.com>,
	 "Luke D . Jones" <luke@ljones.dev>,
	Hans de Goede <hansg@kernel.org>,
	 stable@kernel.org
Subject: Re: [PATCH v1] platform/x86: asus-wmi: Re-add extra keys to ignore_key_wlan quirk
Date: Tue, 16 Sep 2025 14:15:38 +0300 (EEST)	[thread overview]
Message-ID: <30d3b204-c37d-0878-ee39-f5b14981197a@linux.intel.com> (raw)
In-Reply-To: <20250916072818.196462-1-lkml@antheas.dev>

On Tue, 16 Sep 2025, Antheas Kapenekakis wrote:

> It turns out that the dual screen models use 0x5E for attaching and
> detaching the keyboard instead of 0x5F. So, re-add the codes by
> reverting commit cf3940ac737d ("platform/x86: asus-wmi: Remove extra
> keys from ignore_key_wlan quirk"). For our future reference, add a
> comment next to 0x5E indicating that it is used for that purpose.
> 
> Fixes: cf3940ac737d ("platform/x86: asus-wmi: Remove extra keys from ignore_key_wlan quirk")
> Reported-by: Rahul Chandra <rahul@chandra.net>
> Closes: https://lore.kernel.org/all/10020-68c90c80-d-4ac6c580@106290038/
> Cc: stable@kernel.org
> Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>

Thank you both, I've taken this to the review-ilpo-fixes branch.

And I'm sorry for the breakage (I was skeptical about removing those keys 
right from the start even if the original commit's changelog wasn't 
explaining these extra keys with the detail it should have to avoid us 
having to second guess).

If Rahul has actually tested the direct revert or this patch and wants to 
provide a Tested-by tag, I can still embed that into the commit until I 
push the pending changes to Linus.

> ---
>  drivers/platform/x86/asus-nb-wmi.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus-nb-wmi.c
> index 3a488cf9ca06..6a62bc5b02fd 100644
> --- a/drivers/platform/x86/asus-nb-wmi.c
> +++ b/drivers/platform/x86/asus-nb-wmi.c
> @@ -673,6 +673,8 @@ static void asus_nb_wmi_key_filter(struct asus_wmi_driver *asus_wmi, int *code,
>  		if (atkbd_reports_vol_keys)
>  			*code = ASUS_WMI_KEY_IGNORE;
>  		break;
> +	case 0x5D: /* Wireless console Toggle */
> +	case 0x5E: /* Wireless console Enable / Keyboard Attach, Detach */
>  	case 0x5F: /* Wireless console Disable / Special Key */
>  		if (quirks->key_wlan_event)
>  			*code = quirks->key_wlan_event;
> 
> base-commit: 46a51f4f5edade43ba66b3c151f0e25ec8b69cb6
> 

-- 
 i.


      reply	other threads:[~2025-09-16 11:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-16  7:28 Antheas Kapenekakis
2025-09-16 11:15 ` Ilpo Järvinen [this message]

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=30d3b204-c37d-0878-ee39-f5b14981197a@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=corentin.chary@gmail.com \
    --cc=hansg@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@antheas.dev \
    --cc=luke@ljones.dev \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rahul@chandra.net \
    --cc=stable@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

all inboxes | Powered by JetHome®