[android-porting] Re: can not resume from suspend [was Re: Cursor.patch fails]

2009-06-11 Thread robert_mu
Hi All: I have met the same question now,after searching the web,i came here... :) How to lighten the screen after wakeup?anyone who knows please let me know,thanks a lot. On 5月9日, 上午6时35分, Yi Sun wrote: > ok, I have disabled the check in thesuspendfunction. Now, my machinecanwake >

[android-porting] Re: can not resume from suspend [was Re: Cursor.patch fails]

2009-05-08 Thread Yi Sun
Current finding is that the wakelock puts the system back to suspend again after resume. Look at the end of wakelock.c:suspend function, it checks the entry_event_num. I did not see anyone else changed the value of entry_event_num beside wake_lock_internal. Now, my hard drive is screwed up by a h

[android-porting] Re: can not resume from suspend [was Re: Cursor.patch fails]

2009-05-08 Thread Yi Sun
ok, I have disabled the check in the suspend function. Now, my machine can wake up from suspend with the pm test. The new problem is that the screen is not on after wakeup, not sure if this is a kernel (fb) issue or a Android issue, still digging. On Fri, 2009-05-08 at 14:53 -0700, Yi Sun wrote: