Re: Resuming from software suspend

From: Bas Mevissen
Date: Fri Sep 19 2003 - 08:35:55 EST


Måns Rullgård wrote:

What I want to do is boot, do some things, and then resume the
suspended state without rebooting between. Is that possible? I don't
see any reason why it should be impossible to do, even if it's not
currently supported.


Just after booting, you know the state of the hardware (just initialised for most things that are not used to /boot/start resume/ from). You need to get the hardware in a sort of just-booted state before revering to the swsusp image you saved earlier because the drivers (might) expect the hardware to be in a certain state when they are started up by swsusp.

So you have to be carefull about the hardware (and not only the filesystem) state just before reverting to the swsusp image.

Bas.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/