Re: [PATCH v5 4/4] platform: lenovo: wmi-fn-keys: ignore all Legion keyboard backlight events
From: Marco Giunta
Date: Thu Dec 03 2026 - 05:29:45 EST
Hi David,
thanks for picking this up, and sorry for the late reply.
The patch looks correct to me, so if you prefer to keep it as is:
Reviewed-by: Marco Giunta <marco_giunta@xxxxxxxxxx>
Alternatively, since the commit message currently reads a bit like a
second-hand report, and since I wrote these KE_IGNORE entries myself after
gathering the data with evtest on my 16AFR10H, I'm also happy to
co-sign the commit.
In that case something like this might read better:
platform: lenovo: wmi-fn-keys: ignore all Legion keyboard backlight events
On the Legion Pro 7 16AFR10H and 16IAX10H, the WMI events emitted
by Fn+Up/Down and Fn+Space do not name a key, but encode the state
that was reached: Fn+Up/Down report the new brightness level (0x18 off,
0x19 low, 0x1a medium, 0x26 high), and Fn+Space reports the new lighting
preset (0x20 to 0x25 for presets 1 to 6).
Commit eb119fefaae6 ("platform/x86: ideapad-laptop: Ignore keyboard
backlight hotkeys") ignored only 0x19, 0x1a and 0x21, so the other seven
still reach userspace as KEY_UNKNOWN.
The keyboard controller handles these keys itself and reports the
brightness on its own HID interface, so none of these WMI events
carries an action for the OS. Ignore all ten.
Fixes: eb119fefaae6 ("platform/x86: ideapad-laptop: Ignore keyboard backlight hotkeys")
Co-developed-by: Marco Giunta <marco_giunta@xxxxxxxxxx>
Signed-off-by: Marco Giunta <marco_giunta@xxxxxxxxxx>
Signed-off-by: David Cemin <dcemin@xxxxxxxxxx>
The message above is just a draft based on your current commit message,
so feel free to reword it, drop the Fixes: tag, or change anything else
as you see fit; what matters is that you have my consent for the
Co-developed-by and Signed-off-by should you go with this option.
I'm fine with either option, so pick whichever you and the maintainers
prefer.
Note that Ciro also planned to send these seven codes as a follow-up
on top of Ilpo's branch [1]; since your 4/4 already carries them and
Rong asked for it here to avoid conflicts, I guess Ciro can drop his.
Ciro, does that work for you? If so, a Tested-by from you on the 16IAX10H
(and/or a Reviewed-by, if you like) on this patch would be nice.
[1]: https://lore.kernel.org/platform-driver-x86/20261201-legion-lighting-rfc-v4-1-02acc82bc0b6@xxxxxxxxx/
Thanks,
Marco