Re: [PATCH 10/13] PM: earlysuspend: Add console switch when user requested sleep state changes.

Arve Hjønnevåg
2009-02-05T09:37:53Z

On Thu, Feb 5, 2009 at 1:03 AM, Pavel Machek <pavel@ucw.cz> wrote:
>> + Register early suspend handler to perform a console switch to
>> + when user-space should stop drawing to the screen and a switch
>> + back when it should resume.
>
> I could not parse english here.

The "to"on the first line should be removed.

> Actually, I'd hope that system where you control everything (such as
> android) would not need to switch consoles. Console switch was
> invented as a workaround for X owning the hardware....

We don't anymore, but if you enable console support (for debugging) we
support it.

> ...and how is it different from current console switching we do on PC?

It is not, but we turn off the framebuffer before the normal suspend
path so we need the switch here.

--
Arve Hjønnevåg