Bug 230428 - No battery detected on Thinkpad x230 with coreboot bios
Summary: No battery detected on Thinkpad x230 with coreboot bios
Status: Closed DUPLICATE of bug 227191
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-acpi (Nobody)
URL:
Keywords: needs-patch, regression
Depends on: 227191
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-07 07:38 UTC by Ali Abdallah
Modified: 2018-10-09 05:01 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Abdallah 2018-08-07 07:38:00 UTC
This machine has been running well on FreeBSD with the stock bios. I decided to flash coreboot 4.8.1 to get rid of the wireless card whitelist, so I can install any card I want. Also I've got rid of Intel ME. 

FreeBSD Current does not detect the battery, dmesg | grep ACPI gives the following

ACPI APIC Table: <CORE   COREBOOT>
ACPI Error: No handler for Region [ERAM] (0xfffff80003672200) [EmbeddedControl] (20180629/evregion-288)
ACPI Error: Region EmbeddedControl (ID=3) has no handler (20180629/exfldio-428)
ACPI Error: Method parse/execution failed \134_SB.PCI0.LPCB.EC.BAT0._STA, AE_NOT_EXIST (20180629/psparse-677)
ACPI Error: No handler for Region [ERAM] (0xfffff80003672200) [EmbeddedControl] (20180629/evregion-288)
ACPI Error: Region EmbeddedControl (ID=3) has no handler (20180629/exfldio-428)
ACPI Error: Method parse/execution failed \134_SB.PCI0.LPCB.EC.BAT1._STA, AE_NOT_EXIST (20180629/psparse-677)

For info, a debian live bootable image detects the battery with no issue.
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2018-08-11 10:29:12 UTC
Seems to be related to my problems on Lenovo Yoga 3 14: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227191
Comment 2 Ali Abdallah 2018-08-24 22:28:57 UTC
The battery is detected correctly on FreeBSD current r330956, but not after r330957 ACPICA merge. 

The ACPI Errors are are present on both r330956 and r330957, so probably they are not related the battery detection problem I'm having.
Comment 3 Conrad Meyer freebsd_committer freebsd_triage 2018-10-09 05:01:11 UTC

*** This bug has been marked as a duplicate of bug 227191 ***