Hey , You can solve this by two approaches
- First, you can disable/change this sleep time for settings. -Second, I guess you are booting your android from MMC card, and once it goes to sleep mode it may not be able to remount the MMC card while waking up. I faced a similar issue when I ported Android on OMAP3530. All I did was, modified the power.c in case of 2.6.27 Kernel. Please try similar stuffs in your Kernel, I guess you should be able to solve this. ATB Regards, Abhishek On Sat, Nov 21, 2009 at 10:37 AM, Sriram V <[email protected]> wrote: > Hi, > I am trying to test pm on a custom board with android. > > Whats happening: > 1) Android is putting the system to sleep - calling system wide suspend > 2) During suspend, kernel resume immediately - I get "wakeup wake lock: > omap-8250-serial". and again puts it back to suspend.* > *3) This keeps happening, There is no serial activity except for > printing the messages (transmission from the board) - No serial inputs from > the host pc. > 4) Is there any way to disable this? > > > Regards, > sriram > > > > # PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.01 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > Suspending console(s) (use no_console_suspend to debug) > Powerdomain (iva2_pwrdm) didn't enter target state 1 > Powerdomain (core_pwrdm) didn't enter target state 1 > Could not enter target state in pm_suspend > *wakeup wake lock: omap-8250-serial* > usb 1-2: reset high speed USB device using ehci-omap and address 2 > Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000 > done. > suspend: exit suspend, ret = 0 (2000-01-01 03:42:06.047454761 UTC) > PM: Syncing filesystems ... done. > Freezing user space processes ... (elapsed 0.00 seconds) done. > Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. > Suspending console(s) (use no_console_suspend to debug) > Powerdomain (iva2_pwrdm) didn't enter target state 1 > Powerdomain (core_pwrdm) didn't enter target state 1 > Could not enter target state in pm_suspend > wakeup wake lock: omap-8250-serial > usb 1-2: reset high speed USB device using ehci-omap and address 2 > Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 3 chg 0004 evt 0000 > done. > suspend: exit suspend, ret = 0 (2000-01-01 03:42:16.157318042 UTC) > PM: Syncing filesystems ... done. > > -- > unsubscribe: > [email protected]<android-porting%[email protected]> > website: http://groups.google.com/group/android-porting -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
