[Touch CDMA Android Development] kallt_kaffe:
I tried the latest changes from this commit: http://androidhtc.git.sourceforge.n...it;h=163d46512aea5179d56fd2dc37cc5e8ceb19f4a3

but I still need to set that variable to zero to avoid sleep-death (in Warm Eclair).

last_kmsg after resetting during sleep-death:

[ 65.475552] ds2746: 4023mV -428mA charge: 94/100 (4073 units)
[ 65.475578] aux0: 259 (1441) aux1: 14 (60)
[ 66.861929] hw3d: current 242 ppid 1 file c10dc6a0 count 4
[ 66.862019] hw3d: current 242 ppid 1 file c10dc6a0 count 3
[ 66.862060] hw3d: current 242 ppid 1 file c10dc6a0 count 2
[ 66.883635] hw3d: closing
[ 66.883722] hw3d_release: in release for pid=242 tid=242
[ 66.883752] hw3d: releasing 242
[ 66.883772] hw3d: had file
[ 66.883792] hw3d: was enabled
[ 66.883827] BUG: sleeping function called from invalid context at include/asm/semaphore.h:68
[ 66.883864] in_atomic():1, irqs_disabled():128
[ 66.883889] [<c02cf348>] (dump_stack+0x0/0x14) from [<c005250c>] (__might_sleep+0xcc/0xe8)
[ 66.884022] [<c0052440>] (__might_sleep+0x0/0xe8) from [<c003e928>] (msm_rpc_call_reply+0xac/0x1d0)
[ 66.884112] [<c003e87c>] (msm_rpc_call_reply+0x0/0x1d0) from [<c003ea70>] (msm_rpc_call+0x24/0x2c)
[ 66.884182] [<c003ea4c>] (msm_rpc_call+0x0/0x2c) from [<c0037128>] (rpc_clk_off+0x40/0x4c)
[ 66.884247] [<c00370e8>] (rpc_clk_off+0x0/0x4c) from [<c00371f4>] (pc_clk_disable+0xc0/0x10c)
[ 66.884309] [<c0037134>] (pc_clk_disable+0x0/0x10c) from [<c0037264>] (clk_disable+0x24/0x28)
[ 66.884370] [<c0037240>] (clk_disable+0x0/0x28) from [<c004f1fc>] (locked_hw3d_client_done+0x38/0x88)
[ 66.884440] [<c004f1c4>] (locked_hw3d_client_done+0x0/0x88) from [<c004f364>] (hw3d_release+0x118/0x16c)
[ 66.884515] r7:c17b8e20 r6:c17b6000 r5:c10dc6a0 r4:c5c7ea00
[ 66.884565] [<c004f24c>] (hw3d_release+0x0/0x16c) from [<c00af88c>] (__fput+0xc4/0x1c0)
[ 66.884650] r9:00000000 r8:c5c71a60 r7:c640caa0 r6:00000008 r5:c5c71a60
[ 66.884707] r4:c10dc6a0
[ 66.884730] [<c00af7c8>] (__fput+0x0/0x1c0) from [<c00af9b8>] (fput+0x30/0x34)
[ 66.884795] [<c00af988>] (fput+0x0/0x34) from [<c00ac440>] (filp_close+0x74/0x80)
[ 66.884860] [<c00ac3cc>] (filp_close+0x0/0x80) from [<c005bd14>] (put_files_struct+0x90/0xe0)
[ 66.884942] r7:00000001 r6:00000017 r5:00000000 r4:c6415500
[ 66.884992] [<c005bc84>] (put_files_struct+0x0/0xe0) from [<c005bdbc>] (__exit_files+0x58/0x5c)
[ 66.885059] [<c005bd64>] (__exit_files+0x0/0x5c) from [<c005d66c>] (do_exit+0x1f8/0x668)
[ 66.885125] r5:0000000f r4:c17ecc00
[ 66.885159] [<c005d474>] (do_exit+0x0/0x668) from [<c005db8c>] (do_group_exit+0xb0/0xd0)
[ 66.885224] [<c005dadc>] (do_group_exit+0x0/0xd0) from [<c00686e0>] (get_signal_to_deliver+0x2cc/0x318)
[ 66.885307] r7:00000000 r6:c17b7ed0 r5:c17b6000 r4:00000009
[ 66.885359] [<c0068414>] (get_signal_to_deliver+0x0/0x318) from [<c0028f94>] (do_signal+0x74/0x534)
[ 66.885449] [<c0028f20>] (do_signal+0x0/0x534) from [<c0029484>] (do_notify_resume+0x30/0x34)
[ 66.885522] [<c0029454>] (do_notify_resume+0x0/0x34) from [<c0026a2c>] (work_pending+0x1c/0x20)
[ 66.885625] BUG: scheduling while atomic: bootanimation/242/0x00000002
[ 66.885655] [<c02cf348>] (dump_stack+0x0/0x14) from [<c00527a0>] (__schedule_bug+0x50/0x5c)
[ 66.885740] [<c0052750>] (__schedule_bug+0x0/0x5c) from [<c024eae4>] (schedule+0x80/0x414)
[ 66.885830] r5:c0378460 r4:c17ecc00
[ 66.885864] [<c024ea64>] (schedule+0x0/0x414) from [<c003dec4>] (rpc_smd_read+0x11c/0x138)
[ 66.885934] [<c003dda8>] (rpc_smd_read+0x0/0x138) from [<c003df50>] (msm_rpc_read_reply+0x28/0x5c)
[ 66.886005] [<c003df28>] (msm_rpc_read_reply+0x0/0x5c) from [<c003e970>] (msm_rpc_call_reply+0xf4/0x1d0)
[ 66.886077] r7:c17b7ca4 r6:00000000 r5:c17b7cfc r4:0000002c
[ 66.886127] [<c003e87c>] (msm_rpc_call_reply+0x0/0x1d0) from [<c003ea70>] (msm_rpc_call+0x24/0x2c)
[ 66.886197] [<c003ea4c>] (msm_rpc_call+0x0/0x2c) from [<c0037128>] (rpc_clk_off+0x40/0x4c)
[ 66.886262] [<c00370e8>] (rpc_clk_off+0x0/0x4c) from [<c00371f4>] (pc_clk_disable+0xc0/0x10c)
[ 66.886324] [<c0037134>] (pc_clk_disable+0x0/0x10c) from [<c0037264>] (clk_disable+0x24/0x28)
[ 66.886385] [<c0037240>] (clk_disable+0x0/0x28) from [<c004f1fc>] (locked_hw3d_client_done+0x38/0x88)
[ 66.886457] [<c004f1c4>] (locked_hw3d_client_done+0x0/0x88) from [<c004f364>] (hw3d_release+0x118/0x16c)
[ 66.886530] r7:c17b8e20 r6:c17b6000 r5:c10dc6a0 r4:c5c7ea00
[ 66.886582] [<c004f24c>] (hw3d_release+0x0/0x16c) from [<c00af88c>] (__fput+0xc4/0x1c0)
[ 66.886652] r9:00000000 r8:c5c71a60 r7:c640caa0 r6:00000008 r5:c5c71a60
[ 66.886710] r4:c10dc6a0
[ 66.886734] [<c00af7c8>] (__fput+0x0/0x1c0) from [<c00af9b8>] (fput+0x30/0x34)
[ 66.886797] [<c00af988>] (fput+0x0/0x34) from [<c00ac440>] (filp_close+0x74/0x80)
[ 66.886864] [<c00ac3cc>] (filp_close+0x0/0x80) from [<c005bd14>] (put_files_struct+0x90/0xe0)
[ 66.886934] r7:00000001 r6:00000017 r5:00000000 r4:c6415500
[ 66.886984] [<c005bc84>] (put_files_struct+0x0/0xe0) from [<c005bdbc>] (__exit_files+0x58/0x5c)
[ 66.887050] [<c005bd64>] (__exit_files+0x0/0x5c) from [<c005d66c>] (do_exit+0x1f8/0x668)
[ 66.887115] r5:0000000f r4:c17ecc00
[ 66.887149] [<c005d474>] (do_exit+0x0/0x668) from [<c005db8c>] (do_group_exit+0xb0/0xd0)
[ 66.887214] [<c005dadc>] (do_group_exit+0x0/0xd0) from [<c00686e0>] (get_signal_to_deliver+0x2cc/0x318)
[ 66.887287] r7:00000000 r6:c17b7ed0 r5:c17b6000 r4:00000009
[ 66.887337] [<c0068414>] (get_signal_to_deliver+0x0/0x318) from [<c0028f94>] (do_signal+0x74/0x534)
[ 66.887417] [<c0028f20>] (do_signal+0x0/0x534) from [<c0029484>] (do_notify_resume+0x30/0x34)
[ 66.887489] [<c0029454>] (do_notify_resume+0x0/0x34) from [<c0026a2c>] (work_pending+0x1c/0x20)
[ 68.123144] select 370 (d.apps.uploader), adj 14, size 3755, to kill
[ 68.123214] send sigkill to 370 (d.apps.uploader), adj 14, size 3755
[ 72.060443] select 386 (ndroid.settings), adj 15, size 3857, to kill
[ 72.060513] send sigkill to 386 (ndroid.settings), adj 15, size 3857
[ 73.390192] ds2746: 4021mV -373mA charge: 94/100 (4071 units)
[ 73.390219] aux0: 257 (1428) aux1: 13 (60)
[ 74.136578] VIBRATE 0
[ 74.137710] VIBRATE 30
[ 74.169488] VIBRATE 0
[ 74.501529] Sound: 5
[ 74.501594] 7200 Audio: Phone call end.
[ 74.501649] snd_set_device 1 1 1
[ 74.502669] [RR] ERROR no local ept for prog 02000031 replying anyway!!
[ 74.627172] VIBRATE 0
[ 74.628435] VIBRATE 40
[ 76.125227] VIBRATE 0
[ 76.611803] select 318 (e.process.gapps), adj 7, size 4565, to kill
[ 76.611887] send sigkill to 318 (e.process.gapps), adj 7, size 4565
[ 76.744000] binder: release proc 318, transaction 3072, not freed
[ 79.965229] ds2746: 4018mV -440mA charge: 94/100 (4069 units)
[ 79.965255] aux0: 258 (1441) aux1: 13 (60)
[ 82.570385] select 418 (CalibrateScreen), adj 15, size 3822, to kill
[ 82.570455] send sigkill to 418 (CalibrateScreen), adj 15, size 3822
[ 82.973323] select 396 (ndroid.calendar), adj 14, size 4239, to kill
[ 82.973400] send sigkill to 396 (ndroid.calendar), adj 14, size 4239
[ 83.694403] select 433 (com.ermesjo.yr), adj 15, size 3759, to kill
[ 83.694476] send sigkill to 433 (com.ermesjo.yr), adj 15, size 3759
[ 84.602515] select 442 (void.roguetools), adj 15, size 3475, to kill
[ 84.602587] send sigkill to 442 (void.roguetools), adj 15, size 3475
[ 85.880497] select 449 (droid.deskclock), adj 14, size 3863, to kill
[ 85.880567] send sigkill to 449 (droid.deskclock), adj 14, size 3863
[ 88.321059] ds2746: 3969mV -761mA charge: 94/100 (4067 units)
[ 88.321085] aux0: 255 (1415) aux1: 11 (50)
[ 88.853374] select 341 (d.process.acore), adj 14, size 5025, to kill
[ 88.853450] send sigkill to 341 (d.process.acore), adj 14, size 5025
[ 91.302779] select 459 (d.process.media), adj 14, size 3892, to kill
[ 91.302854] select 476 (m.android.email), adj 14, size 4042, to kill
[ 91.302893] select 489 (id.partnersetup), adj 15, size 3528, to kill
[ 91.302926] send sigkill to 489 (id.partnersetup), adj 15, size 3528
[ 91.580841] select 459 (d.process.media), adj 14, size 3892, to kill
[ 91.580918] select 476 (m.android.email), adj 14, size 4042, to kill
[ 91.580953] send sigkill to 476 (m.android.email), adj 14, size 4042
[ 91.890838] select 459 (d.process.media), adj 14, size 3892, to kill
[ 91.890911] send sigkill to 459 (d.process.media), adj 14, size 3892
[ 94.910361] select 498 (roid.process.im), adj 15, size 3842, to kill
[ 94.910431] send sigkill to 498 (roid.process.im), adj 15, size 3842
[ 95.630631] select 505 (com.android.im), adj 14, size 4031, to kill
[ 95.630705] send sigkill to 505 (com.android.im), adj 14, size 4031
[ 95.710901] ds2746: 4018mV -413mA charge: 94/100 (4065 units)
[ 95.710926] aux0: 257 (1428) aux1: 14 (60)
[ 98.469734] select 524 (d.apps.uploader), adj 14, size 3755, to kill
[ 98.469809] send sigkill to 524 (d.apps.uploader), adj 14, size 3755
[ 101.824714] select 513 (d.process.media), adj 14, size 3943, to kill
[ 101.824787] select 533 (com.android.mms), adj 15, size 4042, to kill
[ 101.824829] send sigkill to 533 (com.android.mms), adj 15, size 4042
[ 102.306491] select 513 (d.process.media), adj 14, size 3943, to kill
[ 102.306567] select 552 (oid.voicedialer), adj 15, size 3511, to kill
[ 102.306606] send sigkill to 552 (oid.voicedialer), adj 15, size 3511
[ 102.474901] select 513 (d.process.media), adj 14, size 3943, to kill
[ 102.474976] send sigkill to 513 (d.process.media), adj 14, size 3943
[ 104.286283] ds2746: 4028mV -360mA charge: 94/100 (4063 units)
[ 104.286310] aux0: 257 (1428) aux1: 14 (60)
[ 107.044257] select 563 (s:FriendService), adj 15, size 4458, to kill
[ 107.044331] send sigkill to 563 (s:FriendService), adj 15, size 4458
[ 108.873383] select 539 (d.process.acore), adj 14, size 4949, to kill
[ 108.873461] send sigkill to 539 (d.process.acore), adj 14, size 4949
[ 109.350581] select 574 (z.mek.DialerOne), adj 14, size 3596, to kill
[ 109.350653] send sigkill to 574 (z.mek.DialerOne), adj 14, size 3596
[ 110.684312] select 582 (ndroid.settings), adj 15, size 3822, to kill
[ 110.684384] send sigkill to 582 (ndroid.settings), adj 15, size 3822
[ 111.351196] ds2746: 3965mV -760mA charge: 94/100 (4061 units)
[ 111.351222] aux0: 253 (1402) aux1: 11 (50)
[ 113.192112] select 588 (.cooliris.media), adj 14, size 4072, to kill
[ 113.192189] send sigkill to 588 (.cooliris.media), adj 14, size 4072
[ 116.013715] select 636 (ndroid.settings), adj 15, size 3815, to kill
[ 116.013789] send sigkill to 636 (ndroid.settings), adj 15, size 3815
[ 117.627648] init: untracked pid 594 exited
[ 118.580706] ds2746: 4013mV -445mA charge: 93/100 (4058 units)
[ 118.580735] aux0: 255 (1415) aux1: 14 (60)
[ 119.750961] android_power: sleep (0->2) at 153130853332 (2010-06-09 06:28:01.518074999 UTC)
[ 119.769709] mddi0_panel_power(0) type=1
[ 120.910398] stop_drawing_early_suspend: timeout waiting for userspace to stop drawing
[ 120.911483] mddi early_suspend
[ 121.772795] android_power: wakeup (2->0) at 155942741665 (2010-06-09 06:28:04.329966666 UTC)
[ 121.960098] android_power_suspend: done
[ 121.960098] mddi early_resume
[ 121.960098] hw3d_late_resume: resuming
[ 121.997287] fus
[ 122.010405] fake_vsync_int for update
[ 122.041568] mddi0_panel_power(1) type=1
[ 124.537829] android_power: sleep (0->2) at 160497748332 (2010-06-09 06:28:08.884971666 UTC)
[ 124.648852] mddi0_panel_power(0) type=1
[ 124.814625] select 626 (d.process.media), adj 14, size 4145, to kill
[ 124.814770] send sigkill to 626 (d.process.media), adj 14, size 4145
[ 125.280400] ds2746: 4033mV -381mA charge: 93/100 (4056 units)
[ 125.280457] aux0: 254 (1415) aux1: 15 (70)
[ 126.150259] stop_drawing_early_suspend: timeout waiting for userspace to stop drawing
[ 126.151284] mddi early_suspend
[ 126.330911] active wake lock PowerManagerService
[ 127.186118] ds2746: 4047mV -190mA charge: 93/100 (4056 units)
[ 127.186173] aux0: 255 (1415) aux1: 16 (70)
[ 128.885851] ds2746: 4001mV -541mA charge: 93/100 (4054 units)
[ 128.885904] aux0: 253 (1402) aux1: 13 (60)
[ 131.977097] ds2746: 4006mV -459mA charge: 93/100 (4052 units)
[ 131.977150] aux0: 253 (1402) aux1: 13 (60)
[ 134.716011] ds2746: 4008mV -489mA charge: 93/100 (4050 units)
[ 134.716066] aux0: 253 (1402) aux1: 13 (60)
[ 136.906285] ds2746: 4008mV -461mA charge: 93/100 (4048 units)
[ 136.906340] aux0: 253 (1402) aux1: 13 (60)
[ 138.836394] ds2746: 4045mV -185mA charge: 93/100 (4047 units)
[ 138.836449] aux0: 255 (1415) aux1: 16 (70)
[ 140.486309] ds2746: 4047mV -190mA charge: 93/100 (4046 units)
[ 140.486364] aux0: 256 (1428) aux1: 16 (70)
[ 142.536405] ds2746: 4047mV -190mA charge: 93/100 (4045 units)
[ 142.536458] aux0: 257 (1428) aux1: 16 (70)
[ 146.539005] ds2746: 4043mV -208mA charge: 93/100 (4044 units)
[ 146.539060] aux0: 258 (1441) aux1: 16 (70)
[ 146.551465] select 683 (ndroid.settings), adj 15, size 3797, to kill
[ 146.560249] send sigkill to 683 (ndroid.settings), adj 15, size 3797
[ 150.141995] select 689 (com.ermesjo.yr), adj 15, size 4226, to kill
[ 150.150264] send sigkill to 689 (com.ermesjo.yr), adj 15, size 4226
[ 152.876958] select 707 (com.ermesjo.yr), adj 15, size 3837, to kill
[ 152.880374] send sigkill to 707 (com.ermesjo.yr), adj 15, size 3837
[ 153.871098] select 697 (ndroid.calendar), adj 14, size 4142, to kill
[ 153.880329] send sigkill to 697 (ndroid.calendar), adj 14, size 4142
[ 155.632523] ds2746: 4033mV -211mA charge: 93/100 (4043 units)
[ 155.632578] aux0: 258 (1441) aux1: 15 (70)
[ 156.415803] select 717 (droid.deskclock), adj 14, size 3725, to kill
[ 156.420357] select 726 (ogle.android.gm), adj 14, size 3846, to kill
[ 156.430212] send sigkill to 726 (ogle.android.gm), adj 14, size 3846
[ 157.918642] select 717 (droid.deskclock), adj 14, size 3725, to kill
[ 157.920355] send sigkill to 717 (droid.deskclock), adj 14, size 3725
[ 158.707342] select 734 (.cooliris.media), adj 14, size 4163, to kill
[ 158.710310] send sigkill to 734 (.cooliris.media), adj 14, size 4163
[ 158.780967] binder: release 734:743 transaction 8420 out, still active
[ 158.811934] binder: release 734:745 transaction 8421 out, still active
[ 160.891873] binder: 232:352 transaction failed 29189, size 752-4
[ 160.931934] binder: send failed reply for transaction 8421, target dead
[ 160.961724] binder: 232:313 transaction failed 29189, size 752-4
[ 160.980581] binder: send failed reply for transaction 8420, target dead
[ 162.961038] select 762 (d.apps.uploader), adj 14, size 3669, to kill
[ 162.970268] send sigkill to 762 (d.apps.uploader), adj 14, size 3669
[ 164.680013] select 747 (d.process.media), adj 14, size 3797, to kill
[ 164.680403] send sigkill to 747 (d.process.media), adj 14, size 3797
[ 165.400443] ds2746: 4043mV -216mA charge: 93/100 (4042 units)
[ 165.400499] aux0: 259 (1441) aux1: 16 (70)
[ 165.996703] select 771 (ndroid.settings), adj 15, size 3753, to kill
[ 166.000376] send sigkill to 771 (ndroid.settings), adj 15, size 3753
[ 167.660749] select 781 (oid.voicedialer), adj 15, size 3412, to kill
[ 167.670236] send sigkill to 781 (oid.voicedialer), adj 15, size 3412
[ 167.900966] VIBRATE 0
[ 172.521669] select 798 (ndroid.settings), adj 15, size 3752, to kill
[ 172.530409] send sigkill to 798 (ndroid.settings), adj 15, size 3752
[ 173.831414] select 753 (d.process.acore), adj 14, size 4679, to kill
[ 173.840286] send sigkill to 753 (d.process.acore), adj 14, size 4679
[ 173.968562] VIBRATE 0
[ 174.551842] ds2746: 4030mV -245mA charge: 93/100 (4041 units)
[ 174.551896] aux0: 260 (1454) aux1: 15 (70)
[ 176.270719] select 785 (.cooliris.media), adj 14, size 4204, to kill
[ 176.280246] send sigkill to 785 (.cooliris.media), adj 14, size 4204
[ 176.359229] binder: release 785:809 transaction 9717 out, still active
[ 176.376126] binder: release 785:810 transaction 9707 out, still active
[ 176.385044] binder: release proc 785, transaction 9774, not freed
[ 177.031266] binder: 811:816 transaction failed 29189, size 20-4
[ 177.041748] binder: send failed reply for transaction 9707, target dead
[ 177.222769] binder: 811:820 transaction failed 29189, size 20-4
[ 177.240289] binder: send failed reply for transaction 9717, target dead
[ 179.356989] select 822 (d.apps.uploader), adj 14, size 3651, to kill
[ 179.360414] send sigkill to 822 (d.apps.uploader), adj 14, size 3651
[ 181.246439] select 837 (ndroid.settings), adj 15, size 3753, to kill
[ 181.250305] send sigkill to 837 (ndroid.settings), adj 15, size 3753
[ 181.294814] init: untracked pid 653 exited
[ 182.533557] select 811 (d.process.media), adj 14, size 3828, to kill
[ 182.540480] send sigkill to 811 (d.process.media), adj 14, size 3828
[ 183.519642] ds2746: 4035mV -250mA charge: 93/100 (4039 units)
[ 183.519699] aux0: 260 (1454) aux1: 15 (70)
[ 183.840977] select 845 (d.apps.uploader), adj 14, size 3652, to kill
[ 183.850280] select 853 (ndroid.settings), adj 15, size 3753, to kill
[ 183.860225] send sigkill to 853 (ndroid.settings), adj 15, size 3753
[ 184.733854] select 845 (d.apps.uploader), adj 14, size 3652, to kill
[ 184.740404] send sigkill to 845 (d.apps.uploader), adj 14, size 3652
[ 187.210956] select 860 (com.ermesjo.yr), adj 15, size 3718, to kill
[ 187.220307] send sigkill to 860 (com.ermesjo.yr), adj 15, size 3718
[ 187.270904] binder: release proc 860, transaction 10402, not freed
[ 192.181560] ds2746: 4033mV -301mA charge: 93/100 (4038 units)
[ 192.181615] aux0: 260 (1454) aux1: 15 (70)
[ 198.112040] select 869 (d.process.acore), adj 14, size 4868, to kill
[ 198.120279] send sigkill to 869 (d.process.acore), adj 14, size 4868
[ 201.657182] ds2746: 4043mV -253mA charge: 93/100 (4037 units)
[ 201.657237] aux0: 260 (1454) aux1: 15 (70)
[ 203.935652] android_power: wakeup (2->0) at 314625613332 (2010-06-09 06:30:43.012839999 UTC)
[ 203.950507] android_power_suspend: done
[ 203.961576] mddi early_resume
[ 203.981492] hw3d_late_resume: resuming
[ 204.043796] fus
[ 204.066821] fake_vsync_int for update
[ 204.095739] mddi0_panel_power(1) type=1
[ 204.884479] VIBRATE 0
[ 204.885399] VIBRATE 30
[ 204.916321] VIBRATE 0
[ 205.274754] VIBRATE 0
[ 205.277739] VIBRATE 40
[ 205.319139] VIBRATE 0
[ 205.350386] select 883 (ndroid.calendar), adj 14, size 4348, to kill
[ 205.350459] send sigkill to 883 (ndroid.calendar), adj 14, size 4348
[ 206.281002] ds2746: 4013mV -308mA charge: 93/100 (4036 units)
[ 206.281027] aux0: 260 (1454) aux1: 14 (60)
[ 207.191084] android_power: sleep (0->2) at 324250934998 (2010-06-09 06:30:52.638156666 UTC)
[ 207.205491] VIBRATE 0
[ 207.209813] mddi0_panel_power(0) type=1
[ 208.411714] stop_drawing_early_suspend: timeout waiting for userspace to stop drawing
[ 208.420299] mddi early_suspend
[ 208.430913] active wake lock PowerManagerService
[ 210.053889] android_power: wakeup (2->0) at 328563798332 (2010-06-09 06:30:56.951023332 UTC)
[ 210.060974] android_power_suspend: done
[ 210.070534] mddi early_resume
[ 210.086364] hw3d_late_resume: resuming
[ 210.140371] fus
[ 210.166593] fake_vsync_int for update
[ 210.195501] mddi0_panel_power(1) type=1
[ 210.784501] VIBRATE 0
[ 210.785508] VIBRATE 30
[ 210.816506] VIBRATE 0
[ 210.936543] VIBRATE 0
[ 210.937313] VIBRATE 40
[ 210.978460] VIBRATE 0
[ 211.640463] ds2746: 4023mV -355mA charge: 93/100 (4035 units)
[ 211.640490] aux0: 260 (1454) aux1: 14 (60)
[ 212.492972] android_power: sleep (0->2) at 334072824999 (2010-06-09 06:31:02.460046667 UTC)
[ 212.512947] mddi0_panel_power(0) type=1
[ 212.532240] VIBRATE 0
[ 213.560267] stop_drawing_early_suspend: timeout waiting for userspace to stop drawing
[ 213.570217] mddi early_suspend
[ 213.583355] android_power_suspend: enter suspend
[ 213.590252] PM: Syncing filesystems ... done.
[ 213.628718] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 213.639118] Freezing remaining freezable tasks ... (elapsed 1.38 seconds) done.
[ 215.027030] suspend_device(): platform_suspend+0x0/0x34() returns -16
[ 215.027385] Could not suspend device alarm: error -16
[ 215.027758] PM: Some devices failed to suspend
[ 215.027917] Restarting tasks ... done.
[ 215.078720] android_power_suspend: exit suspend, ret = -16 (2010-06-09 06:31:05.405776667 UTC)
[ 215.080252] active wake lock android_alarm_rtc, time left 185
[ 215.690708] select 898 (ndroid.settings), adj 15, size 3753, to kill
[ 215.700272] send sigkill to 898 (ndroid.settings), adj 15, size 3753
[ 218.384164] ds2746: 4043mV -215mA charge: 93/100 (4034 units)
[ 218.384219] aux0: 260 (1454) aux1: 16 (70)
[ 222.865937] select 905 (d.process.acore), adj 14, size 4890, to kill
[ 222.870374] send sigkill to 905 (d.process.acore), adj 14, size 4890
[ 226.937742] ds2746: 4028mV -292mA charge: 93/100 (4033 units)
[ 226.937797] aux0: 259 (1441) aux1: 15 (70)
[ 227.224310] android_power_suspend: enter suspend
[ 227.230298] PM: Syncing filesystems ... done.
[ 227.298465] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 227.308963] Freezing remaining freezable tasks ... (elapsed 0.12 seconds) done.
[ 227.441605] TS Suspend
[ 227.443050] mmc1: card 079c removed
[ 227.448213] MMC: killing requests for dead queue
[ 227.448957] set sdcc vdd to 0
[ 227.450868] RTC Suspend: Current time=6:31:20
[ 227.452443] Wake up in 15 seconds
[ 227.452443] timer 0: val=b02f99, alarm=339e2, enable=1
[ 227.452443] timer 1: val=934013e0, alarm=934197e0, enable=1
[ 227.452443] msm_pm_collapse(): returned 1
[ 227.452443] timer restore 0 val=11546521 vtime=211426 sleep_time=0
[ 227.452443] timer restore 1 val=-1824517152 vtime=-1824417824 sleep_time=0