1
linux/Documentation/power
Andres Salomon 8f4ce8c32f serial: turn serial console suspend a boot rather than compile time option
Currently, there's a CONFIG_DISABLE_CONSOLE_SUSPEND that allows one to stop
the serial console from being suspended when the rest of the machine goes
to sleep.  This is incredibly useful for debugging power management-related
things; however, having it as a compile-time option has proved to be
incredibly inconvenient for us (OLPC).  There are plenty of times that we
want serial console to not suspend, but for the most part we'd like serial
console to be suspended.

This drops CONFIG_DISABLE_CONSOLE_SUSPEND, and replaces it with a kernel
boot parameter (no_console_suspend).  By default, the serial console will
be suspended along with the rest of the system; by passing
'no_console_suspend' to the kernel during boot, serial console will remain
alive during suspend.

For now, this is pretty serial console specific; further fixes could be
applied to make this work for things like netconsole.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Acked-by: "Rafael J. Wysocki" <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Nigel Cunningham <nigel@suspend2.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:19 -07:00
..
00-INDEX Add Documentation/power/00-INDEX 2007-10-17 08:43:06 -07:00
basic-pm-debugging.txt serial: turn serial console suspend a boot rather than compile time option 2007-10-18 14:37:19 -07:00
devices.txt
drivers-testing.txt Fix wrong filename reference in drivers-testing.txt 2007-10-17 08:43:00 -07:00
freezing-of-tasks.txt freezer: do not send signals to kernel threads 2007-10-18 14:37:19 -07:00
interface.txt PM: Rename struct pm_ops and related things 2007-10-18 14:37:18 -07:00
notifiers.txt PM: introduce hibernation and suspend notifiers 2007-07-19 10:04:42 -07:00
pci.txt PCI: remove useless pci driver method 2007-07-11 16:02:08 -07:00
s2ram.txt [PATCH] s2ram debugging documentation 2006-12-07 08:39:28 -08:00
states.txt power management: remove firmware disk mode 2007-04-30 16:40:40 -07:00
swsusp-and-swap-files.txt [PATCH] swsusp: update userland interface documentation 2006-12-07 08:39:27 -08:00
swsusp-dmcrypt.txt
swsusp.txt Freezer: make kernel threads nonfreezable by default 2007-07-17 10:23:02 -07:00
tricks.txt
userland-swsusp.txt PM: Separate hibernation code from suspend code 2007-05-09 12:30:48 -07:00
video_extension.txt
video.txt