Re: [powersave-devel] Re: "powersave -u" doesn't work

On 5/12/06, Holger Macht <hmacht@suse.de> wrote:
On Thu 11. May - 19:18:39, Osho GG wrote: [...]
May 11 19:06:12 pxpl2885 [powersave-prepare_suspend_to_ram][17052]: DIAG: script_return() invoked: event_id: 4, request: 4, text: 50 May 11 19:06:12 pxpl2885 [powersave-prepare_suspend_to_ram][17052]: DIAG: script_return() invoked: event_id: 4, request: 4, text: 60|syncing file systems May 11 19:06:13 pxpl2885 [powersave-prepare_suspend_to_ram][17052]: DIAG: script_return() invoked: event_id: 4, request: 4, text: 101 May 11 19:06:13 pxpl2885 [powersave-prepare_suspend_to_ram][17052]: DIAG: script_return() invoked: event_id: 4, request: 0, text: prepare_sleep finished successfully for global.suspend2ram May 11 19:08:14 pxpl2885 [powersave]: WARNING (checkEventTimeouts:374) Timeout for event global.suspend2ram with id 4 reached, removing
It seems that the external event prepare_suspend_to_ram never finished and returned to the daemon so it never gets to the screen_saver and then do_suspend_to_ram actions.
It finishes, but the daemon does not notice. Please try to suspend and in the moment it stops before the WARNING that the event timed out appeares execute as root:
Replace $EVENT_ID with the number from syslog in the last line where it sais "event_id: <x>". Replace $REQUEST with 0 and $TEXT with 'test'.
dbus-send --system --print-reply \ --dest=com.novell.powersave \ /com/novell/powersave/scripts \ com.novell.powersave.scripts.ScriptReturn \ int32:$EVENT_ID int32:$REQUEST string:"$TEXT"
Please tell us if suspend continues after this command.
I tried to do this and got an error that dbus-send was not found!! It turns out that it was installed in /usr/local/bin and that was not in SYSTEM PATH. I created symbolic links to it in /usr/bin and now suspend works fine with "powersave -u"!!!! thanks much for the hint, this really made my day!! Osho
Regards, Holger _______________________________________________ powersave-devel mailing list powersave-devel@forge.novell.com http://forge.novell.com/mailman/listinfo/powersave-devel
participants (1)
-
Osho GG