Linux LED subsystem development
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Qiling Zhu <kmatzkaczor244@gmail.com>
Cc: "Mark Pearson" <mpearson-lenovo@squebb.ca>,
	"Derek J. Clark" <derekjohn.clark@gmail.com>,
	"Rong Zhang" <i@rong.moe>, "Hans de Goede" <hansg@kernel.org>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
	"Henrique de Moraes Holschuh" <hmh@hmh.eng.br>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	ibm-acpi-devel@lists.sourceforge.net,
	"Pavel Machek" <pavel@kernel.org>,
	"Griffin Kroah-Hartman" <griffin@kroah.com>,
	linux-leds@vger.kernel.org, vishnuocv@gmail.com,
	vsankar@lenovo.com,
	"Andrea Rabbaglietti" <rabbagliettiandrea@gmail.com>
Subject: Re: [PATCH v5 0/6] platform/x86: thinkpad_acpi: Add a keyboard backlight auto-mode trigger
Date: Mon, 30 Nov 2026 15:04:44 +0000	[thread overview]
Message-ID: <20261130150444.GD90630@joneslee-mac.roam.internal> (raw)
In-Reply-To: <20261130131252.80436-1-kmatzkaczor244@gmail.com>

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@gmail.com/
> 
> 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

  parent reply	other threads:[~2026-11-30 15:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 13:12 [PATCH v5 0/6] platform/x86: thinkpad_acpi: Add a keyboard backlight auto-mode trigger Qiling Zhu
2026-11-30 13:12 ` [PATCH v5 1/6] platform/x86: thinkpad_acpi: Report auto keyboard backlight mode as off Qiling Zhu
2026-11-30 13:12 ` [PATCH v5 2/6] platform/x86: thinkpad_acpi: Extract kbdlight notify helpers Qiling Zhu
2026-11-30 13:12 ` [PATCH v5 3/6] platform/x86: thinkpad_acpi: Don't poke keyboard backlight's LED core brightness Qiling Zhu
2026-11-30 13:12 ` [PATCH v5 4/6] platform/x86: thinkpad_acpi: Restore keyboard backlight level ourselves Qiling Zhu
2026-11-30 13:12 ` [PATCH v5 5/6] platform/x86: thinkpad_acpi: Detect auto-mode capability via MLCG Qiling Zhu
2026-11-30 13:12 ` [PATCH v5 6/6] platform/x86: thinkpad_acpi: Add a keyboard backlight auto-mode trigger Qiling Zhu
2026-11-30 13:28 ` [PATCH v5 0/6] " sashiko-bot
2026-11-30 15:04 ` Lee Jones [this message]
2026-11-30 15:46   ` Qiling Zhu

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=20261130150444.GD90630@joneslee-mac.roam.internal \
    --to=lee@kernel.org \
    --cc=derekjohn.clark@gmail.com \
    --cc=griffin@kroah.com \
    --cc=hansg@kernel.org \
    --cc=hmh@hmh.eng.br \
    --cc=i@rong.moe \
    --cc=ibm-acpi-devel@lists.sourceforge.net \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=kmatzkaczor244@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=mpearson-lenovo@squebb.ca \
    --cc=pavel@kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rabbagliettiandrea@gmail.com \
    --cc=vishnuocv@gmail.com \
    --cc=vsankar@lenovo.com \
    /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