Re: ACPI: getting front-panel power button to cause shutdown

2006-11-28 Thread David Murray
Hi Tomokazu, On 28/11/06 8:59 am, YONETANI Tomokazu wrote: On Sat, Nov 25, 2006 at 08:04:26PM +, David Murray wrote: I'm trying to get the front-panel power button to shut the system down (cleanly). Pressing the power button delivers an interrupt to the acpi driver... so the first step

Re: ACPI: getting front-panel power button to cause shutdown

2006-11-28 Thread YONETANI Tomokazu
On Sat, Nov 25, 2006 at 08:04:26PM +, David Murray wrote: > I'm trying to get the front-panel power button to shut the system down > (cleanly). Currently when I press it, nothing discernible happens (no > console messages, nothing logged, and certainly no shutdown). Some of machines around

Re: ACPI: getting front-panel power button to cause shutdown

2006-11-26 Thread David Murray
On 26/11/06 3:25 pm, Justin C. Sherrill wrote: I realize I'm asking about basic things, but it's always good to be sure: Absolutely! your power button works to turn the system on, correct? Yes, I couldn't start the system otherwise! :-) And it is wired to the motherboard? Yes, and (

Re: ACPI: getting front-panel power button to cause shutdown

2006-11-26 Thread Justin C. Sherrill
On Sun, November 26, 2006 9:50 am, David Murray wrote: > On 26/11/06 1:29 pm, Johannes Hofmann wrote: > Thanks for the suggestion, Johannes. However, it was already set to S5 > (I should have said so in my original post). > > I'm not sure if I've missed some piece of configuration necessary to ge

Re: ACPI: getting front-panel power button to cause shutdown

2006-11-26 Thread David Murray
On 26/11/06 1:29 pm, Johannes Hofmann wrote: David Murray <[EMAIL PROTECTED]> wrote: I'm trying to get the front-panel power button to shut the system down (cleanly). Currently when I press it, nothing discernible happens shutdown -p now, and acpiconf -s 5 You might try: sysctl -w hw.acpi.

Re: ACPI: getting front-panel power button to cause shutdown

2006-11-26 Thread Johannes Hofmann
David Murray <[EMAIL PROTECTED]> wrote: > Would anyone be good enough to help a DragonFly newbie with an ACPI > question? > > I'm trying to get the front-panel power button to shut the system down > (cleanly). Currently when I press it, nothing discernible happens (no > console messages, nothi

ACPI: getting front-panel power button to cause shutdown

2006-11-25 Thread David Murray
Would anyone be good enough to help a DragonFly newbie with an ACPI question? I'm trying to get the front-panel power button to shut the system down (cleanly). Currently when I press it, nothing discernible happens (no console messages, nothing logged, and certainly no shutdown). shutdown