public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Wilkinson, Alex" <alex.wilkinson-7BNmJD1m9TP299njBJCvBrpzq4S04n8Q@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: ACPI; S5 state; powerbutton->clean shutdown
Date: Fri, 7 Jan 2005 11:26:52 +1030	[thread overview]
Message-ID: <20050107005652.GA17647@squash.dsto.defence.gov.au> (raw)

Hi all,

Can some please recommend to me the correct method in Linux to confirm
whether or not pressing the power-button on an ATX box triggers an ACPI
state S5 (for both 2.6 and 2.4 kernels).

In the FreeBSD world I would do something like:

   #sysctl hw.acpi.power_button_state
   hw.acpi.power_button_state: S5
   
   #grep acpi_button /var/run/dmesg.boot
   acpi_button0: <Power Button> on acpi0

Distributions are Redhat 9.0, Fedora Core 3, and SuSE Enterprise 9.2.

Cheers

 -aW


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt

             reply	other threads:[~2005-01-07  0:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-07  0:56 Wilkinson, Alex [this message]
     [not found] ` <20050107005652.GA17647-670g5dPm81kHVWjHP2o3SMhQixhbPYnYEK66K81epY8@public.gmane.org>
2005-01-07  1:24   ` ACPI; S5 state; powerbutton->clean shutdown Matthew Garrett
2005-01-07  1:30     ` Wilkinson, Alex
     [not found]       ` <20050107013051.GF17647-670g5dPm81kHVWjHP2o3SMhQixhbPYnYEK66K81epY8@public.gmane.org>
2005-01-07 12:46         ` Matthew Garrett
2005-01-10  3:10           ` Wilkinson, Alex
     [not found]             ` <20050110031008.GD24291-670g5dPm81kHVWjHP2o3SMhQixhbPYnYEK66K81epY8@public.gmane.org>
2005-01-10 12:39               ` Matthew Garrett
  -- strict thread matches above, loose matches on Subject: below --
2005-01-07  1:38 Li, Shaohua

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=20050107005652.GA17647@squash.dsto.defence.gov.au \
    --to=alex.wilkinson-7bnmjd1m9tp299njbjcvbrpzq4s04n8q@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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