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/#!/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/#!/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/#!/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/#!/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/#!/linaroorg - http://www.linaro.org/linaro-blog