You are not logged in.
Hi,
I can't make my laptop hibernate (Suspend to Disk, vanilla KDE 4.2.3). All I have is just a blinking cursor in the upper left corner of the black screen; the only option out is a hard reset. This doesn't seem to be a common problem: the search turns out next to nothing. Meanwhile, I've checked some threads on related issues: people mention HAL, policykit, files like /etc/pam.d/kde and /home/name/.kde4/share/config, etc. Unfortunately, I can't see anything like a consistent picture on the Wiki. Any useful links, please? I'd like to get the hang of the thing .
Last edited by Llama (2009-05-11 17:36:14)
Offline
Powerdevil just uses pm-utils, so you have to debug that. There's a wiki article on pm-utils, I believe. Only if running "pm-suspend" hibernates sucessfully for you, the problem might lie elsewhere.
Offline
Right you are! Neither pm-suspend nor pm-hibernate works. The wiki on pm-utils isn't very enlightening, though. Any suggestions? I can tell that no attempt to write to disk is ever made (pm-hibernate).
Offline
Hibernating is more involved that suspending, so try to get that to work first. Try without X, with as few modules loaded as possible.
Offline
How am I suppose to debug it? I looked into pm-suspend.log - not a single error message, the last line being
Mon May 11 20:20:14 MSD 2009: performing hibernate
Older threads talk about /usr/share/PolicyKit/policy/org.freedesktop.hal.power-management.policy lacking suspend/hibernate entries, but this seems fixed.
Shame on me, of course, but what's suspending ? I understand that hibernation means saving the entire computer state, including RAM, on the swap file for subsequent restoration, but 'suspend to RAM' - what is it?
Offline
Suspend to RAM (AKA sleep or standby) means basically powering down every component of the PC except the RAM, resulting in an instantaneous resume. Suspend to disk (hibernation) copies the contents of RAM to disk and powers down everything.
Don't bother with PolicyKit or HAL, HAL just calls pm-utils and PolicyKit takes care of the privileges to do so. Focus on pm-utils, it's on that level that all kind of quirks to make suspend work are applied. As I said, try suspending in the possibly most basic environment. You can try using userspace suspend or tuxonice too, you can set pm-utils to use those, but each of them needs additional steps to be taken.
What kind of hardware do you have anyway?
Last edited by lucke (2009-05-11 17:13:31)
Offline
Thank you very much, lucke!
The trouble is solved by copying /usr/lib/pm-utils/defaults file to /etc/pm/config.d and putting into it (/etc/pm/config.d/default) the line
SUSPEND_MODULES="button uhci_hcd ehci_hcd"
It's been in the Wiki, after all .
Last edited by Llama (2009-05-11 17:35:20)
Offline