OpenHarmony 唤醒花屏问题

平台RK3568

基线 3.2 beta

在移植Harmonys的时候发现一个问题,就是开机正常显示,uboot和kernel正常,开机后灭屏,等待系统进入Deep ,然后按power按键唤醒设备。此时出现花屏或者不显示问题

多次测试发现,如果系统没有进入deep,就是串口还没打印以下log之前唤醒,没有问题

703.759856\] PM: suspend entry (deep) \[ 703.768287\] Filesystems sync: 0.008 seconds \[ 703.769305\] \[I/kevent\] KeventPmNotifierFn:action=3 \[ 703.769371\] \[I/kevent\] KeventPmNotifierFn:receive suspend event \[ 703.770634\] \[I/devmgr_service\] DevmgrServicePowerStateChange:suspend state 3 \[ 703.770708\] \[I/sample_driver_test\] HdfSampleSuspend:called \[ 703.770737\] \[I/pm_driver_test\] HdfPmTestSuspend called \[ 703.770958\] \[I/devmgr_service\] DevmgrServicePowerStateChange:suspend state 3 \[ 703.771165\] \[I/sample_driver_test\] HdfSampleSuspend:called \[ 703.771200\] \[I/pm_driver_test\] HdfPmTestSuspend called \[ 703.771385\] Freezing user space processes ... (elapsed 0.006 seconds) done. \[ 703.778436\] OOM killer disabled. \[ 703.778464\] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done. \[ 703.782404\] printk: Suspending console(s) (use no_console_suspend to debug) 如果开机一直插着usb,系统无法进入deep也不会有问题 一直困扰到底是怎么回事,网上也没找到解决方案,开始认真看log 发现在这种情况下唤醒打印的以下log \[ 611.167887\] \[I/HDF_DISP\] PanelSendCmds enter \[ 611.457904\] \[I/HDF_DISP\] PanelSendCmds enter 从此开始怀疑是不是hdf下还有一个driver走的并不是我们的dts的参数,一搜这个接口,果然在hdf下的display下的driver走的一套写在driver里面的初始化参数。 这时候把那套参数修改成自己屏的初始化参数,进入deep唤醒就正常了

相关推荐
柒儿吖1 天前
m4宏处理器在鸿蒙PC上的应用指南
华为·harmonyos
讯方洋哥1 天前
初探HarmonyOS应用
华为·harmonyos
深海的鲸同学 luvi1 天前
【HarmonyOS】个性化应用图标动态切换详解
华为·harmonyos
奔跑的露西ly1 天前
【HarmonyOS NEXT】ohpm 安装依赖失败(@finclip 包找不到)问题复盘与解决方案
华为·harmonyos
余生H1 天前
时光小铺鸿蒙商城上架全复盘 - 鸿蒙2025领航者闯关.成长升级路
华为·harmonyos·鸿蒙2025领航者闯关
鸭蛋超人不会飞1 天前
鸿蒙OS学习与项目搭建报告
harmonyos
waeng_luo1 天前
[鸿蒙2025领航者闯关]图标资源统一管理
harmonyos·鸿蒙2025领航者闯关·鸿蒙6实战·开发者年度总结
云上漫步者1 天前
深度实战:Rust交叉编译适配OpenHarmony PC——unicode_width完整适配案例
开发语言·后端·rust·harmonyos
遇到困难睡大觉哈哈1 天前
Harmony OS Web 组件:如何在新窗口中打开网页(实战分享)
前端·华为·harmonyos
赵财猫._.1 天前
React Native鸿蒙开发实战(十):鸿蒙NEXT深度适配与未来展望
react native·react.js·harmonyos