power management cpu suspend not working - android-2.6.29 port to overo

by Elvis Dowson » Tue, 28 Apr 2009 02:04:02 GMT


Sponsored Links
 i,
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?

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=0x000



power management cpu suspend not working - android-2.6.29 port to overo

by Michael Trimarchi » Tue, 28 Apr 2009 02:06:35 GMT


 i,

Elvis Dowson wrote:
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



--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---


Sponsored Links


power management cpu suspend not working - android-2.6.29 port to overo

by Yi Sun » Tue, 28 Apr 2009 02:33:24 GMT


 ou also need to enable wake lock. Otherwise, your pm will not work
correct.
On Mon, 2009-04-27 at 20:03 +0200, Michael Trimarchi wrote:


--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



power management cpu suspend not working - android-2.6.29 port to overo

by Elvis Dowson » Tue, 28 Apr 2009 02:59:11 GMT


 Hi,
     I have enabled wake-lock. I would like the system to go to
suspend more after a while. If you look at the error, it says, PM cpu
suspect failed. I have enabled suspend support in the kernel. What
should I do to make it work?

Best regards,

Elvis




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



power management cpu suspend not working - android-2.6.29 port to overo

by Elvis Dowson » Tue, 28 Apr 2009 17:02:34 GMT


 Hi,
      Here is a list of messages that I get, the system is unable to
go to standby mode, and it keeps coming back on, with the screen
flashing on and off every second. If I touch the screen, the
flickering stops. I have only enable fb suspend, and not console
suspend. This is because when i run menuconfig i can only choose
either console suspend of the sysfs interface for the framebuffer
suspend to work.

Is the problem due to the mmc card or something? A little lower down
below, there is another error from the pm for cpu suspend.

Here are the log messages:

Suspending console(s) (use no_console_suspend to debug)
MMC: killing requests for dead queue
PM: suspend devices took 0.343 seconds
pm_noirq_op(): platform_pm_suspend_noirq+0x0/0x5c returns -11
PM: Device power.0 failed to suspend late: error -11
PM: Some devices failed to power down
wakeup wake lock: mmc_delayed_work
PM: resume devices took 0.140 seconds


Class driver suspend failed for cpu0

Best regards,

Elvis




--~--~---------~--~----~------------~-------~--~----~

-~----------~----~----~----~------~----~------~--~---



Other Threads

1. stop android using alsa

Just a clue, how OpenCore Framework is using Audio in Android.




-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Stagefright player MP4 SEEK issue on Froyo

Android Experts,

I'm developing Extractors(Parser Nodes) to support local file playback of
various file types(mkv/avi) on stagefright player. As you all know, google
has developed mp4 extractor to playback mp4/3gp files on stagefright player.
Following are some of the issues which I found while testing it,
1. MP4/3GP media file time seek is not working for all the codec types.
2. When omx decoder sends a port reconfig event after first frame
decode with correct decoder output information(number of channels
and sampling frequency), this event sends an error message
INFO_FORMAT_CHANGED to AwesomePlayer.

If anyone has fixed the above issues, could you please guide me with some of
your inputs.

Thanks and regards,
-Lakshman

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. About Bluetooth SAP Profile Support on Android

4. LiveFolder ?

5. Show List View on runtime

6. Paging All Id Android Members in Jogja

7. mohon bantuan update frf91 di nexus one