View Single Post
Old 03-10-2016, 05:09 AM   #22
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Another point of interest -
I set the PM threshold to 5000 microseconds (default is 50000 when in 'off' state) -
Removed the USB cable (which was generating (as it is supposed to) that wake_lock) -
Let it go to sleep last night -

Woke it this morning with the following found in the kernel's message buffer:
Code:
[root@kindle ksm]# dmesg
[24135.398799] PM: Syncing filesystems ... done.
[24135.417004] PM: Preparing system for mem sleep
[24135.419446] Freezing user space processes ... (elapsed 0.01 seconds) done.
[24135.434185] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[24135.454195] PM: Entering mem sleep
[24135.454203] Suspending console(s) (use no_console_suspend to debug)
[24135.475077] udc suspend begins
[24135.475619] USB Gadget suspend ends
[24135.475761] KERNEL: I pmic:fg suspend battinfo:current=-164mA, volt=4129mV, capav=094%, mAh=1377mAh:
[24135.494984] PM: device platform:max77696-rtc.0 suspend too slow, it takes     13.112 msecs
[24135.495018] add wake up source irq 105
[24135.497787] add wake up source irq 51
[24135.497845] PM: suspend of devices complete after 43.186 msecs
[24135.498218] PM: late suspend of devices complete after 0.355 msecs
[24135.505188] PM: early resume of devices complete after 0.184 msecs
[24135.505330] remove wake up source irq 51
[24135.758247] PM: device platform:sdhci-esdhc-imx.1 resume too slow, it takes   252.819 msecs
[24135.758802] remove wake up source irq 105
[24135.759833] KERNEL: I pmic:onkey::wario button online event
[24135.781557] PM: device platform:max77696-rtc.0 resume too slow, it takes      22.224 msecs
[24135.787579] KERNEL: I pmic:fg resume battinfo:current=-2mA, volt=4127mV, capav=093%, mAh=1298mAh:
[24135.791579] PM: device platform:max77696-battery.0 resume too slow, it takes          6.527 msecs
[24135.791686] USB Gadget resume begins
[24135.791693] fsl_udc_resume, Wait for wakeup thread finishes
[24135.811652] dr_controller_run: udc enter low power mode 
[24135.811668] USB Gadget resume ends
[24135.811679] PM: device platform:fsl-usb2-udc resume too slow, it takes        19.990 msecs
[24135.831647] PM: resume of devices complete after 326.365 msecs
[24135.831869] PM: Finishing wakeup.
[24135.831876] Restarting tasks ... done.
[24135.851612] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
[24135.993329] mmc1: mmc_rescan_try_freq: trying to init card at 300000 Hz
[24136.160431] mmc1: mmc_rescan_try_freq: trying to init card at 200000 Hz
[24136.286284] mmc1: mmc_rescan_try_freq: trying to init card at 100000 Hz
[24149.529017] KERNEL: I pmic:charger chgina::charger connected
[24149.550688] otg udc vbus rising wakeup
[24149.551417] try_wake_up_udc: udc out low power mode
[24150.179060] g_file_storage gadget: high speed config #1
Note that the first few messages are from when it went to sleep (I couldn't very well clear the buffer after it went to sleep ).

# 95 95

Last edited by knc1; 03-10-2016 at 05:28 AM.
knc1 is offline   Reply With Quote