You are not logged in.

#1 2007-09-28 14:51:52

staple
Member
Registered: 2007-09-28
Posts: 81

pm-utils and suspend2

Is the suspend2 kernel necessary for pm-utils to work? If not, can anyone offer any insight as to why the hibernate and sleep scripts just blank the screen and then do nothing? (computer is unresponsive)

Offline

#2 2007-09-28 15:37:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,482
Website

Re: pm-utils and suspend2

No, suspend2 is not needed.  Can you give output of the pm-utils log?  /var/log/pm-suspend.log

Offline

#3 2007-09-28 16:38:45

staple
Member
Registered: 2007-09-28
Posts: 81

Re: pm-utils and suspend2

Thu Sep 27 16:00:26 PDT 2007: running suspend hooks.
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/20video =====
kernel.acpi_video_flags = 0
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/60sysfont =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Thu Sep 27 16:00:26 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Thu Sep 27 16:00:27 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Thu Sep 27 16:00:27 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Thu Sep 27 16:00:27 PDT 2007: running hook: /usr/lib/pm-utils/sleep.d/99video =====
Thu Sep 27 16:00:27 PDT 2007: done running suspend hooks.

Offline

#4 2007-09-28 19:02:26

volh
Member
From: Kiev, Ukraine
Registered: 2006-02-06
Posts: 16

Re: pm-utils and suspend2

hm.. right the same thing with my hp compaq nc8000, but only for suspend. pm-hibernate works well.
P.S. I'm not using fglrx though.

Offline

#5 2007-09-28 20:04:06

staple
Member
Registered: 2007-09-28
Posts: 81

Re: pm-utils and suspend2

using nvidia here

Offline

#6 2007-10-03 10:42:58

imachine
Member
From: /dev/ttyv0
Registered: 2006-11-15
Posts: 36
Website

Re: pm-utils and suspend2

Seems to work now, I had the same issues (unresponsive blanked screen) some time ago.

Compal EL80 here.

Hibernate still fails (just drops back to X after some seconds) but I haven't looked into it yet.

Last edited by imachine (2007-10-03 10:44:32)


a nail that sticks out, is hammered down.
aha.

Offline

#7 2007-10-03 19:36:07

blelump
Member
Registered: 2007-09-28
Posts: 13

Re: pm-utils and suspend2

imachine wrote:

Hibernate still fails (just drops back to X after some seconds) but I haven't looked into it yet.

I have exactly the same problem.

Offline

#8 2007-10-05 20:09:44

quex
Member
Registered: 2007-10-05
Posts: 4

Re: pm-utils and suspend2

I've got some problems of my own, and I would greatly appreciate any assistance.  I've got a suspend2 kernel (even though I guess it isn't necessary), acpi, acpid, cpufreq/cpufreqd, pm-utils and laptop-mode installed, and I get a blank, unresponsive screen when I try to run pm-hibernate.  Here is my log:

[root@styx alex]# cat /var/log/pm-suspend.log
Thu Oct  4 18:21:38 CDT 2007: running hibernate hooks.
===== Thu Oct  4 18:21:38 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== Thu Oct  4 18:21:38 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Thu Oct  4 18:21:38 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Thu Oct  4 18:21:38 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Thu Oct  4 18:21:38 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/20video =====
===== Thu Oct  4 18:21:38 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Thu Oct  4 18:21:39 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Thu Oct  4 18:21:39 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Thu Oct  4 18:21:39 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/60sysfont =====
===== Thu Oct  4 18:21:39 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Thu Oct  4 18:21:39 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Thu Oct  4 18:21:40 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Thu Oct  4 18:21:40 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Thu Oct  4 18:21:40 CDT 2007: running hook: /usr/lib/pm-utils/sleep.d/99video =====
Thu Oct  4 18:21:40 CDT 2007: done running hibernate hooks.
/usr/lib/pm-utils/functions: line 128: /sys/power/disk: Permission denied

Indeed, there is no "disk" file in /sys/power/, which is clearly a problem.  What should I do?

Offline

#9 2007-10-05 21:20:19

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: pm-utils and suspend2

You're probably better off asking on the pm-utils list:
http://lists.freedesktop.org/mailman/listinfo/pm-utils


I am a gated community.

Offline

#10 2007-11-24 19:21:59

imachine
Member
From: /dev/ttyv0
Registered: 2006-11-15
Posts: 36
Website

Re: pm-utils and suspend2

my hibernate works, it's just that there isn't enough swap to cover the used ram wink

hint: remember kids, make your swap partition as advised, twice the size of ram or at least 1,5x is the right spot.

remember the swap has to cover both swap and the ram, or so I guess (?).

I've added /etc/pm/sleep.d/100dropcaches which reads:

#!/bin/bash

. /usr/lib/pm-utils/functions

RETVAL=0
case "$1" in
        hibernate|suspend)
                /bin/sync; echo 3 > /proc/sys/vm/drop_caches
                ;;
        *)
                /bin/sync; echo 0 > /proc/sys/vm/drop_caches
                ;;
esac

exit $RETVAL


it's chmod'ed +x.

cheers.


a nail that sticks out, is hammered down.
aha.

Offline

#11 2007-11-25 01:45:31

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: pm-utils and suspend2

I have a functioning pm-suspend and pm-hibernate....two things on my machine make it not work:

1. If I don't boot with noapic irqpoll, I get a black screen and it won't suspend
2. If I'm using compiz, it will suspend, but won't wake up all the way

Good luck!
Scott

Offline

#12 2007-11-26 09:17:19

alleyoopster
Member
From: Cape Town
Registered: 2006-11-19
Posts: 95

Re: pm-utils and suspend2

I have functioning pm-hibernate, but with pm-suspend I just have a blank screen (LCD Backlight) when resuming.

Neither of these work with nvidia on this Dell 8500 Inspiron laptop. I have a black screen on resume and have to Ctrl-Alt-Del to come out.

Any suggestions as to resolving this would be warmly welcome. I have thought of one to do with a firework and the rear end of a nvidia manager, but I am not sure it would work.

Last edited by alleyoopster (2007-11-26 11:38:17)

Offline

Board footer

Powered by FluxBB