So...suspend to RAM has been working well and fine, and then I made an 'oops' by unplugging my stand-by machine while the battery was out, which powered it off instantly, and resulted in an unclean filesystem on boot. Nothing surprising so far. BUT, now suspend doesn't work. More specifics below - any thoughts appreciated. I'm pretty good at Googling and tinkering, but stuck here.
My machine:
- VL 6.0, Xfce, Kernel 2.6.27.12
- Thinkpad T43p
- Xfce-Power-Manager and pm-utils for power management
- Suspend used to work when I...
- pressed the sleep key
- closed the lid
- chose suspend from the shutdown menu
- Now none of those do anything, nor does running 'pm-suspend' from a terminal as root (just clears the line with no error or output)
- Running 'suspend' (no "pm") as root does this...
root:# suspend
[1]+ Stopped su
...and kicks me back to being a normal user (not sure what's happening here)
- Hibernate still works as before, whether selecting from the Xfce menu or running 'hibernate' (running pm-hibernate does nothing)
- I've checked the logs...
/var/log/acpid[Mon Dec 7 23:32:27 2009] executing action "/etc/acpi/acpi_handler.sh button/lid LID 00000080 0000000a"
[Mon Dec 7 23:32:27 2009] BEGIN HANDLER MESSAGES
[Mon Dec 7 23:32:27 2009] END HANDLER MESSAGES
[Mon Dec 7 23:32:27 2009] action exited with status 0
[Mon Dec 7 23:32:27 2009] completed event "button/lid LID 00000080 0000000a"
/var/log/messagesDec 7 23:24:11 Vector logger: ACPI group ac_adapter / action AC is not defined
Dec 7 23:24:11 Vector logger: ACPI group processor / action CPU is not defined
Dec 7 23:24:11 Vector logger: ACPI group thermal_zone / action THM0 is not defined
Dec 7 23:24:11 Vector logger: ACPI group battery / action BAT0 is not defined
Dec 7 23:24:11 Vector logger: ACPI group battery / action BAT0 is not defined
Dec 7 23:24:53 Vector logger: ACPI group ac_adapter / action AC is not defined
Dec 7 23:24:53 Vector logger: ACPI group processor / action CPU is not defined
Dec 7 23:24:53 Vector logger: ACPI group thermal_zone / action THM0 is not defined
Dec 7 23:24:53 Vector logger: ACPI group battery / action BAT0 is not defined
Dec 7 23:24:56 Vector logger: ACPI group battery / action BAT0 is not defined
Dec 7 23:32:03 Vector logger: ACPI group ibm / action hotkey is not defined
Dec 7 23:32:20 Vector logger: ACPI action lid is not defined
/var/log/pm-suspend.logSun Nov 29 20:23:08 EST 2009: performing suspend
...which makes me think acpid is seeing the events, but doesn't know what to do with them...which leaves me wondering: Is acpid supposed to kick these things into gear, or is it HAL and pm-utils that takes this on now? The pm-suspend.log shows the last time my computer went into suspend prior to my pulling the plug and starting this mess, but nothing since (despite repeated lid-closings, and running 'pm-suspend' from a terminal as root with no result).
- My /etc/acpi/acpi_handler.sh file is as below, mostly undefined. Again, not sure if this means it's not setup correctly, or if HAL/pm-utils is supposed to be handling these events now.
cat acpi_handler.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions
IFS=${IFS}/
set $@
case "$1" in
button)
case "$2" in
power) /sbin/init 0
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined"
;;
esac
- Reinstalling pm-utils and Xfce-Power-Manager doesn't fix the problem
Any thoughts?
Thanks,
LLL