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/84939
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