You are not logged in.
Pages: 1
Hi. I have configured my laptop to running arch the last couple of days. Everything is running smooth and everything is up to date.
Today i tried to configure pm-utils to make my laptop sleep and hibernate. Sleep works like it should, but i cant get it to hibernate.
An excerpt of pm-suspend.log shows.
/usr/lib/pm-utils/sleep.d/95led hibernate hibernate: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video hibernate hibernate: success.
/usr/lib/pm-utils/sleep.d/99video hibernate hibernate: success.
fr. 10. okt. 09:29:28 +0200 2008: performing hibernate
/usr/lib/pm-utils/pm-functions: line 275: echo: write error: Ingen slik enhet
fr. 10. okt. 09:29:38 +0200 2008: Awake.
fr. 10. okt. 09:29:38 +0200 2008: Running hooks for thaw
/usr/lib/pm-utils/sleep.d/99video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video thaw hibernate: success.
/usr/lib/pm-utils/sleep.d/95led thaw hibernate: not applicable.
Line 275 in pm-functions shows this:
echo -n "disk" > /sys/power/state
If i try running this as root i get:
[10:13:19 toffyrn pm-utils]$sudo su
bash-3.2# echo -n "disk" > /sys/power/state
bash: echo: write error: Ingen slik enhet
bash-3.2#
My swap space is encrypted, any ideas how to make this work??
(By the way: Thanks for all the help on other posts i have made!!! Hopefully i'll dont need to update my distro version every 6month anymore )
Offline
Although I can't help you, whoever can will probably need to know that "ingen slik enhet" means "no such module" (or "no such unit").
(antar att du är svensk )
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Do you have at leas as much swap space as RAM?
Offline
Hehe. Im norwegian.
[11:41:34 toffyrn ~]$free -m
total used free shared buffers cached
Mem: 1899 754 1145 0 31 183
-/+ buffers/cache: 539 1360
Swap: 1904 118 1785
[11:41:39 toffyrn ~]$
Do i need more swap?
Offline
I remember reading that encrypted swap can disable hibernation. Are you encrypting with a random key or a static key? If you're using a random key, that key is not saved anywhere so the next time the computer starts, a new random key is used and anything on the swap partition is seen as random data from the computer's perspective. I don't remember the details though so maybe using a non-random key will fix it.
Of course, it could be something else.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I have this set up with a static key...
Offline
Pages: 1