Bug 1661
Summary: | SCI interrupt lost after resuming from S3 | ||
---|---|---|---|
Product: | ACPI | Reporter: | Luming Yu (luming.yu) |
Component: | Power-Sleep-Wake | Assignee: | Robert Moore (Robert.Moore) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | acpi-bugzilla, aripollak, linux-kernel, roffermanns |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | a patch for fixing this issue |
Description
Luming Yu
2003-12-09 04:07:37 UTC
Created attachment 1641 [details]
a patch for fixing this issue
There are two points including in this patch:
1. After waking up, we need to clear status register of GPE block.
2. After waking up, we need to clear power button status register, and set
power button enable register.
This patch fix SCI lost issue on my T21. I hope it will fix your issue too. Issue fixed on my Thinkpad R32. Thanks! so is there a bug tracking when this will be merged? oops, nevermind. The patch fixes the issue on my ThinkPad R40. *** Bug 1801 has been marked as a duplicate of this bug. *** This patch doesn't seem to have helped on my Thinkpad T41. This patch also doesnt help me on my ThinkPad R40 Patch works for me: IBM Thinkpad R40 2681CDG. *** Bug 1801 has been marked as a duplicate of this bug. *** Bob, Luming's ACPICA patch appears to be effective -- assigning this one to you. thanks, -Len Should we maybe clear/enable ALL fixed events on wake? This may preemptively solve some problems. Bob >Should we maybe clear/enable ALL fixed events on wake? This may preemptively >solve some problems. Out of curiousity - I tried this out on my T41 - as this patch does not fix the interrupt lost problem on it. Does not help. :( (If I did it right that is. I did a for loop for the possible static events, instead of just doing ACPI_EVENT_POWER_BUTTON). I posted this in bug 1415 as well, but I applied that patch, so I could try out having the lid resume my machine. It works when the ACPI interrupts are being received - but after that(so the first time it works), it immediately resumes the kernel instead of actually going to sleep - as if it got the lid event again to resume. If I turn off the lid event from that patch - it will sleep, but obviously, the lid won't wake it up again. Both fixes integrated into 20040220 If luming's patch can't help you, please try the patch in Bug 2643, it resolved similar issue in my T40. |