linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Enno Fennema <e.fennema@tiscali.nl>
To: linux-acpi@vger.kernel.org
Subject: Re: RTC or button wakeup
Date: Wed, 02 Jul 2008 12:42:50 +0200	[thread overview]
Message-ID: <486B5BAA.6040101@tiscali.nl> (raw)
In-Reply-To: <20080701174031.GC24605@khazad-dum.debian.net>

Henrique de Moraes Holschuh wrote:
> On Sun, 29 Jun 2008, Enno Fennema wrote:
>> Could anyone suggest a way to determine in a (shell) program whether my  
>> computer was switched on by RTC alarm or by me pressing the power button.
> 
> Check the wakeup reason in dmidecode.  There is a very low, but non-zero
> chance that the BIOS implemented it properly, and it would tell you if it
> was a power-button wakeup, or rtc wakeup.
> 
Unfortunately my BIOS makes no such distinction.

Thanks for your suggestion which should have worked (as so many things).

Regards,
Enno

      reply	other threads:[~2008-07-02 10:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-29 16:10 RTC or button wakeup Enno Fennema
2008-06-30  1:06 ` Zhao Yakui
2008-06-30 14:23   ` Enno Fennema
2008-07-01  6:26     ` Zhao Yakui
2008-07-01 17:40 ` Henrique de Moraes Holschuh
2008-07-02 10:42   ` Enno Fennema [this message]

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=486B5BAA.6040101@tiscali.nl \
    --to=e.fennema@tiscali.nl \
    --cc=linux-acpi@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).