View previous topic :: View next topic |
Author |
Message |
sumpubu n00b
Joined: 23 Sep 2006 Posts: 2
|
Posted: Thu May 24, 2007 8:42 pm Post subject: [SOLVED] Gnome hibernate button does nothing |
|
|
I recently upgraded my kernel to 2.6.21-gentoo-r1. This time around, I decided to try the Software Suspend feature, and it works! I can type in Code: | echo disk > /sys/power/state | and my laptop hibernates and comes back up just fine.
I noticed that Gnome 2.16.2 gives me a Hibernate button in the shutdown menu. However, when I click it, I get a window with no title that has a light bulb, the label "Power Manager", and a close button.
After some research, I found the hal scripts that handle power management. /usr/share/hal/scripts/hal-system-power-hibernate will hibernate my system. I changed /sys/power/state to 0666 so I can hibernate the system as a non-root user. Gnome still gives me that "Power Manager" window.
Any ideas?
Last edited by sumpubu on Fri May 25, 2007 3:52 am; edited 1 time in total |
|
Back to top |
|
|
pizzach Apprentice
Joined: 28 Aug 2006 Posts: 195
|
Posted: Thu May 24, 2007 9:22 pm Post subject: |
|
|
First of all, you should not have needed to change the permissions of the hal scripts. Have you tried emerging hibernate-script? It gives you the hibernate and hibernate-ram commands which the hal scripts can use. |
|
Back to top |
|
|
sumpubu n00b
Joined: 23 Sep 2006 Posts: 2
|
Posted: Fri May 25, 2007 3:51 am Post subject: |
|
|
Thanks for the reply pizzach.
I emerged hibernate-script, but that didn't fix the problem. I decided to re-emerge gnome-extra/gnome-power-manager to see if that would do anything. It didn't, but at the end of the emerge was this message
Code: |
* Updating icons cache ... [ ok ]
* Updating scrollkeeper database ...
* You will need the masked pam_console to be able to
* suspend/hibernate, or you will need to:
* touch /var/run/console/<USERNAME>
* after each boot
|
I created the /var/run/console/<USERNAME> file and tried again, but it still wouldn't work. I had to log out of Gnome, and then log back in. And now the Hibernate button works! I added touch /var/run/console/<USERNAME> to /etc/conf.d/local.start.
Hibernate works now, but ndiswrapper doesn't like it. That however, is a topic for another thread ... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|