Here is How To for you,hope this will solve your issue.
[HowTo]: Fix suspend and hibernate on laptops
First get uswsusp:
- Code: Select all
sudo apt-get install uswsusp
Now, test out suspend to see if it works:
- Code: Select all
sudo s2ram
If this does not work, you can use:
- Code: Select all
sudo s2ram --force
Next, try out hibernate:
- Code: Select all
sudo s2disk
Now, if one or both of these commands work and you would like to use them, we need to change the command on the shutdown menu to this.
Note: This part is for FEISTY AND GUTSY ONLY!!! The scripts in Edgy are stored in "/usr/share/hal/scripts" and have different names AFAIK. If someone running Edgy could tell me what the files names are I will add it here.
First, backup your original files:
- Code: Select all
sudo cp /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux.bak
- Code: Select all
sudo cp /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux.bak
Now, edit these two files and replace all the code with this:
hal-system-power-suspend-linux
- Code: Select all
sudo gedit /usr/lib/hal/scripts/linux/hal-system-power-suspend-linux
- Code: Select all
#!/bin/sh
/sbin/s2ram --force
hal-system-power-hibernate-linux
- Code: Select all
sudo gedit /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux
- Code: Select all
#!/bin/sh
/sbin/s2disk
if this breaks stuff, just restore the backup files you made.