Re: Applications & ACPI events

Pavel Machek
2003-10-06T13:05:34Z

Hi!

> > > > 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).
> >
> > Actually X get console switch event, so they should
> > give control of VGA to the kernel...
>
> Exactly, you have to switch to a console. That's the problem.

???

Kernel tells X to switch to console; there's interface to say that,
and we are using it. It should just work.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

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