Hi, Elvis Dowson wrote: > Hi, > Within a minute, the system tries to suspend itself. I have > enabled CPU suspend support in the kernel. However, the system tries > to suspend itself and does not succeed, and keeps flickering the > screen as it tires to go into suspend mode. > > How can I fix this? > You can avoid suspend setting the display timeout to no timeout, if I remember or just stay awake when is powerup in the settings menu
> request_suspend_state: sleep (0->3) at 136781494130 (2000-01-01 > 00:02:15.577270442 UTC) > D/SurfaceFlinger( 873): About to give-up screen, flinger = 0x185220 > 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) > mmc0: card 05fd removed > MMC: killing requests for dead queue > PM: suspend devices took 0.351 seconds > Class driver suspend failed for cpu0 > wakeup wake lock: mmc_delayed_work > PM: resume devices took 0.140 seconds > Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 > > Best regards, > > Elvis > > Here is the full log from when the system tries to sleep: > > request_suspend_state: sleep (0->3) at 136781494130 (2000-01-01 > 00:02:15.577270442 UTC) > D/SurfaceFlinger( 873): About to give-up screen, flinger = 0x185220 > 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) > mmc0: card 05fd removed > MMC: killing requests for dead queue > PM: suspend devices took 0.351 seconds > Class driver suspend failed for cpu0 > wakeup wake lock: mmc_delayed_work > PM: resume devices took 0.140 seconds > Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 > I/vold ( 833): MMC card 'SD5done. > 12' (serial 2151005081) @ /classsuspend: exit suspend, ret = 0 > (2000-01-01 00:02:16.759246766 UTC) > /mmc_host/mmc0/mmc0:05fd removed > mmc0: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > mmc0: host does not support reading read-only switch. assuming write- > enable. > mmc0: new SD card at address 05fd > I/vold ( 833): New MMC card mmcblk1: mmc0:05fd SD512 488 MiB > 'SD512' (serial 2151005081) adde mmcblk1:d @ /class/mmc_host/mmc0/ > mmc0:05 p1fd > p2 > mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > 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) > mmc0: card 05fd removed > MMC: killing requests for dead queue > PM: suspend devices took 0.351 seconds > Class driver suspend failed for cpu0 > wakeup wake lock: mmc_delayed_work > PM: resume devices took 0.140 seconds > Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 > I/vold ( 833): MMC card 'SD5done. > 12' (serial 2151005081) @ /classsuspend: exit suspend, ret = 0 > (2000-01-01 00:02:18.539672854 UTC) > /mmc_host/mmc0/mmc0:05fd removed > mmc0: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83 > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83 > mmc0: host does not support reading read-only switch. assuming write- > enable. > mmc0: new SD card at address 05fd > I/vold ( 833): New MMC card mmcblk1: mmc0:05fd SD512 488 MiB > 'SD512' (serial 2151005081) adde mmcblk1:d @ /class/mmc_host/mmc0/ > mmc0:05 p1fd > p2 > mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > 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) > mmc0: card 05fd removed > MMC: killing requests for dead queue > PM: suspend devices took 0.351 seconds > Class driver suspend failed for cpu0 > wakeup wake lock: mmc_delayed_work > PM: resume devices took 0.140 seconds > Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 > I/vold ( 833): MMC card 'SD5done. > 12' (serial 2151005081) @ /classsuspend: exit suspend, ret = 0 > (2000-01-01 00:02:20.008361812 UTC) > /mmc_host/mmc0/mmc0:05fd removed > mmc0: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83 > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83 > mmc0: host does not support reading read-only switch. assuming write- > enable. > mmc0: new SD card at address 05fd > I/vold ( 833): New MMC card mmcblk1: mmc0:05fd SD512 488 MiB > 'SD512' (serial 2151005081) adde mmcblk1:d @ /class/mmc_host/mmc0/ > mmc0:05 p1fd > p2 > mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > 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) > mmc0: card 05fd removed > MMC: killing requests for dead queue > PM: suspend devices took 0.351 seconds > Class driver suspend failed for cpu0 > wakeup wake lock: mmc_delayed_work > PM: resume devices took 0.140 seconds > Restarting tasks ... <7>hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000 > init: cannot find '/system/bin/dbus-daemon', disabling 'dbus' > I/vold ( 833): MMC card 'SD5done. > 12' (serial 2151005081) @ /class/mmc_host/mmc0/mmc0:05fd removed > suspend: exit suspend, ret = 0 (2000-01-01 00:02:21.561096196 UTC) > mmc0: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83 > Spurious irq 95: 0xffffffdf, please flush posted write for irq 83 > mmc0: host does not support reading read-only switch. assuming write- > enable. > mmc0: new SD card at address 05fd > I/vold ( 833): New MMC card mmcblk1: mmc0:05fd SD512 488 MiB > 'SD512' (serial 2151005081) adde mmcblk1:d @ /class/mmc_host/mmc0/ > mmc0:05 p1fd > p2 > mmc1: mmc_rescan - card ocr from io_op=0x00000000, err = -110 > 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) > > > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---