ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上

2011年7月7日 星期四

Android : log - suspend/wakeup

正確的log: suspend pwrkey_event_handler_Keydown V/WindowManager( 2253): InterceptPowerKeyDown pwrkey_event_handler_Keyup V/WindowManager( 2253): interceptPowerKeyUp request_suspend_state: mem (0->3) at 148562587628 (2011-07-01 13:02:24.267737500 UTC) I/power ( 2253): *** set_screen_state 0 D/SurfaceFlinger( 2253): About to give-up screen, flinger = 0x11b450 PM: Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.01 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. PM: suspend of devices complete after 1237.362 msecs suspend wp cpu=800000000 PM: late suspend of devices complete after 0.625 msecs resume PM: early resume of devices complete after 0.511 msecs pwrkey_event_handler_Keyup IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) mmc0: error -110 during resume (card was removed?) mmc0: card 0001 removed wakeup wake lock: mmc_delayed_work pwrkey_event_handler_Keydown PM: resume of devices complete after 257.948 msecs Restarting tasks ... request_suspend_state: on (3->0) at 150510488058 (2011-07-01 13:05:39.060255538 UTC) V/WindowManager( 2253): InterceptPowerKeyDown done. I/power ( 2253): *** set_screen_state 1 I/dalvikvm( 2322): Total arena pages for JIT: 11 suspend: exit suspend, ret = 0 (2011-07-01 13:05:39.431860787 UTC) mxc_ipu mxc_ipu: Channel already disabled 9 mxc_ipu mxc_ipu: Channel already uninitialized 9 D/SurfaceFlinger( 2253): Screen about to return, flinger = 0x11b450 mmc1: Starting deferred resume mmc1: Deferred resume completed W/KeyCharacterMap( 2326): Can't open keycharmap file W/KeyCharacterMap( 2326): Error loading keycharmap file '/system/usr/keychars/mxc_power_key.kcm.bin'. hw.keyboards.65538.devname='mxc_power_key' W/KeyCharacterMap( 2326): Using default keymap: /system/usr/keychars/qwerty.kcm.bin processpacket: 24 08 17 0A 43 72 0D 0A >>value= 0x0A43 [mcustub] button0, scan code= [mcustub] keyi = 0 don't send!! PM: early resume of devices complete after 0.511 msecs
另一個加上 debug msg 的 suspend log: pwrkey_event_handler_Keyup pwrkey_event_handler_Keyup pwrkey_event_handler_Keydown V/WindowManager( 2259): KEYCODE_ENDCALL V/WindowManager( 2259): InterceptPowerKeyDown V/WindowManager( 2259): ...postDelay... pwrkey_event_handler_Keyup V/WindowManager( 2259): KEYCODE_ENDCALL V/WindowManager( 2259): interceptPowerKeyUp V/WindowManager( 2259): ...remove... D/InputManager-JNI( 2259): interceptpwrkey_event_handler_Keyup KeyBeforeQueueing, GO_TO_SLEEP D/PowerManagerService-JNI( 2259): android_server_PowerManagerService_goToSleep request_suspend_state: mem (0->3) at 148702204627 (2011-07-01 13:02:23.578792624 UTC) I/power ( 2259): *** set_screen_state 0 D/SurfaceFlinger( 2259): About to give-up screen, flinger = 0x2542c8 D/dalvikvm( 2334): GC_CONCURRENT freed 242K, 51% free 2860K/5767K, external 1527K/1559K, paused 3ms+3ms resume pwrkey_event_handler_Keyup pwrkey_event_handler_Keydown request_suspend_state: on (3->0) at 480581041834 (2011-07-01 13:07:55.457631706 UTC) V/WindowManager( 2259): InterceptPowerKeyDown I/power ( 2259): *** set_screen_state 1 V/WindowManager( 2259): KEYCODE_ENDCALL mxc_ipu mxc_ipu: Channel already disabled 9 mxc_ipu mxc_ipu: Channel already uninitialized 9 D/SurfaceFlinger( 2259): Screen about to return, flinger = 0x2542c8 W/KeyCharacterMap( 2342): Can't open keycharmap file W/KeyCharacterMap( 2342): Error loading keycharmap file '/system/usr/keychars/mxc_power_key.kcm.bin'. hw.keyboards.65538.devname='mxc_power_key' W/KeyCharacterMap( 2342): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
另外,查到是 ENDCALL ..還有修改了 power key up/down 的 high/low 對應後的suspend: pwrkey_event_handler_Keydown power_key_int:RISING D/InputReader( 2256): Input event: device=0x10002 type=0x1 scancode=62 keycode=6 value=1 D/WindowManager( 2256): interceptKeyTq keycode=6 screenIsOn=true keyguardActive=false V/WindowManager( 2256): KEYCODE_ENDCALL V/WindowManager( 2256): InterceptPowerKeyDown V/WindowManager( 2256): ...postDelay... pwrkey_event_handler_Keyup power_key_int:FALLING D/InputReader( 2256): Input event: device=0x10002 type=0x1 scancode=62 keycode=6 value=0 D/WindowManager( 2256): interceptKeyTq keycode=6 screenIsOn=true keyguardActive=false V/WindowManager( 2256): KEYCODE_ENDCALL V/WindowManager( 2256): interceptPowerKeyUp V/WindowManager( 2256): ...remove... D/InputManager-JNI( 2256): interceptKeyBeforeQueueing, GO_TO_SLEEP D/PowerManagerService-JNI( 2256): android_server_PowerManagerService_goToSleep request_suspend_state: mem (0->3) at 54372444002 (2011-07-01 13:00:49.350592499 UTC) I/power ( 2256): *** set_screen_state 0 D/SurfaceFlinger( 2256): About to give-up screen, flinger = 0x11b448 PM: Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.01 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. PM: suspend of devices complete after 1237.164 msecs suspend wp cpu=800000000 PM: late suspend of devices complete after 0.614 msecs ....可以看到,一樣是在 up 時進入 suspend. 下面是 resume ... PM: early resume of devices complete after 0.509 msecs pwrkey_event_handler_Keydown power_key_int:RISING IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) mmc0: error -110 during resume (card was removed?) mmc0: card 0001 removed wakeup wake lock: mmc_delayed_work pwrkey_event_handler_Keyup power_key_int:FALLING PM: resume of devices complete after 260.198 msecs Restarting tasks ... D/InputReader( 2256): Input event: device=0x10002 type=0x1 scancode=62 keycode=6 value=1 D/WindowManager( 2256): interceptKeyTq keycode=6 screenIsOn=false keyguardActive=false D/WindowManage request_suspend_state: on (3->0) at 56324691776 (2011-07-01 13:05:43.144466699 UTC) r( 2256): ADD WAKE V/WindowManager( 2256): KEYCODE_ENDCALL V/WindowManager( 2256): InterceptPowerKeyDown I/power ( 2256): *** set_screen_state 1 D/InputReader( 2256): Input event: device=0x10002 type=0x1 scancode=62 keycode=6 value=0 D/WindowManagerdone. ( 2256): interceptKeyTq keycode=6 screenIsOn=true keyguardActive=false V/WindowManager( 2256): KEYCODE_ENDCALL V/WindowManager( 2256): interceptPowerKeyUp suspend: exit suspend, ret = 0 (2011-07-01 13:05:43.501921450 UTC) mxc_ipu mxc_ipu: Channel already disabled 9 mxc_ipu mxc_ipu: Channel already uninitialized 9 D/SurfaceFlinger( 2256): Screen about to return, flinger = 0x11b448

沒有留言:

標籤

網誌存檔