Bug 1409 - Some ACPI interrupts are missing after wake up from sleeping (S1)
Some ACPI interrupts are missing after wake up from sleeping (S1)
Status: CLOSED PATCH_ALREADY_AVAILABLE
Product: ACPI
Classification: Unclassified
Component: Power-Sleep-Wake
i386 Linux
: P2 normal
Assigned To: Robert Moore
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-10-23 04:30 UTC by Luming Yu
Modified: 2004-11-15 21:25 UTC (History)
3 users (show)

See Also:
Kernel Version: 2.6.0-test7,test8
Tree: Mainline
Regression: ---


Attachments
a proposal patch for fixing this issue. (2.02 KB, patch)
2003-10-23 04:32 UTC, Luming Yu
Details | Diff
Updated Patch for fixing error in using base_number in previous patch (1.92 KB, patch)
2003-10-27 00:48 UTC, Luming Yu
Details | Diff

Description Luming Yu 2003-10-23 04:30:12 UTC
Distribution:
RH 9 + base kernel 2.6.0-test7,test8

Hardware Environment:
IBM Thinkpad T21 without USB devices plugged in

Problem Description:
Some ACPI interrupts are missing after wake up from sleep S1.

Steps to reproduce:
a). boot up kernel with full ACPI features.
b). cat /proc/interrupts
....
11:      6        XT-PIC   acpi
....
c). press Fn+F4(or other function keys)
d). cat /proc/interrups
....
11:      8        XT-PIC   acpi
....
e). echo -n 1 > /proc/acpi/sleep
f). press power button, you can see the box wake up successfully.
g). repeat step b , c, d. You will find there is no acpi interrupt increments.
Comment 1 Luming Yu 2003-10-23 04:32:32 UTC
Created attachment 1139 [details]
a proposal patch for fixing this issue.

This patch fixs the issue on my T21
Comment 2 Luming Yu 2003-10-27 00:48:05 UTC
Created attachment 1208 [details]
Updated Patch for fixing error in using base_number in previous patch
Comment 3 Ari Pollak 2003-11-14 07:59:20 UTC
I get the same problem on my Thinkpad T41, but only after an S3 - putting the
machine into S1 doesn't seem to cause this. I'll try this patch later to see if
it fixes anything.
Comment 4 Ari Pollak 2003-11-15 20:32:24 UTC
Nope.. after applying this patch, no interrupts are generated in acpi after
coming back from an S3.
Comment 5 Karol Kozimor 2003-11-24 15:58:04 UTC
I'm quite sure I did actually inform you that the corrected patch fixes the S1
problem for me. In case I didn't, here it is: the updated patch works fine for me.
Comment 6 Brian Perkins 2003-12-07 20:59:42 UTC
Same symptoms on a Thinkpad R32 as the aforementioned T41, S3 causes no
interrupts to be generated.

S1 is not supported on the R32.

The improved patch doesn't work.
Comment 7 Luming Yu 2004-01-06 17:09:19 UTC
please try patch filed at bug 1661
Comment 8 Ari Pollak 2004-02-04 19:52:22 UTC
According to Len Brown, this bug should be tracking missing ACPI interrupts from
returning from S3 as well.
Comment 9 Karol Kozimor 2004-03-21 07:27:48 UTC
Please try the patch for bug #2321, which also fixes the issue for me.
Comment 10 Ari Pollak 2004-03-21 13:50:47 UTC
Re: comment #9, the patch in that bug did not help resuming from S3 on a
Thinkpad T41.
Comment 11 Karol Kozimor 2004-07-01 03:57:14 UTC
2.6.7-mm2 code fixes my issue. 
Comment 12 Len Brown 2004-11-15 21:25:36 UTC
thanks for confirming interrupts work after 2.6.7-mm2 -- closing this bug. 

Note You need to log in before you can comment on or make changes to this bug.