You are not logged in.
After the recent updrade (with kdemod) on my laptop the hibernation stopped working (sleep also). I dont really know what could be the problem but I was working perfectly.
Now the sleep/hibernate buttons dont work also when i close the laptop lid nothing happens.
Asus K51AC PRO5EAC-SX070-4
AMD Athlon X2 Dual-Core QL-65 2,1 G 4GB radeon hd3200
Offline
Same problem....
Offline
(My xfce standby too - could that be the policykit update or something else that they share? Ignore this post if it's not related, this is plain informational as I don't care much if my standby works ATM)
Last edited by whoops (2009-05-09 10:59:02)
Offline
Does it work if you sleep/hibernate from the command line as root? If your backend is pm-utils, then that would be pm-suspend (to sleep). That would help narrow the problem.
Offline
Yes, the pm-suspend method works the system went "to sleep".
Asus K51AC PRO5EAC-SX070-4
AMD Athlon X2 Dual-Core QL-65 2,1 G 4GB radeon hd3200
Offline
I'm not very knowledgeable about this, so hopefully someone else will weigh in on this. I have no idea how KDE does its thing; I set up suspend/resume independently of X. This method will not lock your session on resume (you won't be prompted for your password), but it is also possible to do that.
If you have acpid installed, in /etc/acpi/, you should have a script named handler.sh. Mine looks like this:
#!/bin/sh
.
.
.
set $*
case "$1" in
.
.
.
button/lid)
#echo "LID switched!">/dev/tty5
grep -q "open" < /proc/acpi/button/lid/LID/state
if [ $? = 1 ];
then
#lid was closed
logger "acpid: lid closed; suspending"
/usr/sbin/pm-suspend
else
#lid was opened
/usr/sbin/pm-resume
logger "acpid: lid opened; resuming"
fi
;;
ibm/hotkey)
case "$4" in
00001003)
logger "acpid: screen blank button (Fn+F3) pressed; ignoring"
;;
00001004)
logger "acpid: sleep button (Fn+F4) pressed; suspending"
/usr/sbin/pm-suspend
;;
*)
logger "acpid: action $4 undefined or not implemented yet"
;;
esac
;;
*)
logger "ACPI group/action undefined: $1 / $2"
;;
esac(I cut out a lot of stuff that's irrelevant to suspend/resume.) You may be able to cut/paste the button/lid part directly. If you don't have an IBM computer, ibm/hotkey probably won't work for your sleep/hibernate buttons. However, what you can do is run the program acpi_listen from a terminal and press your sleep or hibernate button. If it prints something out, you can try replacing the "ibm/hotkey" and "00001004" with the appropriate fields. For reference, here is what I get when I run acpi_listen and press my sleep button:
ibm/hotkey HKEY 00000080 00001004Offline
Sometimes the solution amazes me as soon as I made the command pm-suspend everything went back to normal
now when I close the lid the system goes to sleep.
Asus K51AC PRO5EAC-SX070-4
AMD Athlon X2 Dual-Core QL-65 2,1 G 4GB radeon hd3200
Offline