硬件 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)
yongqing wang:
刚唤醒又进去了休眠?意思是无法唤醒?
user5164010:
回复 yongqing wang:
是的
user5164010:
有谁可以帮帮我吗
Shine:
回复 user5164010:
是否有参考过下面的帖子?
e2echina.ti.com/…/365247
user5164010:
回复 Shine:
问题应该不是相同的,不过我可以尝试下更新休眠唤醒固件。只是我不知道怎么去更新,那个固件包是适合我目前的sdk的
user5164010:
回复 Shine:
我仔细的看了一下,am335x-pm-firmware.bin这个固件的功能好像解决的不是我这样的问题
user5164010:
回复 Shine:
你们能尽量帮我快点解决这个问题吗?量产在即。麻烦了
user5164010:
有人可以帮我吗
user5164010:
偌大的TI论坛没有人了吗,TI工程师都死了吗
Shine:
回复 user5164010:
抱歉,因TI为没有android的支持资源,现在已经完全交给witekio来支持了。witekio.com/…/Android software development kitwww.ti.com/…/tools-software.html
另外,我在e2e上发了个帖子,可以关注一下。
http://e2e.ti.com/support/arm/sitara_arm/f/791/t/702308