From: Qiling Zhu <kmatzkaczor244@gmail.com>
To: Rong Zhang <i@rong.moe>
Cc: Andrea Rabbaglietti <rabbagliettiandrea@gmail.com>,
mpearson-lenovo@squebb.ca,
Derek John Clark <derekjohn.clark@gmail.com>,
hansg@kernel.org, hmh@hmh.eng.br,
ibm-acpi-devel@lists.sourceforge.net,
ilpo.jarvinen@linux.intel.com, linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org, vishnuocv@gmail.com,
vsankar@lenovo.com
Subject: Re: [ibm-acpi-devel] [PATCH] thinkpad_acpi: Add Auto mode support with dynamic max_brightness
Date: Mon, 9 Nov 2026 11:47:23 +0800 [thread overview]
Message-ID: <avEuoeuFSwDUbbgL@ThinkPad> (raw)
In-Reply-To: <a21d1b534d4b7c8cd27811e1c1f5c8be790cbdeb.camel@rong.moe>
Hi Andrea,
Thanks for the detailed report! I actually noticed that the keyboard
backlight OSD started working in KDE after applying my patches,
whereas it hadn't appeared at all before. I didn't look into it
at the time, so thanks for pointing out the likely reason behind
this behavior.
On Sat, Nov 07, 2026 at 11:11:08PM +0800, Rong Zhang wrote:
> Hi Andrea,
>
> ...
>
> +CC Qiling
>
> Oops, this indeed needs a fix patch for backporting.
>
> Qiling, while you series will fix this, it may be better to add a fix
> patch CC'ing stable@vger.kernel.org to the very beginning of the series,
> so that the fix can be easily backported.
>
Thanks, Rong. I'll split out a minimal, self-contained bug fix
before the refactoring and feature addition, as you suggested.
I'm still learning the upstream and stable backporting process,
so I'm wondering whether it would be better to submit the fix
separately or keep it as the first patch of the next revision.
Submitting it separately could get the fix merged and backported
sooner, though I'm not sure how urgent this particular fix is.
I'd appreciate your guidance on which approach would be more
appropriate, and I'm happy to follow your suggestion.
>
> My opinion:
>
> If auto mode disables keyboard backlight most of the time, it should
> report 0. For example, when the auto mode if backed by an ALS sensor, it
> should disable keyboard backlight most of the time, because most users
> seldom use the laptop in dark environments.
>
> Same for proximity- or activity-based control, as it only illuminates
> when the user touches the keyboard.
>
> The ideapad-laptop driver and Qiling's series have already taken this
> strategy.
>
> Thanks,
> Rong
>
I agree that mapping Auto mode to 0 makes more sense. Besides
the reasons you mentioned, the Fn+Space cycle on my ThinkPad
is 0 -> 3 -> 1 -> 2 -> 0, as Andrea also observed on the X9.
Mapping Auto (3) to 2 would make the reported brightness jump
from 0 to 2, then back to 1 and up to 2 again, which seems
rather misleading, especially since Auto mode does not represent
the maximum fixed brightness level.
Regards,
Qiling Zhu
next prev parent reply other threads:[~2026-11-09 3:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-07 13:23 Andrea Rabbaglietti
2026-11-07 15:11 ` Rong Zhang
2026-11-09 3:47 ` Qiling Zhu [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-02-03 23:22 Vishnu Sankar
2026-02-08 10:54 ` Hans de Goede
2026-02-08 20:58 ` Rong Zhang
2026-02-09 15:46 ` Mark Pearson
2026-02-09 18:14 ` Rong Zhang
2026-02-09 18:44 ` Mark Pearson
2026-02-10 10:31 ` Hans de Goede
2026-02-10 16:11 ` Rong Zhang
2026-02-10 21:17 ` Mark Pearson
2026-02-23 18:19 ` [ibm-acpi-devel] " Mark Pearson
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=avEuoeuFSwDUbbgL@ThinkPad \
--to=kmatzkaczor244@gmail.com \
--cc=derekjohn.clark@gmail.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=linux-kernel@vger.kernel.org \
--cc=mpearson-lenovo@squebb.ca \
--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
all inboxes | Powered by JetHome®