Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 02-20-2010, 07:34 AM   #1
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 496

Rep: Reputation: 40
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?
Old 02-23-2010, 11:18 AM   #2
Senior Member
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,871

Rep: Reputation: 253Reputation: 253Reputation: 253
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

Old 02-27-2010, 08:30 AM   #3
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 496

Original Poster
Rep: Reputation: 40
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


hdd, hibernate, ram, safe, sleep, swap, uswsusp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux - DOS - hybrid? HitmanIP7 Linux - General 31 02-20-2010 08:06 AM
Anyone running Linux on a Dell Studio Hybrid? taylorkh Linux - Hardware 5 03-15-2009 04:52 PM
Linux and DVB with AverTV Cardbus Hybrid jaws_tas Linux - Hardware 1 01-07-2006 01:44 PM
Searching for Server (BOOTP/DHCP) <sleep> <sleep> .. .. Eileen Linux - Networking 12 10-21-2005 01:14 AM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration