Re: Applications & ACPI events

Ducrot Bruno
2003-10-13T16:21:33Z

On Mon, Oct 13, 2003 at 05:26:37PM +0200, Pavel Machek wrote:
> Hi!
>
> > > X does _not_ do full save/restore, at least not for all
> > > drivers. vesafb does no saving, and generic vga driver is also
> > > incapable of full save/restore. Not sure about others.
> >
> > That exactly my point. And I think it should not do full save/restore
> > on only VT switch, but we may try to have a better fine grained stuff for,
> > something like 'hey, X we have to go S3, please consider'.
>
> Such interface would be pretty ugly.. There are at least these states
> kernel can enter:
>
> S1
> S3
> swsusp
> S4bios
> apm -s
> apm -S
>
> . And anyway not doing complete hw initialization on console switch is
> wrong. How can X know that the game on tty3 is not playing with hw
> acceleration?

Ok, I see your point now.

--
Ducrot Bruno

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