On Mit, 2005-12-07 at 10:05 +0100, Tony Balinski wrote: > However, I have a need for a fast resume-from-suspend functionality. > Currently, if you suspend to disk (I've been trying the kernel's > swsusp functionality, not the newer suspend2), when you resume, the > boot loader runs, then loads the kernel, then the kernel realises that > the system has previously been suspended then reloads itself. I was > wondering if a custom boot loader could be built to detect the > suspended state, then restore that state without having to go to the > trouble of loading the kernel. Looking at boot screens, this looks > like it could cut down start times by about 60%. Does anybody know if > this avenue has been explored at all?
No idea whether that has been attempted but have you tried to use suspend-to-ram (i.e. ACPI S3)? Resuming from S3 only takes a couple of seconds and it normally doesn't need that much power while being suspended (less than .5 W). The only disadvantage from my perspective is that not all laptops are supported - hence that's a crucial factor when buying one. Regards, Jürg -- Jürg Billeter <[EMAIL PROTECTED]> -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
