You are not logged in.

#1 2008-12-08 01:51:54

adamruss
Member
Registered: 2008-01-17
Posts: 143

[Solved] pm-utils and uswsusp - not working

ok this is what i know:
1. s2ram & s2disk work fine.
2. made a file /etc/pm/config.d/config with SLEEP_MODULE="uswsusp".
3. pm-suspend is set now to uswsusp because "pm-suspend --help" returns:

pm-suspend [options]
s2ram video quirk handler options:

and still - pm-suspend does not work (and so as gnome-pm etc...)

after playing around, i discoverd if i comment out "do_suspend()" in /usr/lib/pm-utils/module.d/uswsusp it works! (same for "do_hibernate()") but this is a BAD idea and probebly a hack (this make "pm-suspend --help" suspend as well! and if both commented out, the laptop, after returning from suspend - hibernates).

so what are those "do_suspend()" and "do_hibernate()" commands? and what should i do?

thanks!

Last edited by adamruss (2008-12-08 14:16:51)

Offline

#2 2008-12-08 04:26:20

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [Solved] pm-utils and uswsusp - not working

What about using pm-utils as it comes? I mean without making the SLEEP_MODULE change. Does pm-suspend work OK then?

Last edited by thayer (2008-12-08 04:26:39)


thayer williams ~ cinderwick.ca

Offline

#3 2008-12-08 08:49:30

adamruss
Member
Registered: 2008-01-17
Posts: 143

Re: [Solved] pm-utils and uswsusp - not working

heh, no. that's why i installed uswsusp - and it does work fine.
anonther wierd thing is, before i installed uswsusp, pm-suspend didnt work, but FN+F1 on the keyboard did suspend, so my guess is that "do_suspend()" func also messed that up, and if i would use the direct command for suspending using kernel space it probebly would work.

Offline

#4 2008-12-08 09:05:48

adamruss
Member
Registered: 2008-01-17
Posts: 143

Re: [Solved] pm-utils and uswsusp - not working

echo -n "mem" >/sys/power/state suspends! this is wierd. there is somthing wrong in pm-utils...

ok when i commented out "init_logfile "${PM_LOGFILE}"" in /usr/sbin/pm-suspend thing started moving....

EDIT: GOT IT!! F**ING WICD!!! - IF WICD IS INSTALLED BUT NOT USED - PM-UTILS FAILES! HAH!

good old pacman fixed it... pacman -R wicd smile smile smile smile

https://bugs.freedesktop.org/show_bug.cgi?id=18944

Last edited by adamruss (2008-12-08 09:37:11)

Offline

#5 2008-12-16 17:04:26

benji.ijneb
Member
Registered: 2008-12-13
Posts: 84

Re: [Solved] pm-utils and uswsusp - not working

i'm having the exact same problem, only i don't even have wicd installed....
any help?

Offline

#6 2008-12-16 19:05:00

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: [Solved] pm-utils and uswsusp - not working

Yes, you should post a bug: the wicd hook should check that wicd is running, and be disabled if it isn't

Last edited by patroclo7 (2008-12-16 19:05:21)


Mortuus in anima, curam gero cutis

Offline

#7 2008-12-16 19:42:44

benji.ijneb
Member
Registered: 2008-12-13
Posts: 84

Re: [Solved] pm-utils and uswsusp - not working

patroclo7 wrote:

Yes, you should post a bug: the wicd hook should check that wicd is running, and be disabled if it isn't

so... could installing wicd fix my problem...?

Offline

#8 2008-12-16 21:28:20

adamruss
Member
Registered: 2008-01-17
Posts: 143

Re: [Solved] pm-utils and uswsusp - not working

benji.ijneb wrote:

i'm having the exact same problem, only i don't even have wicd installed....
any help?

if you dont have wicd installed you dont have the excat same thing, you have a diffrent problem with pm-utils, try looking at /var/log/pm-suspend.log for answers.
btw, this bug was filed at pm-utils and wicd and is fixed in the latest wicd svn.

Offline

#9 2009-06-08 13:43:39

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: [Solved] pm-utils and uswsusp - not working

I have wierd problem with pm-utils and uswsusp.Suspend work and I can resume from suspend,but after that, I can't shutdown system,it freeze itself,and only hard poweroff working.I think it is something conected with xorg and fglrx.Anybody had same issue?

Offline

#10 2009-06-08 14:42:27

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] pm-utils and uswsusp - not working

It's an old topic. Open a new one and, preferably, provide more information.

Offline

#11 2009-06-08 14:51:47

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: [Solved] pm-utils and uswsusp - not working

What information you need,and where I can find more information about that event? Log files provides nothing.

Offline

#12 2009-06-08 15:14:43

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: [Solved] pm-utils and uswsusp - not working

For one, I don't know if you can use the system after resume or if it instantly freezes.

Start a new topic, anyway - this one is marked solved, people won't notice your problems.

Offline

Board footer

Powered by FluxBB