You are not logged in.

#1 2008-04-08 16:27:09

Gentleman
Member
Registered: 2006-05-05
Posts: 25

pm-hibernate issue

pm-suspend and pm-hibernate both seem to work well but the hibernate-script won't shut down my laptop.
Hibernate-proces works like it should during next boot...

No errors reported in pm-suspend.log
sudo configured like it should...

Anny suggestions?

Offline

#2 2008-04-22 15:22:07

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: pm-hibernate issue

Same problem for me too.
Check /var/log/pm-suspend.log an look fore some troubles.


Till the last battle, till the last bottle.
aur - twitter

Offline

#3 2008-04-22 16:03:48

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: pm-hibernate issue

When I run pm-hibernate everything seems to switch off but power and wlan leds.
Here's my log

# cat /var/log/pm-suspend.log 
Initial commandline parameters: 
mar apr 22 17:40:47 CEST 2008: Running hooks for hibernate.
/usr/lib/pm-utils/sleep.d/00clear hibernate: success.
/usr/lib/pm-utils/sleep.d/01grub hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/05led hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/10NetworkManager hibernate: success.
/usr/lib/pm-utils/sleep.d/11netcfg hibernate: success.
/usr/lib/pm-utils/sleep.d/49bluetooth hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/50modules hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/55battery hibernate: success.
/usr/lib/pm-utils/sleep.d/65alsa hibernate: success.
/usr/lib/pm-utils/sleep.d/90clock hibernate: success.
/usr/lib/pm-utils/sleep.d/94cpufreq hibernate: success.
/usr/lib/pm-utils/sleep.d/95led hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/99video hibernate: success.
mar apr 22 17:40:48 CEST 2008: hibernateing
/usr/lib/pm-utils/module.d/kernel: line 27: echo: write error: No such device
mar apr 22 17:40:53 CEST 2008: Awake.
mar apr 22 17:40:53 CEST 2008: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw: success.
/usr/lib/pm-utils/sleep.d/95led thaw: not applicable.
/usr/lib/pm-utils/sleep.d/94cpufreq thaw: success.
/usr/lib/pm-utils/sleep.d/90clock thaw: success.
/usr/lib/pm-utils/sleep.d/65alsa thaw: success.
/usr/lib/pm-utils/sleep.d/55battery thaw: success.
/usr/lib/pm-utils/sleep.d/50modules thaw: success.
/usr/lib/pm-utils/sleep.d/49bluetooth thaw: not applicable.
/usr/lib/pm-utils/sleep.d/11netcfg thaw: success.
/usr/lib/pm-utils/sleep.d/10NetworkManager thaw: success.
/usr/lib/pm-utils/sleep.d/05led thaw: not applicable.
/usr/lib/pm-utils/sleep.d/01grub thaw: not applicable.
/usr/lib/pm-utils/sleep.d/00clear thaw: success.
mar apr 22 17:40:52 CEST 2008: Finished.

Line 27 in /usr/lib/pm-utils/module.d/kernel is

echo -n "disk" > /sys/power/state

Then I ran

# cat /sys/power/state 
standby mem disk

It seems that 'disk' is supported.. should it be a nvidia issue?

Last edited by uastasi (2008-04-22 16:10:53)


Till the last battle, till the last bottle.
aur - twitter

Offline

#4 2008-04-27 21:17:52

Gentleman
Member
Registered: 2006-05-05
Posts: 25

Re: pm-hibernate issue

I have the same feeling this could be an nvidia issue... or maybe an asus acpi issue. I own an asus laptop A7M, anybody has the same problem on this type of laptops? Is there a way to fix this?

Offline

#5 2008-05-16 11:21:31

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: pm-hibernate issue

Same problem here with my Acer Aspire 5685WLMi. Did you find a solution? My machine also got an nvidia card... Did you add the "NvAGP"-Option to your xorg.conf?

Greets
lynix

Offline

#6 2008-05-16 12:39:14

xbrunox
Member
From: Lisboa, Portugal
Registered: 2008-02-15
Posts: 21
Website

Re: pm-hibernate issue

I think you need to add your user do power group.

sudo gpasswd -a power

logout and login, and it should be fine.


Persistence, persistence, persistence!

Offline

#7 2008-05-16 14:57:57

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: pm-hibernate issue

Thanks for the tip, but I just solved it:

I used uswsusp instead of the "kernel"-method smile

Offline

#8 2008-05-24 15:13:57

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: pm-hibernate issue

I've solved it with the recent nvidia and kernel updates. wink


Till the last battle, till the last bottle.
aur - twitter

Offline

#9 2008-05-27 17:23:10

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: pm-hibernate issue

There's only one thing I'd like to modify if possible. When I turn on my laptop previously hibernated, it will restore my gnome session without running gdm. This is not an ideal scenario for safety since someone else could use my laptop having my user's privileges.
Is there any way to modify this behaviour?


Till the last battle, till the last bottle.
aur - twitter

Offline

#10 2008-05-27 17:35:50

lynix
Member
From: Karlsruhe, Germany
Registered: 2008-04-23
Posts: 230

Re: pm-hibernate issue

When I understand you correctly I think you might change this behavior through the "gconf-editor" in the subkey

apps->gnome-power-manager->lock

If you set the keys for suspend/hibernate to true the desktop will be locked when your machine is resuming, so noone has access to your gnome-session without entering a password.

Greets,

lynix

Offline

#11 2008-05-27 18:01:23

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: pm-hibernate issue

lynix wrote:

apps->gnome-power-manager->lock

If you set the keys for suspend/hibernate to true the desktop will be locked when your machine is resuming, so noone has access to your gnome-session without entering a password.

Both keys were set to true but overridden by use_screensaver_settings key set to true. I've set this one to false and now it works perfectly!
Thank you lynix!


Till the last battle, till the last bottle.
aur - twitter

Offline

#12 2008-09-04 10:20:03

Szelek
Member
From: Warsaw
Registered: 2008-09-03
Posts: 86

Re: pm-hibernate issue

Anyone get this working using standard pm-suspend/hibernate?

Offline

Board footer

Powered by FluxBB