public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI; S5 state; powerbutton->clean shutdown
@ 2005-01-07  0:56 Wilkinson, Alex
       [not found] ` <20050107005652.GA17647-670g5dPm81kHVWjHP2o3SMhQixhbPYnYEK66K81epY8@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Wilkinson, Alex @ 2005-01-07  0:56 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: ACPI; S5 state; powerbutton->clean shutdown
@ 2005-01-07  1:38 Li, Shaohua
  0 siblings, 0 replies; 7+ messages in thread
From: Li, Shaohua @ 2005-01-07  1:38 UTC (permalink / raw)
  To: Wilkinson, Alex, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

>
>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).
>
Change your acpid script. In FC2, the script is in /etc/acpi/events

Thanks,
Shaohua


-------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-10 12:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07  0:56 ACPI; S5 state; powerbutton->clean shutdown Wilkinson, Alex
     [not found] ` <20050107005652.GA17647-670g5dPm81kHVWjHP2o3SMhQixhbPYnYEK66K81epY8@public.gmane.org>
2005-01-07  1:24   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox