Bug 2443
Summary: | Frequent short "pauses" corresponding to multiple battery events | ||
---|---|---|---|
Product: | ACPI | Reporter: | Stephen Mollett (molletts) |
Component: | Power-Battery | Assignee: | Shaohua (shaohua.li) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.5 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
Output of acpidmp
Modified patch for 2.6.6 |
Description
Stephen Mollett
2004-04-05 09:48:41 UTC
please attach the acpidmp. i want to check it. thanks Created attachment 2522 [details]
Output of acpidmp
As requested by Shaohua
Sorry for the later. Could you please try the patch in Bug 1433. Thanks. Created attachment 2923 [details] Modified patch for 2.6.6 This is basically the same patch as for Bug 1433, but fixed so it applies to 2.6.6. It seems to fix the pauses, but there are now _no_ battery events except when plugging in/unplugging the mains adaptor - so the battery charge level never gets updated. I've noticed that, with 2.6.6 (without the patch), the events only occur singly instead of in big blocks, but the pauses still occur. Each event seems to add about 100ms of CPU time to the events/0 process. still an issue in linux-2.6.9? The pauses no longer occur in 2.6.9, but neither are there any battery events, so the charge level never changes, except when the AC adapter is either plugged in or unplugged. The "stuck status" problem mentioned above is described in bug 3851, and the two "interrupt_based_ec" patches attached to that bug fix it in 2.6.10 (with a minor tweak to make them apply). The battery events then occur in identical pairs (like under 2.4.25 in the initial bug report) rather than large groups, and the "pauses" described in this bug no longer occur. |