最近在调试休眠唤醒,遇到不少问题,现在记录下解决问题问题的过程。
1、休眠或者唤醒过程中内核异常
具体解决办法,请看这篇linux 遇到的内核异常问题分析解决汇总
2、休眠过程中唤醒
调试的时候发现,本来Android 系统已经休眠下去,CPU已经暂停运行,但是串口log记录一段时间发现有时候内核log会重新打印,一些驱动重新resume了,或者有时候休眠到一半,系统又被唤醒了,log 大概如下:
[2020/8/9 6:46:31] [ 2956.891633] PM: Wakeup pending, aborting suspend
[2020/8/9 6:46:31] [ 2956.896864] last active wakeup source: rtc
PM: Some devices failed to suspend, or early wake event detected
......
[2020/8/9 6:46:24] [ 2950.487796] disp_suspend finish
[2020/8/9 6:46:26] [ 2951.558262] PM: Wakeup pending, aborting suspend
[2020/8/9 6:46:26] [ 2951.563490] last active wakeup source: xxx-battery
[2020/8/9 6:46:26] [ 2951.569152] PM: Some devices failed to suspend, or early wake event detected
......
[2020/8/9 6:46:
版权声明:本文为gooogleman原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。