This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358 休眠后又醒来bug

Other Parts Discussed in Thread: AM3358

硬件 AM3358+TPS65217D

软件平台: TI_Android_GingerBread_2_3_4_AM335x_Sources

问题描述:深度休眠状态下:按下power key后系统被唤醒,然后又进入了休眠

初步查明原因:内核被唤醒后上报input事件,该事件无法被应用层捕获,导致不能获取唤醒锁,然后又进入了休眠

调试信息:

[ 85.169982] PM: suspend of devices complete after 11.560 msecs
[ 85.172027] PM: late suspend of devices complete after 1.982 msecs
[ 636.250305] GFX domain entered low power state
[ 636.250366] Successfully transitioned all domains to low power state
[ 636.459381] PM: early resume of devices complete after 208.355 msecs
[ 636.459808] lj hx8357_bl_init on:1
[ 636.460021] android_work: sent uevent USB_STATE=DISCONNECTED
[ 636.474884] android_work: sent uevent USB_STATE=CONNECTED
[ 636.482086] android_work: sent uevent USB_STATE=DISCONNECTED
[ 636.543731] android_work: sent uevent USB_STATE=CONNECTED
[ 636.553375] gadget: high-speed config #1: android
[ 636.553649] android_work: sent uevent USB_STATE=CONFIGURED
[ 636.660858] gpio_keys_resume
[ 636.682678] PM: resume of devices complete after 43.811 msecs
[ 636.761077] xs >>>>>>>>>>>>>>> gpiod keys_func
[ 636.765899] Restarting tasks ...
[ 636.772247] adb_release
[ 636.775909] adb_open
[ 636.788635] wakeup wake lock: PowerManagerService
[ 636.809478] done.
[ 636.811676] suspend: exit suspend, ret = 0 (1970-01-03 00:21:11.131137580 UTC)
[ 636.937896] PM: Syncing filesystems ... done.
[ 636.979156] Freezing user space processes ... (elapsed 0.01 seconds) done.
[ 637.001892] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 637.021820] lj hx8357_bl_init on:0
[ 637.059204] Suspending console(s) (use no_console_suspend to debug)