Bug 215155 - Fujitsu Lifebook A3510 - battery absent, AC status changes not reported
Summary: Fujitsu Lifebook A3510 - battery absent, AC status changes not reported
Status: CLOSED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: Power-Battery (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Zhang Rui
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-27 22:46 UTC by Malstrond
Modified: 2022-07-08 12:00 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.15.5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
ACPI dump (1.24 MB, text/plain)
2021-11-27 22:46 UTC, Malstrond
Details
dmesg (68.51 KB, text/plain)
2021-11-27 22:46 UTC, Malstrond
Details
Custom dsdt to enable battery and dump AC status (1.61 MB, text/x-csrc)
2022-06-24 01:39 UTC, Zhang Rui
Details

Description Malstrond 2021-11-27 22:46:13 UTC
Created attachment 299751 [details]
ACPI dump

On a Fujitsu Lifebook A3510, the battery always reports as absent: "ACPI: battery: Slot [BAT1] (battery absent)"
The problem remains even when running on battery power.

Also, the AC adapter status doesn't get updated.
/sys/class/power_supply/ACAD/online always says 1, even if unplugging the AC adapter.
There are no other entries in /sys/class/power_supply.

I will attach an ACPI dump and a dmesg log.
Comment 1 Malstrond 2021-11-27 22:46:48 UTC
Created attachment 299753 [details]
dmesg
Comment 2 Malstrond 2022-01-10 20:12:47 UTC
Ubuntu bug for the same issue: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956177
Comment 3 Zhang Rui 2022-06-24 01:39:27 UTC
Created attachment 301265 [details]
Custom dsdt to enable battery and dump AC status

Please try to override the dsdt with the one I attached, and boot with acpi.aml_debug_output=1, and
1. check if the problems are gone
2. attach the dmesg output with AC online and offline
Comment 4 Zhang Rui 2022-06-24 01:43:53 UTC
You can refer to this page to override the dsdt
https://wiki.archlinux.org/title/DSDT#Using_modified_code
Comment 5 Malstrond 2022-06-24 07:50:43 UTC
Can you give me the compiled .aml file?

What I already tried myself is the workaround from post 31 on the Ubuntu bugtracker ( https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956177/comments/31 ), the one with "OperationRegion (ERAM, EmbeddedControl, Zero, 0x0100)".
That fixes the issue for me.
Comment 6 Zhang Rui 2022-07-08 07:04:47 UTC
Then this is a firmware bug.
The AML code declares the EC operation region as memory operation region.

There is nothing we can do with this issue.
You can just follow the BKMs there.

Note You need to log in before you can comment on or make changes to this bug.