Hi, On 17/01/12 20:40, Jonathan Nieder wrote:
Bingo! The PC doesn't come back up after this, so it's a difference between S4 and S5. Stupid question: do you know if it would be possible to shutdown (going through init and all this) into S4?Eric Lavarde wrote:Could it be that the BIOS overwrites my command line entry at shutdown time, but not at suspend time?Sure, I can believe that. It's also possible that when you try to enter S5, something goes wrong and the machine ends up powering off completely and then the BIOS writes to the RTC at bootup. Here's an experiment to try: echo shutdown>/sys/power/disk echo disk>/sys/power/state It performs a suspend-to-disk but enters S5 instead of S4.
After that: maybe RTC or ACPI folks can help (see the MAINTAINERS file[1], and please cc me or this bug log if contacting them so we can track it). But I'd be more inclined to work on getting
Will do. Thanks a lot for your help so far!
I will also follow-up on this, fine with me, but I'm more a friend of clean shutdowns :-) so it'll be either as fallback strategy or for the community.suspend-to-disk working without unloading the media capture driver first.
Cheers, Eric
[1] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob_plain;f=MAINTAINERS