Re: Applications & ACPI events

Karol Kozimor
2003-10-13T18:59:14Z

Thus wrote Pavel Machek:
> > It's also unncessary for X to do a full save/restore of the video card on
> > every VT switch. I personally find it annoying to wait a second or two
> > when switching from X to the console.
> What if game or another X server is running on different console.

I think Pavel is right in this sense, but aside from that it would be
extremely convenient to be able to suspend and resume directly from X,
without VT switching. I personally don't care if I have to wait additional
4 seconds of VT switch when resuming from S4, but the same delay is
unacceptable for S1, and even S3 (remember what ACPI spec says about
timings). That's why we really need a way for kernel to tell the userspace
(at least X) that a suspend / resume cycle is going on.

The hard part is on the X side. Given X's development cycle, we can expect
such a mechanism by the time 2.8 is ready :(

Best regards,

--
Karol 'sziwan' Kozimor
sziwan-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org