public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Marc MERLIN <marc@merlins.org>
To: Daniel Drake <dsd@laptop.org>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	linux-acpi@vger.kernel.org, Zhang Rui <rui.zhang@intel.com>
Subject: Re: How to detect reason for ACPI wakeup?
Date: Mon, 23 Apr 2012 13:24:50 -0700	[thread overview]
Message-ID: <20120423202450.GD11480@merlins.org> (raw)
In-Reply-To: <CAMLZHHRmRWUdFxPdhQ3ZE==NXFEMTRG2UKK1=aTPbqa6YMLoKg@mail.gmail.com>

On Mon, Apr 23, 2012 at 02:07:28PM -0600, Daniel Drake wrote:
> On Mon, Apr 23, 2012 at 2:03 PM, Bjorn Helgaas <bhelgaas@google.com> wrote:
> >> My HTPC goes to sleep (S3) and resumes just fine (via RTC or WOL).
> >>
> >> My problem is that I need to know whether it woke up from RTC or WOL and I
> >> find nothing in dmesg that gives me a clue for the wakeup reason.
> >>
> >> Is it something that I can get from somewhere?
> >
> > http://marc.info/?l=linux-acpi&m=133478932527097&w=2 is a similar sort
> > of request; maybe something similar could be done.
> 
> Here's how you can detect RTC wakeup:
> http://patchwork.ozlabs.org/patch/153612/

Thanks for the patches.

Do you know if either is likely to ever make it to mainline?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

  reply	other threads:[~2012-04-23 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-17 17:17 How to detect reason for ACPI wakeup? Marc MERLIN
2012-04-23 20:03 ` Bjorn Helgaas
2012-04-23 20:07   ` Daniel Drake
2012-04-23 20:24     ` Marc MERLIN [this message]
2012-04-23 20:26       ` Daniel Drake

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=20120423202450.GD11480@merlins.org \
    --to=marc@merlins.org \
    --cc=bhelgaas@google.com \
    --cc=dsd@laptop.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=rui.zhang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox