LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
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).

Notices



Reply
 
Search this Thread
Old 02-20-2010, 08:34 AM   #1
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

Rep: Reputation: 39
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, 12:18 PM   #2
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,773

Rep: Reputation: 197Reputation: 197
Something like
Code:
dd if=/dev/mem of=/home/username/mem.bin bs=1024
Code:
acpiconf -s3
Use you own parameters for where you write to.

DD is also unforgiving.
look at man DD

and

http://www.linuxquestions.org/linux/...ything_With_DD
http://www.linuxquestions.org/questi...ommand-362506/
 
Old 02-27-2010, 09:30 AM   #3
Person_1873
Member
 
Registered: Sep 2007
Location: Australia
Distribution: Arch Linux
Posts: 489

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


Reply

Tags
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 09:06 AM
Anyone running Linux on a Dell Studio Hybrid? taylorkh Linux - Hardware 5 03-15-2009 05:52 PM
Linux and DVB with AverTV Cardbus Hybrid jaws_tas Linux - Hardware 1 01-07-2006 02:44 PM
Searching for Server (BOOTP/DHCP) <sleep> <sleep> .. .. Eileen Linux - Networking 12 10-21-2005 02:14 AM


All times are GMT -5. The time now is 09:38 PM.

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