-   Linux - Laptop and Netbook (
-   -   creating hybrid-sleep on linux (

Person_1873 02-20-2010 07:34 AM

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?

teckk 02-23-2010 11:18 AM

Something like

dd if=/dev/mem of=/home/username/mem.bin bs=1024

acpiconf -s3
Use you own parameters for where you write to.

DD is also unforgiving.
look at man DD


Person_1873 02-27-2010 08:30 AM

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:14 AM.