[Tilt, TyTN II, MDA Vario III Android Development] skola28:
Latest zImage (5/19) Not resuming with sleepmode=1

Having issues with the phone not 'waking back up' when I use the pm.sleep_mode=1

I ran the debug and this is what it came up with: dmesg.txt

[ 1137.933026] aux0: 322 (1862) aux1: 62 (309)
[ 1138.030674] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:39.043056422 UTC)
[ 1138.040544] android_power_suspend: pm_suspend returned with no event
[ 1138.080823] android_power_suspend: enter suspend
[ 1138.088235] PM: Syncing filesystems ... done.
[ 1138.104451] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1138.109831] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1138.112901] Wake up in 452 seconds
[ 1138.112901] sleep_delay=960000
[ 1138.112901] timer restore: dcf 15ded53
[ 1138.112901] timer new alarm: dd1 15ded53
[ 1138.112901] timer restore: df1120 e0ac80
[ 1138.112901] timer new alarm: 0 111f960
[ 1138.112901] Modem Status:
[ 1138.113051] <SM 00000929 00010929>
[ 1138.113135] USB cable status changed (1)
[ 1138.113201] msm_gpio_sleep_int handle_irq(21)
[ 1138.113780] msmrtc_resume: alarm=1242654551, now=1242654099
[ 1138.115190] Restarting tasks ... adb_read(24)
[ 1138.121633] adb_read: waiting for online state
[ 1138.130550] done.
[ 1138.234536] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:39.798684755 UTC)
[ 1138.240538] android_power_suspend: pm_suspend returned with no event
[ 1138.300798] android_power_suspend: enter suspend
[ 1138.308155] PM: Syncing filesystems ... done.
[ 1138.324521] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1138.329840] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1138.332825] Wake up in 452 seconds
[ 1138.332825] sleep_delay=960000
[ 1138.332825] timer restore: 9a0 15ded53
[ 1138.332825] timer new alarm: 9a2 15ded53
[ 1138.332825] timer restore: df1180 e0b3a0
[ 1138.332825] timer new alarm: 0 112d1c0
[ 1138.332825] Modem Status:
[ 1138.332976] <SM 00000929 00010929>
[ 1138.333060] USB cable status changed (1)
[ 1138.333128] msm_gpio_sleep_int handle_irq(21)
[ 1138.333706] msmrtc_resume: alarm=1242654552, now=1242654100
[ 1138.335123] Restarting tasks ... adb_read(24)
[ 1138.345528] adb_read: waiting for online state
[ 1138.347440] done.
[ 1138.352893] ds2746: 3945mV -161mA charge: 94/100 (4175 units)
[ 1138.352920] aux0: 322 (1862) aux1: 62 (309)
[ 1138.450683] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:40.563031420 UTC)
[ 1138.460578] android_power_suspend: pm_suspend returned with no event
[ 1138.500816] android_power_suspend: enter suspend
[ 1138.508198] PM: Syncing filesystems ... done.
[ 1138.524493] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1138.529860] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1138.533055] Wake up in 451 seconds
[ 1138.533055] sleep_delay=960000
[ 1138.533055] timer restore: dc5 15ded53
[ 1138.533055] timer new alarm: dc8 15ded53
[ 1138.533055] timer restore: df2800 e0bac0
[ 1138.533055] timer new alarm: 0 110fc40
[ 1138.533055] Modem Status:
[ 1138.533205] <SM 00000929 00010929>
[ 1138.533295] USB cable status changed (1)
[ 1138.533366] msm_gpio_sleep_int handle_irq(21)
[ 1138.533943] msmrtc_resume: alarm=1242654552, now=1242654101
[ 1138.535413] Restarting tasks ... adb_read(24)
[ 1138.541850] adb_read: waiting for online state
[ 1138.550718] done.
[ 1138.654566] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:41.318711419 UTC)
[ 1138.660503] android_power_suspend: pm_suspend returned with no event
[ 1138.720803] android_power_suspend: enter suspend
[ 1138.728086] PM: Syncing filesystems ... done.
[ 1138.744550] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1138.749895] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1138.752971] Wake up in 450 seconds
[ 1138.752971] sleep_delay=960000
[ 1138.752971] timer restore: 991 15ded53
[ 1138.752971] timer new alarm: 994 15ded53
[ 1138.752971] timer restore: df0f20 e0a9c0
[ 1138.752971] timer new alarm: 0 1c153800
[ 1138.752971] Modem Status:
[ 1138.753120] <SM 00000929 00010929>
[ 1138.753210] USB cable status changed (1)
[ 1138.753278] msm_gpio_sleep_int handle_irq(21)
[ 1138.753856] msmrtc_resume: alarm=1242654551, now=1242654101
[ 1138.755285] Restarting tasks ... adb_read(24)
[ 1138.765701] adb_read: waiting for online state
[ 1138.767588] done.
[ 1138.773021] ds2746: 3945mV -160mA charge: 94/100 (4175 units)
[ 1138.773048] aux0: 322 (1862) aux1: 62 (309)
[ 1138.870668] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:42.083029751 UTC)
[ 1138.880718] android_power_suspend: pm_suspend returned with no event
[ 1138.920822] android_power_suspend: enter suspend
[ 1138.928248] PM: Syncing filesystems ... done.
[ 1138.944457] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1138.949838] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1138.952877] Wake up in 449 seconds
[ 1138.952877] sleep_delay=960000
[ 1138.952877] timer restore: ba6 15ded53
[ 1138.952877] timer new alarm: ba8 15ded53
[ 1138.952877] timer restore: df1040 e0b1e0
[ 1138.952877] timer new alarm: 0 112c0a0
[ 1138.952877] Modem Status:
[ 1138.953025] <SM 00000929 00010929>
[ 1138.953112] USB cable status changed (1)
[ 1138.953182] msm_gpio_sleep_int handle_irq(21)
[ 1138.953780] msmrtc_resume: alarm=1242654551, now=1242654102
[ 1138.955198] Restarting tasks ... adb_read(24)
[ 1138.961723] adb_read: waiting for online state
[ 1138.970270] done.
[ 1139.074537] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:42.838684751 UTC)
[ 1139.080538] android_power_suspend: pm_suspend returned with no event
[ 1139.120825] android_power_suspend: enter suspend
[ 1139.128837] PM: Syncing filesystems ... done.
[ 1139.144443] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1139.149760] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1139.152777] Wake up in 448 seconds
[ 1139.152777] sleep_delay=960000
[ 1139.152777] timer restore: 988 15ded53
[ 1139.152777] timer new alarm: 98a 15ded53
[ 1139.152777] timer restore: df16a0 e0b960
[ 1139.152777] timer new alarm: 0 1c172c00
[ 1139.152777] Modem Status:
[ 1139.152927] <SM 00000929 00010929>
[ 1139.153012] USB cable status changed (1)
[ 1139.153083] msm_gpio_sleep_int handle_irq(21)
[ 1139.153658] msmrtc_resume: alarm=1242654551, now=1242654103
[ 1139.155063] Restarting tasks ... adb_read(24)
[ 1139.165558] adb_read: waiting for online state
[ 1139.167490] done.
[ 1139.172910] ds2746: 3945mV -165mA charge: 94/100 (4175 units)
[ 1139.172935] aux0: 322 (1862) aux1: 62 (309)
[ 1139.270665] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:43.603018083 UTC)
[ 1139.280578] android_power_suspend: pm_suspend returned with no event
[ 1139.340813] android_power_suspend: enter suspend
[ 1139.348218] PM: Syncing filesystems ... done.
[ 1139.364462] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1139.369773] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1139.372653] Wake up in 448 seconds
[ 1139.372653] sleep_delay=960000
[ 1139.372653] timer restore: b9d 15ded53
[ 1139.372653] timer new alarm: ba0 15ded53
[ 1139.372653] timer restore: df0d80 e0ba00
[ 1139.372653] timer new alarm: 0 11419c0
[ 1139.372653] Modem Status:
[ 1139.372807] <SM 00000929 00010929>
[ 1139.372885] USB cable status changed (1)
[ 1139.372955] msm_gpio_sleep_int handle_irq(21)
[ 1139.373532] msmrtc_resume: alarm=1242654552, now=1242654104
[ 1139.374942] Restarting tasks ... adb_read(24)
[ 1139.381580] adb_read: waiting for online state
[ 1139.390023] done.
[ 1139.494543] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:44.358689749 UTC)
[ 1139.501150] android_power_suspend: pm_suspend returned with no event
[ 1139.550830] android_power_suspend: enter suspend
[ 1139.558128] PM: Syncing filesystems ... done.
[ 1139.584473] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 1139.589828] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 1139.592822] Wake up in 447 seconds
[ 1139.592822] sleep_delay=960000
[ 1139.592822] timer restore: 987 15ded53
[ 1139.592822] timer new alarm: 989 15ded53
[ 1139.592822] timer restore: df1ec0 e0c340
[ 1139.592822] timer new alarm: 0 1132b00
[ 1139.592822] Modem Status:
[ 1139.592983] <SM 00000929 00010929>
[ 1139.593073] USB cable status changed (1)
[ 1139.593150] msm_gpio_sleep_int handle_irq(21)
[ 1139.593730] msmrtc_resume: alarm=1242654551, now=1242654104
[ 1139.595128] Restarting tasks ... adb_read(24)
[ 1139.605492] adb_read: waiting for online state
[ 1139.607372] done.
[ 1139.612797] ds2746: 3940mV -163mA charge: 94/100 (4174 units)
[ 1139.612823] aux0: 322 (1862) aux1: 62 (309)
[ 1139.710680] android_power_suspend: exit suspend, ret = 0 (2009-05-18 13:41:45.123053080 UTC)
[ 1139.720550] android_power_suspend: pm_suspend returned with no event
[ 1139.760815] android_power_suspend: enter suspend
[ 1139.768192] PM: Syncing filesystems ... done.

There was a lot more, but I just snipped the end.