Reply to topic

pm-hibernation and KDE power management

ReedWood
Registered Member
Posts
12
Karma
0
OS
As far as I know, KDE employes the pm-scripts for hibernation and suspension. I have configured pm to use uswsusp. If i trigger pm-hibernate as root from the command line, the systems hiberates correctly using uswsusp. If I trigger hibernation using e.g. K->Leave->Hibernate I can not see the output of uswsusp, and the system does not correctly hiberante. It goes down in a way, that the disks have to be checked on the next boot.

The question is, how KDE invoces the hibernation. Is there more to in than just calling pm-hibernate? If so, could it be that the swap is turned off befor hibernation happens, and than failes because no swap is present?

I am glad for any hind
lamarque
Registered Member
Posts
148
Karma
2
OS
ReedWood wrote:The question is, how KDE invoces the hibernation. Is there more to in than just calling pm-hibernate? If so, could it be that the swap is turned off befor hibernation happens, and than failes because no swap is present?


Yes, that is exactly the problem. upower disables hibernation if there is no swap space available even though some suspend implementations (e.g. TuxOnIce) does not require swap space. I had the same problem a couple of months ago and had to patch upower to workaround it.


Software engineer at Petrobrás http://www.petrobras.com.br/en/about-us/
KDE's Network Management maintainer

 
Reply to topic

Bookmarks



Who is online

Registered users: AGB, Alexa [Bot], anditosan, Baidu [Spider], Bing [Bot], Blingy, bshah, Charblaze, Exabot [Bot], franku, garthecho, Google [Bot], google01103, jgrulich, joshaughnessy, ken300, koriun, La Ninje, lazyit, Majestic-12 [Bot], mtvee, ooker, renatoatilio, rulet111, scummos, Sentynel, Steve Guilford, verbalshadow, vylaern, Wiz, Yahoo [Bot]