Slack 12, HAL and hibernation
Fresh Slack 12 install, recompiled kernel.
HAL hibernation did not work out of the box at all. I use swsusp, not suspend2, and "echo 'disk' > /sys/power/state" worked just fine. /usr/lib/hal/scripts/hal-system-power-hibernate referred to an undefined variable "HALD_UNAME_S" which needed to be set to "linux" and calls the -linux scripts from a relative path without first changing to the /usr/lib/hal/scripts directory. With these modifications it was able to find /usr/lib/hal/scripts/linux/hal-system-power-hibernate-linux. The next problem was that /sys/power/state was not writable by my user, so the ...-hibernate-linux script failed. I chgrp'ed it to power and chmod'ed it to 664. Now it all works. So... This seems like a bug in the scripts? Was there a better way to resolve the problem? Thanks, Brian |
Code:
echo mem > /sys/power/state Code:
bash: echo: write error: No such device |
What does "cat /sys/power/state" show?
Brian |
Quote:
http://www.linuxquestions.org/questi...d.php?t=566633 You may need to recompile your kernel. |
Quote:
|
All times are GMT -5. The time now is 11:16 PM. |