Re: make resume not turn the display on
My current solution: Save backlight brightness and state on suspend and restore it on suspend. Suspend hook: where do you hook in? ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: make resume not turn the display on
arne anka openm...@ginguppin.de writes: My current solution: Save backlight brightness and state on suspend and restore it on suspend. Suspend hook: where do you hook in? Currently I just have a monolithic suspend script. This xset reference is one of the things that prevent me from moving this to /etc/apm/(suspend|resume).d -Timo ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: make resume not turn the display on
ok, let me rephrase that: how do you run scripts upon suspend/resume. do you run apmd? ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: make resume not turn the display on
arne anka openm...@ginguppin.de writes: ok, let me rephrase that: how do you run scripts upon suspend/resume. do you run apmd? I suspend by running ~/bin/susp that runs these lines and echo mem /sys/power/state (can't be sure about the path name now) to suspend. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: make resume not turn the display on
On Fri, Oct 23, 2009 at 02:55:31PM +0300, Timo Juhani Lindfors wrote: arne anka openm...@ginguppin.de writes: ok, let me rephrase that: how do you run scripts upon suspend/resume. do you run apmd? I suspend by running ~/bin/susp that runs these lines and echo mem /sys/power/state (can't be sure about the path name now) to suspend. The package pm-utils provides what seems to be needed here: a way to run scripts on suspend and on resume. I've been considering making openmoko-related hooks for it since quite a bit (for example, to tell the GSM to sleep, or save/restore ephemeris, if one does not want to run ousaged). How about just adopting that? Ciao, Enrico -- GPG key: 4096R/E7AD5568 2009-05-08 Enrico Zini enr...@enricozini.org signature.asc Description: Digital signature ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland
Re: make resume not turn the display on
I've been considering making openmoko-related hooks for it since quite a bit (for example, to tell the GSM to sleep, or save/restore ephemeris, if one does not want to run ousaged). i've once filed an enhancement request against fso, requesting such an infrastructure to be added, and irc, mickey lauer responded. no idea, though, how far he got. ___ Smartphones-userland mailing list Smartphones-userland@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland