[android-porting] Re: turning off android power management

2009-02-19 Thread aow
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

[android-porting] Re: turning off android power management

2009-02-19 Thread pavan savoy
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

[android-porting] Re: turning off android power management

2009-02-20 Thread neo . drizzle
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] Re: turning off android power management

2009-02-22 Thread Yu, Max A
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:

[android-porting] Re: turning off android power management

2009-02-23 Thread pavan savoy
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

[android-porting] Re: turning off android power management

2009-02-23 Thread pavan savoy
;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 >>

[android-porting] Re: turning off android power management

2009-02-23 Thread girish
[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