Jump to content

Tips&Tricks Hibernation (via software?)


aru
 Share

Recommended Posts

 

ltaljaard

Newbie

Joined: 08 Jul 2002

Posts: 1

 

Post Posted: Tue Jul 09, 2002 7:54 am Post subject: Hibernation (via software?)

_________________________________________________________________

 

 

I have a Compaq Presario 2700 laptop and I want to be able to hibernate my system as is possible in Windows XP/2000, without making use of the "factory" hibernate features. Is there any software out there that will allow this? It doesn't need to hibernate from within X, but that would be nice. Thanks in advance for your help!

 

 

sisob

Senior user

Joined: 02 May 2002

Posts: 207

Location: Ireland

Post Posted: Tue Jul 09, 2002 8:32 am Post subject:

_________________________________________________________________

 

 

I like to use suspend to ram on my desktop as described here:

http://sisob.dyndns.org/index.php?section=...ndrake&page=apm

 

I've never got a full hibernate(suspend to disk) to work

 

 

theYinYeti

Senior user

Joined: 13 May 2002

Posts: 452

Location: Cannes (France)

Post Posted: Tue Jul 09, 2002 10:32 am Post subject:

_________________________________________________________________

 

 

You may try the kernel patch named swsusp (Software Suspend). It does exactly what you want. According to its authors, it works but it is not perfectly stable. So you may have to try and see if it is OK with your machine.

 

The URL is http://falcon.sch.bme.hu/~seasons/linux/swsusp.html but it may be easier to try an already patched kernel (or a patch-set based on the standard kernel), such as version 3.3 of WOLK (http://wolk.sf.net/).

 

I never tried it, because I never had the courage to try any other kernel than the one shipped with Mandrake. Please report your experience, if you try.

 

Yves.

 

 

theYinYeti

Senior user

Joined: 13 May 2002

Posts: 452

Location: Cannes (France)

Post Posted: Tue Jul 09, 2002 10:42 am Post subject:

_________________________________________________________________

 

 

sisob wrote:

I like to use suspend to ram on my desktop as described here:

http://sisob.dyndns.org/index.php?section=...ke&page=apm

 

I do something quite similar, but more complete, I think. I create a file suspend.sh which contains:

 

Code:

#!/bin/bash

# wait 2 seconds because you often move the mouse

# when you click an icon and release the mouse

sleep 2s

sudo xset force suspend &

sudo apm -S  

 

Then I just have to relate this script to an icon (eg in a Gnome toolbar). I write this from memory so I'm not sure about some things: I don't know if 'xset ...' is the right syntax, and I don't know if I use 'force suspend' of 'force standby' for xset; I'm not sure as well if I use '-s' or '-S' as the option to apm. But the general idea is that I use 2 commands, the result being to make the screen sleep, and the computer power off some of its part (the USB buses are powered off, so the mouse is off). I wake up the computer with the down-arrow key (the safest one I think)(my keyboard is PS/2, not USB).

 

BTW, what is the difference between all modes? (suspend, standby...)

 

Yves.

 

 

 

Editor's note: This thread was originally posted at the old MUB (Mandrake User Board at club-nihil). This post is the result of a 99% automatic backup, so due to its nature some text may be lost (improbable but possible).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...