This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Suspend error.

Tags: None
(comma "," separated)
User avatar
Giorgos67
Registered Member
Posts
87
Karma
0
OS

Suspend error.

Sat Jul 25, 2015 10:20 am
Hi! :)

I installed PC Linux x64 for a try, but although it seems to be a decent distro, I can't put it to sleep (in RAM).
Actually it can suspend, but after waking up, it freezes.
Any chance to troubleshoot it?
TIA! :)
G.
User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS

Re: Suspend error.

Sat Jul 25, 2015 11:48 am
Hi,

I use openSUSE 13.2 64 bit on a Samsung notebook and hibernate also does not work. As with your experience, the system suspends but has trouble waking up. So for 2 years I am living without hibernate.

For openSUSE I just found this http://blog.pdark.de/2015/02/08/hiberna ... harlequin/ but have not tried it yet.

This rather old post gives hints how to diagnose hibernation problems: http://chriseiffel.com/everything-linux ... 4-mint-11/

Good luck.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Suspend error.  Topic is solved

Sat Jul 25, 2015 12:23 pm
Try to uninstall the package "suspend" and/or "pm-utils".

On openSUSE, systemd uses pm-utils if installed, which in turn uses suspend (uswsusp) if installed.
But "suspend" seems to have problems on some systems (one of my 13.2 system hangs on resume too, whereas it works fine on another one).

Both are deprecated anyway, 13.2 even shipped without support for pm-utils, but it got reintroduced with an update.

If you don't want to uninstall those packages, you can also set SLEEP_MODULE="kernel" in /usr/lib/pm-utils/defaults, it doesn't use "suspend" then.
An update to change that default should be released in the next few days though.

Btw, on Tumbleweed "suspend" and "pm-utils" have been dropped completely recently, the former doesn't work at all there because dracut doesn't add the necessary pieces to the initrd any more...
User avatar
Giorgos67
Registered Member
Posts
87
Karma
0
OS

Re: Suspend error.

Sun Jul 26, 2015 8:19 am
wolfi323 wrote:On openSUSE, systemd uses pm-utils if installed, which in turn uses suspend (uswsusp) if installed.
But "suspend" seems to have problems on some systems (one of my 13.2 system hangs on resume too, whereas it works fine on another one).

Both are deprecated anyway, 13.2 even shipped without support for pm-utils, but it got reintroduced with an update.

If you don't want to uninstall those packages, you can also set SLEEP_MODULE="kernel" in /usr/lib/pm-utils/defaults, it doesn't use "suspend" then.


THANKS guys!!! :)

I'll look at them, more thoroughly.
With a first look, changing "Userspace Software Suspend" -> Kernel (at /usr/lib64/pm-utils/defaults), did the trick! ;D
Maybe "Tux on Ice" is an interesting option too, but I didn't test it yet.
I'll be back, after a few practising, if something changes.
THANKS AGAIN ^-^
G.

Last edited by Giorgos67 on Sun Jul 26, 2015 12:00 pm, edited 1 time in total.
wolfi323
Registered Member
Posts
1129
Karma
11
OS

Re: Suspend error.

Sun Jul 26, 2015 11:50 am
Giorgos67 wrote:With a first look, changing "Userspace Software Suspend" -> Kernel (at /usr/lib64/pm-utils/defaults), did the trick! ;D

Yeah. You're not the only one... ;)
As mentioned, an update for 13.2 is on the way to set SLEEP_MODULE="kernel" by default. Should actually have been released already, I'd expect it any day now.
But if you changed it yourself, this doesn't really matter any more for you... ;)

Maybe "Tux on Ice" is an interesting potion too, but I didn't test it yet.

Hm, "Tux on Ice" seems to be even older than uswsusp.
I don't think this is still supported at all or included in the distribution.
I'm not sure though, but I cannot find any openSUSE package.

Anyway, the kernel method should work fine nowadays. If not it is a (kernel) bug.
Those other solutions came up in times of Kernel 2.5/2.6, about 10 years ago...


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]