You are not logged in.
Hi,
I am using lenovo thinkpad laptop which support single battery only,
everytime I start the laptop, keep getting error below:
Jan 15 23:12:15 archlinux kernel: thinkpad_acpi: Error probing battery 2
Jan 15 23:12:15 archlinux kernel: ACPI: battery: extension failed to load: ThinkPad Battery Extension
after searching around and found that the thinkpad_acpi.c actualy has a special quirk to support these laptop
src: drivers/platform/x86/thinkpad_acpi.c
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('8', 'F', true), /* Thinkpad X120e */
TPACPI_Q_LNV('J', '7', true), /* B5400 */
TPACPI_Q_LNV('J', 'I', true), /* Thinkpad 11e */
TPACPI_Q_LNV3('R', '0', 'B', true), /* Thinkpad 11e gen 3 */
TPACPI_Q_LNV3('R', '0', 'C', true), /* Thinkpad 13 */
TPACPI_Q_LNV3('R', '0', 'J', true), /* Thinkpad 13 gen 2 */
TPACPI_Q_LNV3('R', '0', 'K', true), /* Thinkpad 11e gen 4 celeron BIOS */
};
In order to fix this issue/error, additional info need added into this quirk, for example
TPACPI_Q_LNV3('R', '0', 'L', true), /* Thinkpad 11e gen 4 Yoga BIOS */
TPACPI_Q_LNV3('R', '0', 'V', true), /* Thinkpad 11e gen 5 Yoga BIOS */
TPACPI_Q_LNV3('R', '1', '8', true), /* Thinkpad 11e gen 6 Yoga BIOS */
any lenovo laptop having similar issue need to find the bios version and append to the quirk.
how to get this fix into arch linux kernel driver release?
Offline
You should report this upstream to the linux kernel devs so everyone can benefit. e.g. https://docs.kernel.org/admin-guide/rep … ing-issues and https://docs.kernel.org/process/5.Posting.html
You might be able to ask for a downstream patch/backport when creating an issue on the archlinux gitlab for the kernel package.
Offline