Get suspend/hibernate working fast in Ubuntu Feisty Fawn (7.04) and Edgy Eft (6.10)

Welcome to Linux Screw! If you're new here, you may want to subscribe our RSS feed.

Linux sleepAfter I upgraded to Ubuntu Feisty Fawn 7.04 Linux distribution I noticed that one of my favorite laptop features suspend/hibernate worked quite baldly and slowly. It took up to few minutes to get laptop sleeping and then awake it. Both default suspend and hibernate features are cheesy in this Ubuntu version. The worst thing I faced was that after I got laptop sleeping and put it into my bag it was still working. This situation caused laptop overheating.

Thanks to heaven there is alternative suspend/hibernate utility for Ubuntu OS - uswsusp (I really don’t know who gave such a name for it). To get it working just install it with apt-get or aptitude (I recommend aptitude) :

sudo aptitude install uswsusp

When it’s done it would be great if you test it before making it default suspend/hibernate engine:

sudo s2disk

This will hibernate your system, to check suspend feature execute:

sudo s2ram
or
sudo s2ram -f

Working well? Great! Let’s make it default (including Gnome logout dialog). First of all download these files:

hal-system-power-suspend-linux
hal-system-power-hibernate-linux

Then backup Ubuntu’s original files to your Desktop by commands:

cp /usr/lib/hal/scripts/linux/ hal-system-power-suspend-linux ~/Desktop
cp /usr/lib/hal/scripts/linux/ hal-system-power-hibernate-linux ~/Desktop

Now it’s time to make uswsusp to be default in the system:

sudo cp hal-system-* /usr/lib/hal/scripts/linux/
sudo chmod 755 /usr/lib/hal/scripts/linux/*

Note: if you use Edgy just replace /usr/lib/hal/scripts/linux/ with /usr/share/hal/scripts.

Now you can use suspend/hibernate features normally without any obstacles :)

You may also be interested in:
EV-DO Internet access with Ubuntu Linux
Review of sticky notes applications for GNOME
Video conference between Linux and Windows users
Ubuntu Linux and your Apple iPod
Debian/Ubuntu Linux apt-get vs. aptitude

 
 
» You might also be interested in the following articles:
Make a copy of virtual machine with Vmware Server
Ubuntu Feisty Fawn at Dell Inspiron 1501
Vmware Server at Ubuntu Feisty 7.04
Popular Linux bittorrent clients comparison
Dell shares custom-tailored Ubuntu Feisty for it’s laptops



» Want to stay up to date? Subscribe to our E-MAIL or RSS feed!


9 Responses to “Get suspend/hibernate working fast in Ubuntu Feisty Fawn (7.04) and Edgy Eft (6.10)”


  1. 1 Luis Suarez

    Hi.

    Just to tell 2 things:

    1st. Yuo have a typpo in:sudo aptitute install uswsusp

    should be aptitude :D

    2nd. Thanks for this tip

    Luis

  2. 2 artiomix

    Wow! Thank you, Luis Suarez! Typo is fixed now ;)

  3. 3 Max

    Hi artiomix,

    just wanted to say thank you for that awesome hint to uswsusp! That package got my suspend/hibernate back working after the default system stopped working on my laptop after an upgrade to Feisty.

    Cheers!
    Max

  4. 4 artiomix

    Hello Max,

    Nice to know that uswsusp tip is useful for you! Thank you for commenting, it’s appreciated.

    Cheers! :)

  5. 5 Amresh

    hey there,

    cool tip.. thanks a lot!!

  6. 6 artiomix

    You’re welcome, Amresh! :D

  7. 7 bitumen

    works on my personal computer
    thanks of the tutorial

  8. 8 Zuluboy

    Do I need to have a swap partition for this to work?

  1. 1 code.web.interaction:Business » Blog Archive » Schnelleres Hibernate mit Ubuntu

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word




Friendly Sites:Who is behind Linux Screw?
Aspiring Sysadmin | GeekyBits³ | Bash Cures Cancer | TOTMS
Linux Operating System | Small Linux Deployments | My SysAd Blog
The Danesh Project | ZEPY | Linux config Wiki | Planet Sysadmin
The Sys Admin | {buhay sysad} | a non-geek's linux notes
Linux HOWTOs, Tutorials & Projects with Adam Palmer | LinuxAlt.Com
My name is Artem Nosulchik (artiomix AT gmail DOT com) and I'm Linux/Unix, Cisco systems engineer. The main idea of Linux Screw is to share relevant knowledge, skills and observations over The Web. Here you can find a lot of information related to different Linux distributions, FreeBSD, IOS as well as a other Open Source around staff. Read more ››