And suspend/hibernate still don't work...
Thanks Melodie, but I'm not really familiar with programing myself... And pm-suspend/pm-hibernate don't work, be it from the comand-line or directly from the usr/bin file.
If you call it from command line as "pm-suspend" etc... or /usr/bin/pm-suspend it can't work/most probably won't, because it is usually called through a delicate authentication protocol, with pam.
$ ls -l /usr/bin/pm-suspend
lrwxrwxrwx 1 root root 13 2010-04-30 03:32 /usr/bin/pm-suspend -> consolehelper*
It's a symlink to consolehelper. What is consolehelper ?http://linuxcommand.org/man_pages/consolehelper8.html
to check if it works you could run the other pm-suspend:
run "which foo" as root shows another one:
# which pm-suspend
what does it look like ?
# ls -l /usr/sbin/pm-suspend
lrwxrwxrwx 1 root root 36 2010-04-30 03:37 /usr/sbin/pm-suspend -> ../../usr/lib/pm-utils/bin/pm-action*
a symlink as well.
what package does pm-action belong to ?
# rpm -qf /usr/lib/pm-utils/bin/pm-action
and what package do consolehelper belong to ? pm-utils ? no, it belongs to:
# rpm -qf /usr/bin/consolehelper
I spare you the rest, consolehelper-gtk and what they do etc...
If you like you could try invoking directly /sbin/pm-suspend *as root* to see if that works in your system. (just this one, as experience, but not hibernate)
(I also asked for an update for usermode... and also s2u... and thanks for you vote at pm-utils request, by the way.