Telling zhone to exit and not shutdown

2009-10-23 Thread Enrico Zini
Hello, if in zhone I click on Exit zhone, it shuts down the whole phone. This also happens if I just run zhone from a terminal. I do not consider it appropriate. Actually, I consider it a bit silly. Is there a way to change this behaviour to just have zhone exit cleanly, without rebooting?

Re: make suspend/resume not kill ssh connections with wlan

2009-10-23 Thread Joachim Breitner
Hi, Am Freitag, den 23.10.2009, 13:03 +0300 schrieb Timo Juhani Lindfors: Is there some already existing software that should do this? Should kernel restore these parameters? what if you move between WLANs while suspending? I’d say a program like wpasupplicant should handle this

Re: make suspend/resume not kill ssh connections with wlan

2009-10-23 Thread Timo Juhani Lindfors
Joachim Breitner m...@joachim-breitner.de writes: what if you move between WLANs while suspending? Good point. I guess I could add logic to use iwlist to check if the $ap is still within range? I’d say a program like wpasupplicant should handle this intelligently, e.g. after resume check if

Re: make resume not turn the display on

2009-10-23 Thread arne anka
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

Re: make resume not turn the display on

2009-10-23 Thread Timo Juhani Lindfors
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

Re: make resume not turn the display on

2009-10-23 Thread arne anka
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

2009-10-23 Thread Timo Juhani Lindfors
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.

Re: Telling zhone to exit and not shutdown

2009-10-23 Thread Enrico Zini
On Fri, Oct 23, 2009 at 11:45:46AM +0200, Michael 'Mickey' Lauer wrote: if in zhone I click on Exit zhone, it shuts down the whole phone. Do you mean the phone as in telephony or the device as in shutting down? In the menu where it allows to take a screenshot, there is a Exit / Stop and exit

Re: make resume not turn the display on

2009-10-23 Thread Enrico Zini
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

Get Contact details?

2009-10-23 Thread Arigead
Sorry it's a newbie question I'm afraid. I've been looking at org.freesmartphone.PIM.Contact with a view to getting contact details for a phone number. I'm really trying to get my hands on the contact's name given a number so that went a call or sms or something arrives you can quickly query

Re: make resume not turn the display on

2009-10-23 Thread arne anka
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,