Re: Applications & ACPI events

Ducrot Bruno
2003-09-30T17:36:46Z

On Tue, Sep 30, 2003 at 05:59:26PM +0100, Alan Hourihane wrote:
> When using ACPI to shutdown the machine to disk or memory, obviously an
> application can read events from /proc/acpi/events to see what to do.
>
> How does ACPI in the kernel wait for applications to do what they
> need to when receiving an ACPI event, as it seems the kernel shuts down
> everything pretty quickly ?
>

AFAIK, there is no support for suspending userspace drivers (like X).
And IHMO it is not the task to ACPI for doing so, but to the system
manager via the 'New Device Driver Model', so you can have more generic
methods for that kind of stuff (APM, ACPI, PMU for apple, etc).

You should ask Patrick Mochel (or Pavel Machek), see linux/CREDITS for
correct email address, in order to get more details.

--
Ducrot Bruno

-- Which is worse: ignorance or apathy?
-- Don't know. Don't care.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.