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

Pavel Machek
2006-06-14T23:32:33Z

Hi!

> > Actually, no, it is not.
> >
> > It happens to be almost okay for s2ram, but it will mean no messages
> > for suspend to disk... and that is bad.
> >
> > Console subsystem should be stopped when console device is stopped,
> > and restarted when console device is restarted.
>
> Well, I don't know. In ususpend we only use pm_prepare/restore_console()
> during resume and we can live without that at all.

Linus has examples why console stopping is neccessary (netconsole
case)... so I do not think we can live without that.

Cleanest solution would be if console driver simply responded to
device_suspend() and do all neccessary stuff...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html