On Friday, 6 October 2006 15:54, Stefan Seyfried wrote: > Hi, > > i just had an idea :-) > > Is it possible, by using the uswsusp infrastructure, to freeze everything > but the s2ram process during suspend to RAM?
Yup. > I mean the following: > > start s2ram > - chvt away from X > - freeze everything else > - save video state etc. > - echo mem > /sys/power/state ioctl(snapshot_fd, SNAPSHOT_S2RAM, 0) > - post video etc. > - thaw everything else > > When doing it this way, nothing could interfere with video POST (on some > machines the VBE calls take some seconds, the user might already press > ALT-F7 in the meantime), the whole video resume business would be "almost" > in-kernel. > > Is this a good idea? Is it doable? We'll need to save the video state to something like a swap file, but otherwise it seems doable. Greetings, Rafael -- You never change things by fighting the existing reality. R. Buckminster Fuller ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel