Adding the right linaro-android list and the .apk.
On 14 January 2012 20:30, Zach Pfeffer zach.pfeffer@linaro.org wrote:
Cool. That's a keeper! Thanks!
Attached my DisableSuspend.apk.
On 14 January 2012 06:44, yong qin yongqin.liu@linaro.org wrote:
Hi, All
The command below seems can also disable suspend. adb shell service call power 1 i32 26
I have tried on landing-panda and staging-panda, both works.
Thanks, Yongqin Liu
On 22 October 2011 11:10, Zach Pfeffer zach.pfeffer@linaro.org wrote:
This will disable suspend (like if you're showing a demo off).
---------- Forwarded message ---------- From: Zach Pfeffer zach.pfeffer@linaro.org Date: 21 October 2011 20:33 Subject: Re: DisableSuspend.apk To: "bernhard.rosenkranzer" bernhard.rosenkranzer@linaro.org
Sorry, this will work better.
On 21 October 2011 19:58, Zach Pfeffer zach.pfeffer@linaro.org wrote:
Try this
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
Hi, all
The command below seems can also disable suspend. adb shell service call power 1 i32 26
this command only seems not works well.
I write a shell script (see the attachment), and run it as following will disable the suspend: 1. execute the script 2. restart android 3. execute the script again I don't know why should execute twice, but doing twice do disable the suspend:(
I had tried it on landing-panda#31, and alf_ helped to try on snowball.
Thanks, alf_!
I also wrote a HOWTO about disabling suspend,
https://wiki.linaro.org/Platform/Android/DisableSuspend
please for your reference.
Thanks, Yongqin Liu
On 15 January 2012 10:45, Zach Pfeffer zach.pfeffer@linaro.org wrote:
Adding the right linaro-android list and the .apk.
On 14 January 2012 20:30, Zach Pfeffer zach.pfeffer@linaro.org wrote:
Cool. That's a keeper! Thanks!
Attached my DisableSuspend.apk.
On 14 January 2012 06:44, yong qin yongqin.liu@linaro.org wrote:
Hi, All
The command below seems can also disable suspend. adb shell service call power 1 i32 26
I have tried on landing-panda and staging-panda, both works.
Thanks, Yongqin Liu
On 22 October 2011 11:10, Zach Pfeffer zach.pfeffer@linaro.org wrote:
This will disable suspend (like if you're showing a demo off).
---------- Forwarded message ---------- From: Zach Pfeffer zach.pfeffer@linaro.org Date: 21 October 2011 20:33 Subject: Re: DisableSuspend.apk To: "bernhard.rosenkranzer" bernhard.rosenkranzer@linaro.org
Sorry, this will work better.
On 21 October 2011 19:58, Zach Pfeffer zach.pfeffer@linaro.org
wrote:
Try this
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
-- Zach Pfeffer Android Platform Team Lead, Linaro Platform Teams Linaro.org | Open source software for ARM SoCs Follow Linaro: http://www.facebook.com/pages/Linaro http://twitter.com/#%21/linaroorg - http://www.linaro.org/linaro-blog
On Mon, Jan 16, 2012 at 12:45 PM, yong qin yongqin.liu@linaro.org wrote:
Hi, all
The command below seems can also disable suspend. adb shell service call power 1 i32 26
this command only seems not works well.
I write a shell script (see the attachment), and run it as following will disable the suspend:
- execute the script
- restart android
- execute the script again
I don't know why should execute twice, but doing twice do disable the suspend:(
The "shell service call power ..." is probably just a runtime setting? so we have to run it on every boot, no?
Can we add this to a generic place in lava-android-test (or dispatcher) to ensure we call this first thing every time when booting up a unit?
The "shell service call power ..." is probably just a runtime setting? so we have to run it on every boot, no?
Can we add this to a generic place in lava-android-test (or dispatcher) to ensure we call this first thing every time when booting up a unit?
I shoved it temporarily into my dispatcher running locally. A better
solution going forward is to probably allow for some board-defined extra setup steps that run right after boot. In this case, I also had to add a sleep for about 15 seconds because this service doesn't seem to be available as soon as the board is booted.
It does work great though, and I'm able to keep the board up and running with it! Thanks for figuring this out Yongqin!
-Paul Larson
On Mon, Jan 16, 2012 at 6:24 PM, Paul Larson paul.larson@linaro.org wrote:
The "shell service call power ..." is probably just a runtime setting? so we have to run it on every boot, no?
Can we add this to a generic place in lava-android-test (or dispatcher) to ensure we call this first thing every time when booting up a unit?
I shoved it temporarily into my dispatcher running locally. A better solution going forward is to probably allow for some board-defined extra setup steps that run right after boot. In this case, I also had to add a
My understanding is that this is not a board specific feature and we have to disable suspend on all boards that run android in LAVA.
It does work great though, and I'm able to keep the board up and running with it! Thanks for figuring this out Yongqin!
cool...
On 17 January 2012 01:38, Alexander Sack asac@linaro.org wrote:
On Mon, Jan 16, 2012 at 6:24 PM, Paul Larson paul.larson@linaro.org wrote:
The "shell service call power ..." is probably just a runtime setting? so we have to run it on every boot, no?
Can we add this to a generic place in lava-android-test (or dispatcher) to ensure we call this first thing every time when booting up a unit?
I shoved it temporarily into my dispatcher running locally. A better solution going forward is to probably allow for some board-defined extra setup steps that run right after boot. In this case, I also had to add a
My understanding is that this is not a board specific feature and we have to disable suspend on all boards that run android in LAVA.
yes, it is not board specific feature. I tend to add the process in the disablesuspend.sh into dispatcher like the modification did in branch https://code.launchpad.net/~liuyq0307/lava-dispatcher/fix-898530/+merge/8493... and actually it should be added to lava-dispatcher as you said.
but before doing that, I think it's better to make clear why it needs to restart and needs to be executed twice:( I will investigate about it. I don't think the restart is needed by feeling.
Thanks, Yongqin Liu
linaro-android@lists.linaro.org