creating hybrid-sleep on linux
Ok, my laptop can hibernate and suspend, what i want is to be able to copy the contents of my RAM to my HDD swap space but then have the machine enter s3 sleep, could someone help me write a script or give me pointers as to what i need to re-code to make this work?
|
Something like
Code:
dd if=/dev/mem of=/home/username/mem.bin bs=1024 Code:
acpiconf -s3 DD is also unforgiving. look at man DD and http://www.linuxquestions.org/linux/...ything_With_DD http://www.linuxquestions.org/questi...ommand-362506/ |
unfortunately if i do this then it destroys my swapfs on that image making it impossible to resume from, i had another idea involving pm hooks, i thought that i may be able to place a hook at the right time just before shutdown that told it to suspend to ram
|
All times are GMT -5. The time now is 08:49 PM. |