lkml.org 
[lkml]   [2004]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ACPI] No APIC interrupts after ACPI suspend
Li, Shaohua wrote:

>Hi,
>I attached a new patch to handler all level triggered IRQs after resume
>for 8259 in http://bugme.osdl.org/show_bug.cgi?id=2643. Please try and
>attach your test result on it.
>
>
>


[Sorry if some see this twice... It bounced when I sent it before]

Uh.... That might work.... Except that after applying the patch &
restarting. Then suspend-resume I get another small problem... My
thinkpad (r50p) uses the power button to wake up from suspend... The
system wakes, but with this latest patch, acpid then kicks in & says
'Ohh! I saw him press the power button' and promptly shuts down...

here's my acpid logfile

[Mon Jun 28 09:39:27 2004] received event "button/sleep SLPB 00000080
00000001"
[Mon Jun 28 09:39:27 2004] executing action "/etc/acpi/sleep.sh"
[Mon Jun 28 09:39:27 2004] BEGIN HANDLER MESSAGES
ERROR: Module i810_audio does not exist in /proc/modules
Stopping hotplug subsystem:
input
net
pci
usb
done
ERROR: Module bluetooth is in use by rfcomm,l2cap
Starting hotplug subsystem:
input
net
pci
usb
** can't synthesize root hub events
done

/dev/hda:
setting standby to 240 (20 minutes)
[Mon Jun 28 09:39:43 2004] END HANDLER MESSAGES
[Mon Jun 28 09:39:43 2004] action exited with status 0
[Mon Jun 28 09:39:43 2004] completed event "button/sleep SLPB 00000080
00000001"
[Mon Jun 28 09:39:43 2004] received event "button/power PWRF 00000080
00000001"
[Mon Jun 28 09:39:43 2004] executing action "/etc/acpi/powerbtn.sh"
[Mon Jun 28 09:39:43 2004] BEGIN HANDLER MESSAGES
[Mon Jun 28 09:39:43 2004] END HANDLER MESSAGES
[Mon Jun 28 09:39:43 2004] action exited with status 0
[Mon Jun 28 09:39:43 2004] completed event "button/power PWRF 00000080
00000001"
[Mon Jun 28 09:40:07 2004] exiting
[Mon Jun 28 09:41:08 2004] starting up
[Mon Jun 28 09:41:08 2004] 3 rules loaded
ballbreaker:/var/log#


Sleeps, wakes & a shutdown... Should acpid do that? (i.e. shouldn't it
eat the power button event that woke it up as a wakeup? Should it even
get that?) Or is it the previous patch for drivers/acpi/sleep/main.c
resetting the IRQ9 to edge triggered that's killing me? (I'll try
removing that now).

[Note, I've recieved a note regarding the wakeup & shutdown problem...
It's a bug perhaps? Does anyone know whether the bug is that acpi
shouldn't get the power button event after the resume? Or is it a bug
that acpid itself doesn't eat the event as we've just resumed (How does
it know the button was to wakeup & wasn't really to shutdown?) or is the
bug in the scripts (unlikely... The 'workaround' I was pointed at
scrapes the log to find out if we've just resumed... But what if the
logfilesystem is full... No log & we'll shutdown anyway, so I'd suspect
acpid myself... Anyone confirm which area is actually responsible?

TIA
Hamish.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.046 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site