RE: Let init know user wants to shutdown

Grover, Andrew
2001-04-11T17:09:11Z

I'm hesitant to do this, since 1) You can put those printk's in yourself to
find out if your particular system is working and 2) You can just cat
/proc/sys/event, hit a button, and you should see output if it works.

Regards -- Andy

> From: John Fremlin [mailto:chief@bandits.org]

> "Grover, Andrew" <andrew.grover@intel.com> writes:
>
> > This is not correct, because we want the power button to be
> > configurable. The user should be able to redefine the power
> > button's action, perhaps to only sleep the system. We currently
> > surface button events to acpid, which then can do the right thing,
> > including a shutdown -h now (which I assume notifies init).
>
> That's just fine and dandy, but
>
> [...]
>
> > > + printk ("acpi: Power button pressed!\n");
>
> [...]
>
> > > + printk("acpi: Sleep button pressed!\n");
>
> Do you think you could keep the above part of the patch? It would be
> nice to know how much of ACPI was actually working ;-)