Zhone with visual suspend feedback, Was: FSO milestone3 my view (ON gta01)

2008-09-12 Thread Joachim Breitner
Hi,

Am Freitag, den 12.09.2008, 12:24 +0200 schrieb Tilman Baumann:
 Differenciating between suspend and shutdown is terribely hard. I almost 
 never get the thing to sleep because i fear i would press power too long 
 and shut it down. What happens quite often never the less.
 
 If i shut it down by pressing the power button long, it ussually 
 indicates shutdown (nice animation btw) but then goes into suspend. Both 
 events suspend and shudown where triggered.
 Then i have to press power again to wake it up to let it finish shutdown.

I have just created a patch that gives zhone visual feedback when
suspending.

This will, in that order highlight four bars on the screen: “keep
pressed”, “let go”, “suspending” and “waking up”. They are highlighted
when the user pushes down POWER, when he has pushed it for one second,
when he releases it in time and when the phone wakes up.

This also has the effect that keeping it pressed for more than three
seconds it will _not_ suspend, as to not interfere with a shutdown or
restart triggered by the Altr-Ctrl-Del sent this way.

I’ll soon submit that for inclusion, so maybe that problem will be
resolved as well.


Greetings,
Joachim
-- 
Joachim nomeata Breitner
  mail: [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Key: 4743206C
  JID: [EMAIL PROTECTED] | http://www.joachim-breitner.de/
  Debian Developer: [EMAIL PROTECTED]


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Zhone with visual suspend feedback, Was: FSO milestone3 my view (ON gta01)

2008-09-12 Thread Fabian Henze
On 12.09.2008 at 12:24 +0200, Tilman Baumann wrote:
 Differenciating between suspend and shutdown is terribely hard. I almost
 never get the thing to sleep because i fear i would press power too long
 and shut it down. What happens quite often never the less.

Agreed and this is especially annoying if you use the FreeRunner as a watch 
(like I do). On ASU that's: take the fr out of the pocket, press power, wait 
1-2 seconds, see the time and press power again. But on FSO (which has a nicer 
clock, btw ;)) that's: take the fr out, press power, wait 1-2 seconds, see the 
shiny clock and then wait 2-4 seconds till suspend is triggered or press the 
button too long and shut it down.
imho the 2 to 4 second timeout (I haven't figured out the exact time yet^^) is 
not really necessary, as the power button is so tiny, that it is very unlikely 
you press it by accident. So im my eyes a much better solution compared to the 
gui by Joachim Breitner, would be to disable the timeout completely.

-- Fabian

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Zhone with visual suspend feedback, Was: FSO milestone3 my view (ON gta01)

2008-09-12 Thread Joachim Breitner
Hi,

Am Freitag, den 12.09.2008, 18:23 +0200 schrieb Fabian Henze:
 imho the 2 to 4 second timeout (I haven't figured out the exact time yet^^) 
 is 
 not really necessary, as the power button is so tiny, that it is very 
 unlikely 
 you press it by accident. So im my eyes a much better solution compared to 
 the 
 gui by Joachim Breitner, would be to disable the timeout completely.

From what I’ve seen while coding the GUI (which is commited now), I
think the reason why there is a timeout is that if there is not, the
POWER press that you use to wake up the phone will be detected again...

Greetings,
Joachim

-- 
Joachim nomeata Breitner
  mail: [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Key: 4743206C
  JID: [EMAIL PROTECTED] | http://www.joachim-breitner.de/
  Debian Developer: [EMAIL PROTECTED]


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Zhone with visual suspend feedback, Was: FSO milestone3 my view (ON gta01)

2008-09-12 Thread Fabian Henze
On 12.09.2008 at 18:56:00, Joachim Breitner wrote:
 From what I’ve seen while coding the GUI (which is commited now), I
 think the reason why there is a timeout is that if there is not, the
 POWER press that you use to wake up the phone will be detected again...

So how does it work on ASU? I think suspending on button _release_ should work 
fine.

 --   Fabian


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community