All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hamie <hamish@travellingkiwi.com>
To: "Li, Shaohua" <shaohua.li@intel.com>
Cc: linux-kernel@vger.kernel.org, acpi-devel@lists.sourceforge.net
Subject: Re: [ACPI] No APIC interrupts after ACPI suspend
Date: Mon, 28 Jun 2004 21:50:06 +0100	[thread overview]
Message-ID: <40E0847E.4040802@travellingkiwi.com> (raw)
In-Reply-To: <B44D37711ED29844BEA67908EAF36F032D566A@pdsmsx401.ccr.corp.intel.com>

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.

  parent reply	other threads:[~2004-06-28 20:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-28  6:20 No APIC interrupts after ACPI suspend Li, Shaohua
2004-06-28  6:20 ` [ACPI] " Li, Shaohua
     [not found] ` <B44D37711ED29844BEA67908EAF36F032D566A-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-06-28  8:48   ` Hamie
2004-06-28  9:18     ` [ACPI] " Luca Capello
2004-06-28 20:50 ` Hamie [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-06-28  1:35 Li, Shaohua
2004-06-28  1:35 ` Li, Shaohua
2004-06-25 10:48 Matthew Garrett
2004-06-26 16:42 ` [ACPI] " David Eriksson
2004-06-26 18:03   ` Hamie
2004-06-27 17:57     ` Hamie
2004-06-27 18:52       ` Alexander Gran
2004-06-27 19:16         ` Hamie
2004-06-27 20:27           ` Hamie
2004-06-27 22:06           ` Karol Kozimor
2004-06-27 19:22         ` Alexander Gran
2004-06-27 16:27   ` Matthew Garrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40E0847E.4040802@travellingkiwi.com \
    --to=hamish@travellingkiwi.com \
    --cc=acpi-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaohua.li@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.