SCI interrupt alwasy lost after resuming from S3 on T21.
After resuming from S3, if you press power button, nothing happend.
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?
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.
Luming's ACPICA patch appears to be effective -- assigning this one to you.
Should we maybe clear/enable ALL fixed events on wake? This may preemptively
solve some problems.
>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.