From: Seyed Mohammad Mahdi Hosseini <i@smmh.dev>
To: "Hans de Goede" <hansg@kernel.org>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Corentin Chary <corentin.chary@gmail.com>,
"Luke D. Jones" <luke@ljones.dev>,
Denis Benato <denis.benato@linux.dev>,
platform-driver-x86@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] platform/x86: asus-nb-wmi: Ignore events 0xE5 and 0x4F
Date: Fri, 16 Oct 2026 00:10:53 +0200 [thread overview]
Message-ID: <cover.1791672579.git.i@smmh.dev> (raw)
On the ASUS TUF Gaming A15 FA507RF (BIOS FA507RF.306), two WMI events
reach asus-nb-wmi without a keymap entry, so asus-wmi logs
"Unknown key code" for each and reports KEY_UNKNOWN on the "Asus WMI
hotkeys" input device:
- 0xE5 arrives about every 10 seconds, for many hours at a time, while
the laptop is on AC power, with nobody touching the keyboard. Desktops
take each KEY_UNKNOWN as user activity, so the lock screen keeps
waking up. Patch 1 ignores it.
- 0x4F arrives when Fn+Windows is pressed. The firmware toggles the
Windows key lock by itself; the event only notifies, and nothing in
the kernel needs to act on it. Patch 2 ignores it.
Both follow the existing KE_IGNORE entries (0xC6, 0xCF, 0x7B).
Patch 1 overlaps with "platform/x86: asus-nb-wmi: Ignore spurious 0xe5
events on GU605MY" by Evgeny Volferts
(https://patchwork.kernel.org/project/platform-driver-x86/patch/20261015163029.107250-1-eugene.wolferz@gmail.com/),
which ignores 0xE5 through a DMI quirk for the ROG Zephyrus G16 GU605MY
only. The same event, at the same period, also shows up on this TUF
FA507RF, and users report it on the TUF F15 FX506HE and the TUF A17
(https://bbs.archlinux.org/viewtopic.php?id=305063) and on a Zenbook
(https://forum.manjaro.org/t/kernel-error-message-0xe5/157745). No ASUS
model maps 0xE5 to a key, so patch 1 ignores it in the shared keymap
for every model, the way 0xCF was handled. If a per-model quirk is
preferred, I can send a version adding the FA507RF to that patch's
quirk instead.
Seyed Mohammad Mahdi Hosseini (2):
platform/x86: asus-nb-wmi: Ignore unknown event 0xE5
platform/x86: asus-nb-wmi: Ignore Windows key lock event 0x4F
drivers/platform/x86/asus-nb-wmi.c | 2 ++
1 file changed, 2 insertions(+)
--
2.55.0
next reply other threads:[~2026-10-15 22:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 22:10 Seyed Mohammad Mahdi Hosseini [this message]
2026-10-15 22:10 ` [PATCH 1/2] platform/x86: asus-nb-wmi: Ignore unknown event 0xE5 Seyed Mohammad Mahdi Hosseini
2026-10-15 22:10 ` [PATCH 2/2] platform/x86: asus-nb-wmi: Ignore Windows key lock event 0x4F Seyed Mohammad Mahdi Hosseini
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=cover.1791672579.git.i@smmh.dev \
--to=i@smmh.dev \
--cc=corentin.chary@gmail.com \
--cc=denis.benato@linux.dev \
--cc=hansg@kernel.org \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=luke@ljones.dev \
--cc=platform-driver-x86@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.