Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] suspend: update documentation

Update suspend documentation.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Pavel Machek and committed by
Linus Torvalds
7e958883 7dc24db1

+15 -1
+7
Documentation/power/swsusp.txt
··· 311 311 system is shut down or suspended. Additionally use the encrypted 312 312 suspend image to prevent sensitive data from being stolen after 313 313 resume. 314 + 315 + Q: Why we cannot suspend to a swap file? 316 + 317 + A: Because accessing swap file needs the filesystem mounted, and 318 + filesystem might do something wrong (like replaying the journal) 319 + during mount. [Probably could be solved by modifying every filesystem 320 + to support some kind of "really read-only!" option. Patches welcome.]
+8 -1
Documentation/power/video.txt
··· 46 46 POSTing bios works. Ole Rohne has patch to do just that at 47 47 http://dev.gentoo.org/~marineam/patch-radeonfb-2.6.11-rc2-mm2. 48 48 49 + (8) on some systems, you can use the video_post utility mentioned here: 50 + http://bugzilla.kernel.org/show_bug.cgi?id=3670. Do echo 3 > /sys/power/state 51 + && /usr/sbin/video_post - which will initialize the display in console mode. 52 + If you are in X, you can switch to a virtual terminal and back to X using 53 + CTRL+ALT+F1 - CTRL+ALT+F7 to get the display working in graphical mode again. 54 + 49 55 Now, if you pass acpi_sleep=something, and it does not work with your 50 56 bios, you'll get a hard crash during resume. Be careful. Also it is 51 57 safest to do your experiments with plain old VGA console. The vesafb ··· 70 64 ------------------------------------------------------------------------------ 71 65 Acer Aspire 1406LC ole's late BIOS init (7), turn off DRI 72 66 Acer TM 242FX vbetool (6) 73 - Acer TM C300 vga=normal (only suspend on console, not in X), vbetool (6) 67 + Acer TM C110 video_post (8) 68 + Acer TM C300 vga=normal (only suspend on console, not in X), vbetool (6) or video_post (8) 74 69 Acer TM 4052LCi s3_bios (2) 75 70 Acer TM 636Lci s3_bios vga=normal (2) 76 71 Acer TM 650 (Radeon M7) vga=normal plus boot-radeon (5) gets text console back