Re: [PATCH v5 0/6] platform/x86: thinkpad_acpi: Add a keyboard backlight auto-mode trigger

From: Lee Jones

Date: Mon Nov 30 2026 - 10:04:53 EST


On Mon, 30 Nov 2026, Qiling Zhu wrote:

> Hi all,
>
> On supported ThinkPads, Fn+Space can select automatic keyboard
> backlight control. This series exposes that mode through the private
> LED trigger "tpacpi-kbd-auto". The first patch fixes an out-of-range
> brightness value that was reported to make UPower stop tracking hotkey
> changes on a ThinkPad X9-14 Gen 1.
>
> This is v5 of the series. Thank you, Rong and Mark, for reviewing v4.
> The changes are small: the code at the end of the series is the same as
> in v4 apart from one comment dropped in 5/6, and what moved is in the
> patch boundaries and the commit messages. For reference, v4 is here:
>
> https://lore.kernel.org/r/20261125084644.137506-1-kmatzkaczor244@xxxxxxxxx/
>
> Changes since v4:
>
> - 2/6 now contains the two changes that 4/6 used to make to the notify
> helpers, which let them work in EC levels, as Rong suggested while
> reviewing 4/6. The commit message describes how this differs from
> the original inline code: a change between off and the auto mode is
> reported through brightness_hw_changed when the cached value holds
> the EC level, and a failed read of the level sends no notification.
>
> - 4/6 is smaller accordingly and no longer touches the helpers; its
> commit message is adjusted to match.
>
> - 5/6 drops the comment that repeated the one above
> TPACPI_KBD_LIGHT_AUTO_CAPABLE_BIT, as Rong suggested.
>
> - 1/6, 3/6 and 6/6 are unchanged in code.
>
> On the Reviewed-by tags: I have added the tags that Rong and Mark gave
> on v4 and on earlier versions to the patches they reviewed, and kept
> them where a patch changed a little afterwards. My understanding is
> that small changes do not invalidate a tag. If a tag does not fit the
> patch it is on now, please tell me and I will remove it.
>
> As the end result is unchanged, I have not repeated the hardware tests
> from v4: they cover s2idle and S4 on a ThinkPad X1 Carbon Gen 14, from
> manual levels and from auto mode. S3-capable models and other models
> are still untested, and testing there would be very welcome. Each
> commit of this version builds without warnings.
>
> The checkpatch.pl --strict warnings I see are for three commit IDs that
> are missing from my shallow clone.
>
> This series was developed with LLM assistance; I reviewed every design
> decision against the framework sources and validated the behavior on
> real hardware myself.

How did you create this cover-letter?

Where is the diff-stat?

--
Lee Jones