Distribution: debian unstable, kernel self-compiled Hardware Environment: notebook, acer aspire 1450 Problem Description: the battery and ac_adapter state don't change after boot. with the original debian kernel 2.6.8 all works fine, but with any other kernel the state isn't updated I've compiled the 2.6.13-rc3-mm1 with and without the preemption, no luck Steps to reproduce: cat /proc/acpi/battery/BAT1/state cat /proc/acpi/ac_adapter/ACAD/state
Created attachment 5384 [details] dmesg -s40000
Created attachment 5385 [details] dmidecode
Created attachment 5386 [details] acpidump
Created attachment 5387 [details] lspci -vv
Created attachment 5388 [details] cat /proc/interrupts
Is the bug also present in 2.6.13-rc4? Thanks.
Hi Andrew, now i'm running 2.6.13-rc4 (no-preempt) but no luck. sometimes plug and unplug the ac power updates the battery and ac-adapter status. Now i'm running with the ac cable plugged and acpi -V says: Battery 1: discharging, 19%, 01:34:17 remaining Thermal 1: ok, 54.0 degrees C AC Adapter 1: off-line Thank you
OK, well a few more ACPI-related fixups will be going into 2.6.13-rc6... Lots of people are reporting various problems with their battery monitors.
ok, i'm waiting for the rc6, now i'm trying the rc5 but no luck :-(
even the rc6 doesn't work properly david@dog:~$ uname -r 2.6.13-rc6dvdnp with the ac-adapter online: david@dog:~$ cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: discharging present rate: 3296 mA remaining capacity: 2784 mAh present voltage: 15296 mV david@dog:~$ cat /proc/acpi/ac_adapter/ACAD/state state: off-line
Battery monitoring on my laptop, an Acer Ferrari 4000, using the ATI Xpress200P chipset is producing similar results, cat /proc/acpi/battery/BAT1/state shows similar output even on 2.6.13-rc6. From what it appears this is more of the same, however, on a diffrent model.
Please try option ec_burst=1 The patch at http://bugzilla.kernel.org/show_bug.cgi?id=3851 could help.
There are two patch for the 2.6.13-rc6, what should i use? i've tried http://bugzilla.kernel.org/attachment.cgi?id=5599&action=view but i obtain 11 out of 12 hunks FAILED -- saving rejects to file drivers/acpi/ec.c.rej thank you
try http://bugzilla.kernel.org/attachment.cgi?id=5574&action=view
HI, with the patch 5574 my 2.6.13rc6 now show correctly the battery status unfortunatly there are some other oddities with this kernel that make it unusable :-)
linux-2.6.8 worked fine, and everything later fails until using ec_burst=1 with the latest kernel? Curious that 2.6.8 worked, as it didn't have ec_burst. Luming, do we have an ec_polling more regression here? If so, we need to fix polling mode, as we can't count on burst mode to be available on all systems yet.
Created attachment 5719 [details] 2.6.9 ec driver changes against 2.6.8 Please revert this 2.6.9 to 2.6.8 ec patch to see if 2.6.9 works well
i've applied teh patch to a new 2.6.9 (patch -p1 -R) but the battery status monitor doesn't work (with or without the ec_burst) david@dog:~$ cat /proc/acpi/battery/BAT1/state present: no but i'm writing w/o the ac adapter :)
Now i'm running with the last stable kernel (2.6.13) and all works fine thank you for your work
I'm sorry, please try to revert this patch against 2.6.9: http://www.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.9/acpi-20040816-2.6.9.diff.gz If you reproduce the regression, then please reopen this bug. Thanks.