Re: [PATCH 2/2] Fix console handling during suspend/resume

Pavel Machek
2006-06-15T20:43:18Z

Hi!

> > Why? We are saving state to memory, we should not need any other
> > devices to do that.
>
> Hell no, we're not.

?

> > Well, for devices that are so complex that userspace support is
> > needed... yes, you are right, separate pass would be
> > needed. Fortunately, such devices are not too common.
>
> "Not too common"?
>
> Having a graphical console is a hell of a lot more common than just about
> any other device I can imagine, with the possible exception of USB these
> days.

Okay, but graphical console means X these days, and -- being userspace
-- needs special casing, anyway.

For fbcon, etc, no, we do not any other devices, so it actually works
okay.

> In fact, done right, if you know the machine powers off, the final suspend
> should literally not be needed. "Remove power globally" is actually a very
> good suspend/shutdown mechanism that doesn't even need any driver support ;)

Actually, that's bad idea; some machines are unable to power down with
devices still running.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html