Bug 8598
Summary: | Asus M6N: no battery information in > 2.6.20 | ||
---|---|---|---|
Product: | ACPI | Reporter: | Mikhail Gusarov (dottedmag) |
Component: | EC | Assignee: | Alexey Starikovskiy (astarikovskiy) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla, bcollins, collector, matthias.blaesing, possebaer |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.22-rc4 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
dmesg of (working) 2.6.20
dmesg of (non-working) 2.6.22-rc4 dmesg of (non-working) 2.6.22-rc4 acpidump output lspci -vv .config from 2.6.20 .config from 2.6.22-rc4 Try to find EC in DSDT if ECDT lookup fails patch vs 2.6.23-rc1-git Do early init only for fake _INI being present fixed patch |
Description
Mikhail Gusarov
2007-06-08 05:05:23 UTC
Created attachment 11707 [details]
dmesg of (working) 2.6.20
Created attachment 11708 [details]
dmesg of (non-working) 2.6.22-rc4
Created attachment 11709 [details]
dmesg of (non-working) 2.6.22-rc4
Created attachment 11711 [details]
acpidump output
Created attachment 11712 [details]
lspci -vv
Created attachment 11713 [details]
.config from 2.6.20
Created attachment 11714 [details]
.config from 2.6.22-rc4
Comment on attachment 11709 [details]
dmesg of (non-working) 2.6.22-rc4
dup
Created attachment 11724 [details]
Try to find EC in DSDT if ECDT lookup fails
Please try this patch.
*** Bug 8504 has been marked as a duplicate of this bug. *** I'm the reportet auf the duplicate (Bug 8504) - an writing this from 2.6.22-rc4-git3. To make it short: My Battery is there and it boots *great, thanks* Provided patch fixes the regression on my M6N. This bugfix did not go to the 2.6.22. WTF??? *** Bug 8709 has been marked as a duplicate of this bug. *** *** Bug 8477 has been marked as a duplicate of this bug. *** *** Bug 8744 has been marked as a duplicate of this bug. *** Created attachment 12242 [details]
patch vs 2.6.23-rc1-git
this refreshed patch from Alexey is in acpi-test
cd8c93a4e04dce8f00d1ef3a476aac8bd65ae40b shipped in 2.6.23-rc3 closed. *** Bug 8493 has been marked as a duplicate of this bug. *** Created attachment 13355 [details]
Do early init only for fake _INI being present
Previous patch causes too many problems for other machines. Try limit early inits to only EC with _INI method. Please test that it does not cause regressions for you.
Applied patch to 2.6.24-rc1-g5307cc1a and Battery 0 is not shown again: bash-3.00$ dmesg | grep ACPI ACPI: AC Adapter [AC] (off-line) ACPI: Battery Slot [BAT1] (battery absent) [..] Created attachment 13385 [details]
fixed patch
Sorry, there was typo in previous patch. Could you please test this one?
That one works for me. Works for me too. 27792f3af1f67057fc17e4bd3b28d0ce8fe1d15c (ACPI: EC: Don't init EC early if it has no _INI) applied to acpi test branch shipped in 2.6.24-rc4 -- closed commit 5870a8cd23181703cc76f88f630372f8602c7648 Author: Alexey Starikovskiy <astarikovskiy@suse.de> Date: Thu Nov 15 21:52:47 2007 +0300 ACPI: EC: Don't init EC early if it has no _INI Option to init EC early inserted to handle #8598 ASUS problem, introduced several others. EC driver in this particular case has fake _INI method, not present on other machines, which don't need or break from this workaround, so lets use its presence as a flag for early init. http://bugzilla.kernel.org/show_bug.cgi?id=9262 http://bugzilla.kernel.org/show_bug.cgi?id=8598 https://bugzilla.novell.com/show_bug.cgi?id=334806 Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com> |