Install µswsusp:

<code>
sudo apt-get install uswsusp
</code>

Test it:

<code>
sudo s2disk        ## CAUTION: make sure data is saved for this test!
</code>

Download these files:
    * {{:howtos:hal-system-power-hibernate-linux|hal-system-power-hibernate-linux}}
    * {{:howtos:hal-system-power-suspend-linux|hal-system-power-suspend-linux}}

and put them in /usr/lib/hal/scripts/linux:

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


You can run 
<code>
s2disk
s2ram
</code>
to make a quick test of hibernation and suspend.

// Source: http://blog.paulbetts.org/index.php/2007/02/11/fixing-software-suspend-hibernate-with-uswsusp-in-ubuntu-feisty-and-edgy //