View Single Post
Old 03-09-2016, 07:41 PM   #19
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
Hmm...
Some more debug hints - not sure how they will fit into the overall troubleshooting yet.

Devices that are too slow to resume or suspend:
http://lkml.iu.edu/hypermail/linux/k...4.0/02268.html

A quote from:
https://community.freescale.com/docs/DOC-98327
(Yes, Android is run by the Linux kernel.)
  • System can not enter suspend mode:
  • Check below setting items have been disabled:
    • Whether the usb cable has been removed(usb gadget will hold a wake lock)
    • Setting->Display->Sleep, check whether the inactivity timeout period setting is longer than your expected time.
      Does not apply.
    • Setting->System->Developer options->stay awake(stay awake not be set), check whether the option is disabled.
      Does not apply.
  • Check if all wake locks have been released(You can see which wake lock is held, and then debug into the specific module):
    Code:
    # cat /sys/power/wake_lock
    Our build does not have that, but...
    Code:
    [root@kindle power]# cat pm_async
    1
    (the usb cable is plugged in -> 1 wake lock)
    Which we may be able to get some use out of.

Also, this may be of use:
Code:
[root@kindle power]# cat pm_test
[none] core processors platform devices freezer
Which is a bit strange to see - since the kernel build has power management disabled.

Last edited by knc1; 03-09-2016 at 07:45 PM.
knc1 is offline   Reply With Quote