Re: [PATCH] platform/x86: ideapad-laptop: don't warn about keyboard backlight type 0
From: Mark Pearson
Date: Fri Nov 27 2026 - 11:26:51 EST
On Thu, Nov 26, 2026, at 11:26 AM, Rong Zhang wrote:
> Hi Arnav,
>
> On Thu, 2026-11-26 at 21:41 +0530, Arnav Kapoor wrote:
>> Correction, sorry: I replied before reading Punnay's patch closely. It
>> only skips the warning for type 1 (KBD_BL_NONE_TYPE); this V14 G2 ITL
>> returns 0, so the warning stays with it applied.
>>
>> Type 0 is a separate case: no bits set, and KBLC also returns 0 when
>> the EC or LFCM is unavailable, so it can't mean any backlight type.
>>
>> Hans, Ilpo, please ignore my earlier request to drop this patch. I'm
>> happy to rebase it on top of Punnay's patch, or to fold both cases into
>> a single check, whichever you prefer.
>
> IIRC the KBLC methods of devices I've seen always return (whatever | 1).
>
> So I guess it should be safe to assume 0 as stubbed. I'd still like to
> defer to Mark's opinion, though.
>
I don't have any internal documentation on this I'm afraid. I'll see if I can get some.
The patch looks reasonable to me though.
Reviewed-by: Mark Pearson <mpearson-lenovo@xxxxxxxxx>
Mark