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. OOT : Nokia-ITB Bentuk Forum Pengembang Aplikasi

Wew ........ ngebut nih, awas kesalip ... he he he he ..........

Nokia-ITB Bentuk Forum Pengembang Aplikasi
Syamsudin Prasetyo

INILAH.COM, Bandung - Nokia bekerjasama dengan Institut Teknologi
Bandung membentuk Forum Nokia untuk mendukung komunitas pengembang
aplikasi, khususnya di industri teknologi bergerak dan inovasi
industri telekomunikasi.

"Sebanyak 4 juta pengembang di Asia telah bekerjasama dengan Nokia
termasuk Indonesia. Mereka penting dalam pengembangan ekosistem
teknologi bergerak," ujar Country Manager Nokia Indonesia Bob
McDougall di Bandung, Kamis (11/2).

Melalui Forum Nokia, perusahaan Finlandia itu mendorong tumbuhnya
kompetensi dalam mengembangkan teknologi bergerak dan program alih
teknologi Nokia. Caranya melalui beragam pelatihan bagi pengembang
aplikasi di Indonesia, staf pengajar dan mahasiswa ITB.

Para anggota Forum Nokia juga didorong untuk mengembangkan rencana
bisnisnya.

"Buat ITB menjadi kesempatan berharga karena dengan jumlah 7.000
mahasiwa dan 1.000 dosen teknologi informasi akan berusaha
mengembangkan aplikasi bergerak dalam kerjasama dengan organisasi
ternama di dunia. Kami mengharapkan ITB akan bisa menjadi universitas
inovasi yang akan melahirkan banyak teknopreneur," ujar Wakil Rektor
Bidang Riset dan Inovasi ITB Wawan Gunawan .

ITB akan memasukkan Nokia Web Runtime (WRT) dan Nokia Qt ke mata
kuliah Mobile Application dalam pengajarannya. Hasil studi tersebut
akan bisa digunakan oleh pengguna Nokia di seluruh dunia

Para mahasiswa ITB ditugaskan untuk membuat dua belas aplikasi hingga
akhir tahun 2010 dengan program evaluasi bulanan untuk memastikan
kualitas aplikasi tersebut.[ito]

-- 
"Indonesian Android Community [id-android]" 

2. passing values from Activity to Activity

Hi,
I have an app which makes use of several layout-views...Every layout-
view also got a class for it, which extend the Activity class...
One class for example retrieves some database values whilst offering a
search form to the user...  Afterwards the user can select one of
those values and he gets presented with another screen which gives
similar options as the one selected...
Anyways, I'd like for the first Activity to be able to send an array
with data (Strings for example) to the second one...
Right now I show an activity by using :

Intent i = new Intent(this, activitysName.class);
startActivity(i);

I have no idea whilst using this construction how I can "initialize"
the new object with the String array I want to pass to it...
So how should this be achieved ? Should I be using something else
instead of an Intent-Activity combination ?

Thanks in advance

-- 

3. slideshow of images

4. OOT: Last men standing

5. What's this Exception?

6. sending scancode values from linuxapplication (using sendevent)

7. Loop audio from mic to earpiece?