Registered Member
|
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 |
Registered Member
|
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 |
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]