PDA

View Full Version : [ubuntu] Hibernate Mode



eipapp
January 15th, 2010, 02:27 PM
Running Ubuntu 9.1. Have 512 Mb of Ram and have allocated 2Gb for swap partition. I am running Win XP on same machine. Cannot get computer to go into hibernate mode while in Linux. When I click on Hibernate the computer begins going into hibernate but then just as quickly comes back up to normal running mode.
Can anyone help ?

john newbuntu
January 15th, 2010, 02:41 PM
What are your outputs after running the following in a console?

cat /sys/power/disk
cat /sys/power/state
cat /sys/power/pm_test

eipapp
January 15th, 2010, 03:11 PM
after disk:
"(platform) test testproc shutdown reboot"

after state:
"standby mem disk"

after pm-test:
"(none) core processor platform devices freezer"

john newbuntu
January 15th, 2010, 03:28 PM
Make the following change and then try hibernate

sudo echo shutdown > /sys/power/disk
sudo echo disk > /sys/power/state

eipapp
January 15th, 2010, 05:58 PM
Tried this but after first line (/sys/power/disk) got the message "Permission Denied"

Do you have a work around ???

Thanks,

hashky
January 15th, 2010, 06:16 PM
I have the same problem. So I tried to change the permissions so that the commands would run. I can change the permissions to allow read/write for the owner but the permissions do not stay.

And, I cannot change the files either.

Any suggestions?

hashky

john newbuntu
January 17th, 2010, 07:11 AM
Ok do this:
sudo su
and then type the commands I gave you.

eipapp
January 17th, 2010, 05:45 PM
Sorry but that didn't work either.
After typing the first line you gave me I get the following:

bash: /sys/power/disk: Permission Denied

I checked and I am checked as "Administrator the system", for what it's worth.

drewsus
January 17th, 2010, 07:06 PM
out of curiousity, might you have an SD card in your computer?

eipapp
January 17th, 2010, 08:28 PM
No, I do not.

drewsus
January 17th, 2010, 09:05 PM
kk, I just had this problem before and it was for that reason

hashky
January 25th, 2010, 06:51 AM
I found out that to get the commands to work you have to type
Sudo -s

Enter your password and then you have root permissions. The commands will now work.

This did not work for me.

My question. How do I revert back?

cat /sys/power/disk is the same as before.
[platform] test testproc shutdown reboot

cat /sys/power/state changed.
mem disk

How do I get standby back in before mem disk?

hashky
February 28th, 2010, 06:05 AM
An update:

Ubuntu 9.10 on Dell Inspiron 1501 laptop.
I finally got Suspend to work. Sometimes the brightness has to be adjusted on return from the Suspend Mode. Hibernate does not work.

Ubuntu 9.10 on Dell 4400 desktop. Neither Suspend or Hibernate work after install or on Live CD. Suspend and Hibernate both work under Ubuntu 9.04 and LinuxMint 8. When I install Samba on Ubuntu 9.04, Suspend and Hibernate no longer work.

Ubuntu 9.10 on Asus Pentium 4 home built desktop system. Suspend and Hibernate both lock up the computer and the hard drive is continuously busy. (That can't be good for the hard drive.) I plan to install Ubuntu 9.04 on this computer next week.

All 3 computers are in a dual boot arrangement with Windows XP.

Ron Spruell