From: Mingcong Bai <jeffbai@aosc.io>
To: linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org,
ibm-acpi-devel@lists.sourceforge.net
Cc: "Kexy Biscuit" <kexybiscuit@aosc.io>,
"Fan Yang" <804284660@qq.com>, "Xi Ruoyao" <xry111@xry111.site>,
"Henrique de Moraes Holschuh" <hmh@hmh.eng.br>,
"Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
stable@vger.kernel.org
Subject: Re: [PATCH] platform/x86: thinkpad_acpi: Add battery quirk for ThinkPad X131e
Date: Sat, 22 Feb 2025 00:53:22 +0800 [thread overview]
Message-ID: <8a39c1ef-b39b-4c28-b026-26bbb4dbaf7f@aosc.io> (raw)
In-Reply-To: <20250221164825.77315-1-jeffbai@aosc.io>
Hi all,
在 2025/2/22 00:48, Mingcong Bai 写道:
> Based on the dmesg messages from the original reporter:
>
> [ 4.964073] ACPI: \_SB_.PCI0.LPCB.EC__.HKEY: BCTG evaluated but flagged as error
> [ 4.964083] thinkpad_acpi: Error probing battery 2
>
> Lenovo ThinkPad X131e also needs this battery quirk.
>
> Reported-by: Fan Yang <804284660@qq.com>
> Tested-by: Fan Yang <804284660@qq.com>
> Co-developed-by: Xi Ruoyao <xry111@xry111.site>
> Signed-off-by: Xi Ruoyao <xry111@xry111.site>
> Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
> ---
> drivers/platform/x86/thinkpad_acpi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
> index 1fcb0f99695a7..64765c6939a50 100644
> --- a/drivers/platform/x86/thinkpad_acpi.c
> +++ b/drivers/platform/x86/thinkpad_acpi.c
> @@ -9960,6 +9960,7 @@ static const struct tpacpi_quirk battery_quirk_table[] __initconst = {
> * Individual addressing is broken on models that expose the
> * primary battery as BAT1.
> */
> + TPACPI_Q_LNV('G', '8', true), /* ThinkPad X131e */
> TPACPI_Q_LNV('8', 'F', true), /* Thinkpad X120e */
> TPACPI_Q_LNV('J', '7', true), /* B5400 */
> TPACPI_Q_LNV('J', 'I', true), /* Thinkpad 11e */
I forgot to include a Cc to stable. This issue dates back to as far as
5.19 (the oldest version available in our distro repository).
Cc: stable@vger.kernel.org
Best Regards,
Mingcong Bai
next prev parent reply other threads:[~2025-02-21 16:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-21 16:48 Mingcong Bai
2025-02-21 16:53 ` Mingcong Bai [this message]
2025-03-03 12:46 ` Ilpo Järvinen
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=8a39c1ef-b39b-4c28-b026-26bbb4dbaf7f@aosc.io \
--to=jeffbai@aosc.io \
--cc=804284660@qq.com \
--cc=hdegoede@redhat.com \
--cc=hmh@hmh.eng.br \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=kexybiscuit@aosc.io \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=xry111@xry111.site \
/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®