Re: [RFC][PATCH -mm] swsusp userland interface: additional ioctl

Rafael J. Wysocki
2006-01-29T22:46:58Z

Hi,

On Sunday 29 January 2006 22:57, Pavel Machek wrote:
> > The appended patch provides an additional ioctl() for the swsusp userland
> > interface that will allow the suspending and/or resuming utilities to change
> > the kernel log level at the time of suspend/resume (or even set it to 0 if
> > they are going to use some frame buffer graphics etc.).
>
> klogd can already change loglevel... It should be possible to use that
> to silence suspend, no?

Well, no. Currently the kernel changes the log level to 10 unconditionally
in pm_prepare_console() (that's the reason for the patch, BTW).

Rafael