A simple way to turn off android power management:
edited kernel\drivers\android\power.c
static void android_power_suspend(struct work_struct *work)
{
int entry_event_num;
int ret;
int wait = 0;
android_early_suspend_t *pos;
int print_locks;
unsigned
humn, thanks...
but tell me .. what if I disable the kernel PM itself... that will surely do
.. it. ..
but yeah... anyway can't change the kernel.. uImage.. given to me.. have to
make it work without changing it..
So was looking for sysfs entries/ proc entries or ways of killing suspend or
someth
Just do following on ur debug terminal
echo WAKE_LOCK_SUSPEND > /sys/power/wake_lock
This will disable system wide suspend ..
-Girish
On Feb 20, 2009, at 1:13 AM, pavan savoy wrote:
> humn, thanks...
>
> but tell me .. what if I disable the kernel PM itself... that will
> surely do .. it
android-porting@googlegroups.com
Subject: [android-porting] Re: turning off android power management
Just do following on ur debug terminal
echo WAKE_LOCK_SUSPEND > /sys/power/wake_lock
This will disable system wide suspend ..
-Girish
On Feb 20, 2009, at 1:13 AM, pavan savoy
mailto:
s->Sound and Display"
> also works.
>
> --
> *From:* android-porting@googlegroups.com [mailto:
> android-port...@googlegroups.com] *On Behalf Of *neo.driz...@gmail.com
> *Sent:* 2009年2月21日 13:24
> *To:* android-porting@googlegroups.com
> *Su
;Screen off time" to "never" in "Settings->Sound and
>> Display" also works.
>>
>> --
>> *From:* android-porting@googlegroups.com [mailto:
>> android-port...@googlegroups.com] *On Behalf Of *neo.driz...@gmail.com
>>
[mailto:
>> android-port...@googlegroups.com] *On Behalf Of *neo.driz...@gmail.com
>> *Sent:* 2009年2月21日 13:24
>> *To:* android-porting@googlegroups.com
>> *Subject:* [android-porting] Re: turning off android power management
>>
>> Just do following on ur debug termi