I still have that problem that sometimes after a suspend/resume the GUI is not responsive anymore. I don't know for sure but it may indeed have to do with a too short suspend time (i.e. e.g. after pressing OnOff for suspend, and not allowing the Z to suspend fully, then pressing OnOff for resume again).
In order to avoid such situations, and in order to make the suspend/resume more convenient for the user, I'd like to do the following:
Suspend: Instead of switching the backlight off at the BEGINNING fo the suspend process, switch it off at the end, i.e. if the system is really suspended.
In the meantime display a dialog saying "Please wait for suspend".
Resume: Vice versa, i.e. switching on the backlight directly after initiation of resume, then displaying the message "Resuming... Please wait".
That way, the user may have the impression that both processes take longer (because he is even told to wait), but it will avoid misunderstandings due to inactive backlight during suspend and resume and thus may avoid some systems hangs and data loss. That's more important IMHO.
Where do I have to modify scripts etc?
I have found that the setfl binary sets the backllight.
But the /etc/apm/scripts.d scripts do not contain a single setfl call.
Could anyone who knows more about that please descibe the suspend / resume process in pdaxrom 1.1.0beta3?
Thanks a lot!