Bug 9221
Summary: | No more battery info in /proc/acpi (neither in /sys) | ||
---|---|---|---|
Product: | ACPI | Reporter: | Christian Casteyde (casteyde.christian) |
Component: | Power-Battery | Assignee: | Zhang Rui (rui.zhang) |
Status: | REJECTED WILL_NOT_FIX | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24-rc1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
dmesg output
.config file for 2.6.24-rc1 acpidump for 2.6.24-rc1 |
Description
Christian Casteyde
2007-10-24 13:20:35 UTC
Created attachment 13265 [details]
dmesg output
Created attachment 13266 [details]
.config file for 2.6.24-rc1
might be _STA returns non-present for battery. can you please attach your acpidump output, so we can check it? I've posted all dumps related to ACPI in bug http://bugzilla.kernel.org/show_bug.cgi?id=9232. I repost here acpidump output for kernel 2.6.24-rc1. Note that the battery is seen by 2.6.23.1. Created attachment 13350 [details]
acpidump for 2.6.24-rc1
/proc/acpi/battery is not even present mean the battery driver is not loaded at all. I checked your kernel config file and it's weird that there is no CONFIG_ACPI_BATTERY. Could you rebuild your kernel with CONFIG_ACPI_BATTERY compiled in, please? Oh, I see. You probably need to set CONFIG_POWER_SUPPLY first.:) acpi battery driver depends on this since 2.6.24-rc1. Yeah, you're right. The power supply masked the battery option in ACPI, si it was unchecked. With both activated, the battery info are there and everything works. Maybe the ACPI battery option should be always visible and force CONFIG_POWER_SUPPLY to prevent user from missing it? Anyway, thanks a lot. |