Joerg Platte wrote:
> Am Montag, 23. Oktober 2006 15:00 schrieb Michael Biebl:
> Hi,
> 
>> Hm, the log file is incomplete. It does not contain the resume cycle.
>> As I can't reproduce your behaviour here, you will have to help me
>> debugging it:
>> On resume the file
>> /usr/lib/powersave/scripts/restore_after_suspend_to_disk
>> is called. If you have 915resolution installed it first tries to patch
>> your video bios.
>> Then 'restore_after_sleep "suspend2disk"' from
>> /usr/lib/powersave/scripts/sleep_helper_functions is called.
>>
>> You can narrow down the problem by commenting out potential problematic
>> calls, like 915resolution (given you have a intel graphics chipset and
>> 915resolution installed).
>> If that does not help, comment out switch_to_X.
> 
> I commented out everything in this script except the last few lines (EXIT 0 
> and the line above). Nothing changed. Then I moved the last four lines of the 
> prepare script to the beginning (directly after sourcing the helper scripts). 
> No change. What do I have to do to disable all scripts? Then it would be 
> easier to find the problem. Maybe there's something wrong in the daemon?

Take a look at /etc/powersave/events.
EVENT_GLOBAL_SUSPEND2DISK/EVENT_GLOBAL_RESUME_SUSPEND2DISK:
Remove prepare_suspend_to_disk, screen_saver and
restore_after_suspend_to_disk (They correspond to the scripts in
/usr/lib/powersave/[scripts])
This only leaves do_suspend_to_disk, which calls
/usr/lib/powersave/do_acpi_sleep with the parameter suspend2disk, so
basically the same what you do manually by "echo disk > /sys/power/state".



Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to