jancona / android-on-freerunner

Automatically exported from code.google.com/p/android-on-freerunner
1 stars 1 forks source link

3 * menu will resume a suspended freerunner. #23

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start phone
2. Wait till in suspend (hear noice)
3. You need to press 3 times on menu (right button) to unlock.
3a. the first time will wake, but screen will still be black
3b. the second will fade in the screen showing locked panel
3c. this will unlock the panel

What is the expected output? What do you see instead?
Instead of 3 times two should work better. combining the 
3a and 3b step of the reproduce steps.

What version of the product are you using? On what operating system?
android on freerunner version 0.1.1 (on NEO v5)

Please provide any additional information below.

Original issue reported on code.google.com by j.bak...@atmind.nl on 28 Sep 2009 at 7:59

GoogleCodeExporter commented 9 years ago
Hi,

Ok the android acquire a PARTIAL wake lock for the keyboard event and the 
display is
not resumed. The resume the display require one click maybe and the other one 
for
unblock. I'm working on a patch

Original comment by michaelt...@gmail.com on 28 Sep 2009 at 11:21

GoogleCodeExporter commented 9 years ago
For me with Michael's images on an A5 rev FR I find that about a 1 second press 
on
the power button seems to get it to the unlock screen fairly often (though not
always).

Original comment by ozch...@gmail.com on 28 Sep 2009 at 11:39

GoogleCodeExporter commented 9 years ago
I flagged this as an enhancement rather than a defect and changed the status.  
It can't 
be Accepted without an Owner!

Original comment by hmu...@gmail.com on 28 Sep 2009 at 1:11

GoogleCodeExporter commented 9 years ago
As michael accepted it and commented that he is working on a patch I take it he
missed make him self owner. I even say that he have started work on it. =) 

Original comment by larlin...@gmail.com on 28 Sep 2009 at 1:28

GoogleCodeExporter commented 9 years ago
Pressing the menu button, then aux will resume the FR display

Original comment by leonard....@gmail.com on 30 Sep 2009 at 5:35

GoogleCodeExporter commented 9 years ago
I can confirm the issue. Also, the workaround from leonard works for me...

Original comment by beni...@gmail.com on 1 Oct 2009 at 8:23

GoogleCodeExporter commented 9 years ago
i need just 2 presses of the menu button: one long and one short to unlock :)

Original comment by baxterp...@gmail.com on 12 Oct 2009 at 2:18

GoogleCodeExporter commented 9 years ago
With the Michael's image freerunner-cupcake-v20.jffs2 I only need one press.
Using a latest daily build, instead, I have to press it twice or more.

Original comment by trevi55 on 24 Nov 2009 at 3:11

GoogleCodeExporter commented 9 years ago
Using Cupcake 0.2.0 RC1, my mileage varies heavily. Sometimes even three button 
presses are not enough, I end up pressing Menu about twice a second until the 
screen finally unlocks.

Is there no way to ensure the button input gets processed up to the desired 
result rather than "fire and forget"?

Original comment by mich...@vonglasow.com on 7 Aug 2010 at 11:07

GoogleCodeExporter commented 9 years ago
Referring to my own post above, it seems like sometimes the phone will go to 
sleep prematurely (wake locks are either not set or ignored, or the sleep 
timeout is ignored).

Sometimes a few presses of Power will get me to the screensaver, but the phone 
immediately goes back to sleep.

In one instance, I pressed and held Power while in sleep mode; the phone went 
on (with screensaver) and I got the Ringer/Radio/Shutdown menu on top. The 
phone went to sleep. I pressed Power again, it woke up, I then tapped Shutdown 
and as the phone said "Shutting down", the screen went black almost instantly 
(I'm not sure if that was already the shutdown, which is pleasantly fast, or 
another sleep).

So my idea of a path to go would be:
- Make sure the phone stays awake for the preset number of seconds after being 
woken up
- Combine "wake up" and "turn on screen" into one step. Afaik this is how other 
phones do it as well (anyway, what's the point of waking the phone manually but 
keeping the screen off... can't think of anything where you'd need that 
behavior)

Original comment by mich...@vonglasow.com on 14 Nov 2010 at 6:30

GoogleCodeExporter commented 9 years ago
correction to the above: the behavior is
- press Power to get screensaver
- press and hold Power again to get menu
- choose "Shut down". The confirmation dialog will appear and the phone goes 
back to sleep IMMEDIATELY before you can tap OK or Cancel.
- press Power again, the screen will light up again and you can press OK to 
shut down the phone.

Original comment by mich...@vonglasow.com on 14 Nov 2010 at 7:08