硬件:AIO-3588Q 软件:buildroot (sdk 版本:v1.0.6f.) 在系统运行的时候,单击power按键,会使系统进入待机状态,现在想要禁止单击Power按键系统进入待机状态,按照文档《RK3588 系统待机配置指南》(Rockchip_RK3588_Developer_Guide_System_Suspend_CN.pdf)中的步骤,在kernel的dts文件rk3588-firefly-aio-3588q-mipi101-M101014-BE45-A1.dtsi,增加如下设置: &rockchip_suspend { status= "disabled"; rockchip,sleep-debug-en= <0>; }; 或: &rockchip_suspend { status= "disabled"; rockchip,sleep-debug-en= <0>; rockchip,sleep-mode-config= <0>; rockchip,wakeup-config= <0>; }; 均无法奏效,即:单击power键后,系统仍然进入待机状态,在串口打印打印如下信息: [ 463.265257] [dhd] [wlan0] dhd_pri_stop : tx queue stopped [ 463.265297] [dhd] [wlan0] dhd_stop : Enter [ 463.265307] [dhd] dhd_stop: ######### called for ifidx=0 ######### [ 463.265316] [dhd] dhd_rtt_deinit: ENTER [ 463.265324] [dhd] dhd_rtt_deinit: EXIT, err = 0 [ 463.267814] [dhd] CFGP2P-ERROR) wl_cfgp2p_disable_discovery : do nothing, not initialized [ 463.268132] [dhd] dhd_stop: making dhdpub up FALSE [ 463.268152] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 3 ->mode 0 [ 463.268160] [dhd] dhd_tcpack_suppress_set: TCPACK_INFO_MAXNUM=10,TCPDATA_INFO_MAXNUM=10 [ 463.268210] [dhd] [wlan0] wl_android_wifi_off : in g_wifi_on=1,on_failure=1 [ 463.268222] [dhd] dhd_rtt_deinit: ENTER [ 463.268229] [dhd] dhd_rtt_deinit: EXIT, err = 0 [ 463.268241] [dhd] dhd_bus_devreset: == Power OFF == [ 463.268286] [dhd] dhd_bus_stop: making DHD_BUS_DOWN [ 463.268442] [dhd] dhd_dpc_kill: tasklet disabled [ 463.272664] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN [ 463.272684] [dhd] dhd_bus_devreset: WLAN OFF Done [ 463.272696] [dhd] wifi_platform_set_power = 0, delay: 0 msec [ 463.272705] [dhd] ======== PULL WL_REG_ON(-1) LOW! ======== [ 463.272715] [WLAN_RFKILL]: rockchip_wifi_power: 0 [ 463.272724] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false [ 463.272731] wifi power off [ 463.377269] [WLAN_RFKILL]: wifi shut off power [GPIO20-0] [ 463.377316] [dhd] [wlan0] wl_android_wifi_off : out [ 463.377390] [dhd] [wlan0] dhd_stop : Exit [ 463.394825] PM: suspend entry (deep) [ 463.395803] Filesystems sync: 0.000 seconds [ 463.395840] [dhd] dhd_pm_callback: action=3, suspend=1, suspend_mode=1 [ 463.395856] [dhd] dhd_conf_set_suspend_resume : op_mode 5, suspend 1,suspended 0, insuspend 0x6, suspend_mode=1 [ 463.397279] Freezing user space processes ... (elapsed 0.002 seconds)done. [ 463.399428] OOM killer disabled. [ 463.399438] Freezing remaining freezable tasks ... (elapsed 0.137seconds) done. [ 463.536926] printk: Suspending console(s) (use no_console_suspend todebug) INFO: BL31: v2.3():v2.3-499-ge63a16361:derrick.huang INFO: enter: cfg=0x4000024, sleeptimes:1 INFO: armoff_ddrpd INFO: slp_from_uboot INFO: pmu debug INFO: io_ret (0x0) INFO: GPIO POWER INFO: INFO: not config INFO: GPIO0_INTEN: 0xffff 0xffff 0xfe7e 0xf7ff 0x0 0xc02e302d INFO: GPIO1_INTEN: 0xffff 0xffff 0xffff 0xffff 0x0 0x44ec0c30 INFO: GPIO2_INTEN: 0xffff 0xffff 0xffff 0xffff 0x0 0xffcef4 INFO: GPIO3_INTEN: 0xffff 0xffff 0xffff 0xffff 0x0 0xd0047b9f INFO: GPIO4_INTEN: 0xffff 0xffff 0xffff 0xffff 0x0 0xe09c02e6 INFO: IRQ_EN: 251 INFO: IRQ_EN: 250 INFO: IRQ_EN: 248 INFO: IRQ_EN: 247 INFO: IRQ_EN: 282 INFO: IRQ_EN: 272 INFO: IRQ_EN: 313 INFO: IRQ_EN: 312 INFO: IRQ_EN: 311 INFO: IRQ_EN: 310 INFO: IRQ_EN: 309 INFO: IRQ_EN: 292 INFO: IRQ_EN: 321 INFO: IRQ_EN: 365 01INFO: pmu_power_domains_suspend 1000 pd_st=0x24dfffff repair_st=0xfa900001 idle_st=0xbffffqst=0x28000 2abcde3456789aINFO: PMU1_PWR_CON(0x1) PMU1_CRU_PWR_CON(0x30)PMU1_WAKEUP_INT_CON(0x101) PMU2_BUS_IDLE_ST(0x27fffff 0x0)PMU2_BUS_IDLE_ACK(0x27fffff 0x0) PMU2_PWR_GATE_ST(0x6cffffff 0x0) PMU2_BUS_IDLE_CON(0x0 0xf980 0xf007) PMU2_BIU_AUTO_CON(0xffff0xffff 0x7) PMU2_PWR_GATE_CON(0x0 0x1000 0x3) PMU2_VOL_GATE_CON(0x7 0x0 0x3) PMU2_QCHANNEL_PWR_CON(0x0)PMU2_QCHANNEL_STATUS(0xfe0007f) PMU1_DDR_PWR_CON(0x747 0x747 0x747 0x747) PMU1_DDR_PWR_SFTCON(0x900 0x900 0x9000x900) PMU1_PLLPD_CON(0xffff 0x3) PMU2_PWR_CON1(0xfe) PMU2_DSU_PWR_CON(0x3) PMU2_CORE_PWR_CON0(0x1 0x1) PMU2_CORE_AUTO_PWR_CON0(0x0 0x0) PMU2_CLUSTER_IDLE_CON(0x75) INFO: PMU0_PWR_CON(0x0) PMU0_WAKEUP_INT_CON(0x0) PMU0_DDR_RET_CON(0x0 0x0) PMU1_GRF_SOC_CON2(0x7777)PMU0_GRF_OS_REGS9(0x5599e70f) 9aS |
-
1.49 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1