zhhdadu 发表于 2022-9-20 16:12:15

休眠唤醒测试无效

4GDDR版本,linux buildroot下,按power键,屏幕关闭,呼吸灯停止,但是好像没有休眠。再按power键没有动作,只能关电重启。
下列debug输出:


key_event:
code   : POWER
source   : /dev/input/event0
exec   : "/etc/power-key.sh press"

xkbcommon: ERROR: couldn't find a Compose file for locale "C"
qt.xkb.compose: failed to create compose table

key_event:
code   : POWER
source   : /dev/input/event0
exec   : "/etc/power-key.sh release"

[ 5664.006094] PM: suspend entry (deep)
[ 5664.006125] PM: Syncing filesystems ... done.
[ 5664.009723] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 5664.011159] OOM killer disabled.
[ 5664.011170] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 5664.012470] Suspending console(s) (use no_console_suspend to debug)


兵兵兵兵鸭 发表于 2022-9-20 17:53:36

我们测试开发板该功能正常,您是否有链接其他外设,我们测试一下。

zhhdadu 发表于 2022-9-21 08:47:09

已将所有外接设备去掉,仅接debug口。单板外接电源进行测试,可以唤醒了。
唤醒后一直报蓝牙错误。不停止。。
   Bluetooth: hci0: Frame reassembly failed (-84)

下为睡眠唤醒debug log:

#
key_event:
code   : POWER
source   : /dev/input/event0
exec   : "/etc/power-key.sh press"

xkbcommon: ERROR: couldn't find a Compose file for locale "C"
qt.xkb.compose: failed to create compose table

key_event:
code   : POWER
source   : /dev/input/event0
exec   : "/etc/power-key.sh release"

[   20.280329] PM: suspend entry (deep)
[   20.280362] PM: Syncing filesystems ... done.
[   20.282999] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   20.284547] OOM killer disabled.
[   20.284559] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   20.285876] Suspending console(s) (use no_console_suspend to debug)
abcdeghINFO:    sleep mode config:
INFO:            mode: RKPM_SLP_CENTER_PD
INFO:            mode: RKPM_SLP_ARMOFF_LOGOFF
INFO:            mode: RKPM_SLP_PMIC_LP
INFO:            mode: RKPM_SLP_HW_PLLS_PD
INFO:            mode: RKPM_SLP_PMUALIVE_32K
INFO:            mode: RKPM_SLP_OSC_DIS
INFO:            mode: RKPM_SLP_32K_PVTM
INFO:    wakeup source config:
INFO:            Enable GPIO0 interrupt as wakeup source
ijsramwfi???yyO2y8???9?L1MI/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
[   20.300997] dw-mipi-dsi fe070000.dsi: final DSI-Link bandwidth: 300 x 4 Mbps
[   20.474587] rockchip-vop2 fe040000.vop: Crtc atomic disable vp1
[   20.510286] rockchip-dmc dmc: failed to get event dfi
[   20.510323] rockchip-vop2 fe040000.vop: Crtc atomic disable vp2
[   20.969594] Disabling non-boot CPUs ...
[   20.988326] CPU1: shutdown
[   20.988337] psci: CPU
key_event:
code   : POWER
source   : /dev/input/event0
exec   : "/1etc/ powerk-key.sh press"

illed (polled 0 ms)
[   21.008244] CPU2: shutdown
[   21.008253] psci: CPU2 killed (polled 0 ms)
[   21.021433] IRQ 6: no longer affine to CPU3
[   21.021558] CPU3: shutdown
[   21.02start-stop-d1aemon: warning: killing pro5cess 813: No such process
66] psci: CPU3 killed (polled 0 ms)
[   21.022316] pm_s
key_event:
y code   : POWER
   source   : /dev/input/event0
exec   : "/etc/powser-key.sh release"

tem_irq_wakeup: 79 triggered rk817
[   21.022372] Enabling non-boot CPUs ...
[   21.030307] Detected VIPT I-cache on CPU1
[   21.030342] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000
[   21.030413] CPU1: Booted secondary processor 0x0000000100
[   21.031100] CPU1 is up
[   21.039086] Detected VIPT I-cache on CPU2
[   21.039117] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000
[   21.039176] CPU2: Booted secondary processor 0x0000000200
[   21.039728] CPU2 is up
[   21.047678] Detected VIPT I-cache on CPU3
[   21.047709] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000
[   21.047765] CPU3: Booted secondary processor 0x0000000300
[   21.048355] CPU3 is up
[   21.052661] rockchip-dmc dmc: failed to get event dfi
[   21.054108] usb usb2: root hub lost power or was reset
[   21.054137] usb usb1: root hub lost power or was reset
[   21.111765] usb usb3: root hub lost power or was reset
[   21.134629] rockchip-dmc dmc: failed to get event dfi
[   21.171757] usb usb4: root hub lost power or was reset
[   21.178269] usb usb5: root hub lost power or was reset
[   21.178279] usb usb6: root hub lost power or was reset
[   21.182828] vm149c 2-000c: retrying I2C... 0
[   21.204836] vm149c 2-000c: retrying I2C... 2
[   21.224476] Bluetooth: hci0: Frame reassembly failed (-84)
[   21.231452] vm149c 2-000c: retrying I2C... 4
[   21.254397] vm149c 2-000c: i2c write to failed with error -6
[   21.254405] vm149c 2-000c: vm149c_set_pos: failed with error -6
[   21.256199] rockchip-vop2 fe040000.vop: Update mode to 1024x600p56, type: 16 for vp1
[   21.256579] rockchip-dmc dmc: failed to get event dfi
[   21.256608] rockchip-vop2 fe040000.vop: Update mode to 1024x600p52, type: 17 for vp2
[   21.256678] dw-mipi-dsi fe070000.dsi: final DSI-Link bandwidth: 300 x 4 Mbps
[   21.324511] Bluetooth: hci0: Frame reassembly failed (-84)
[   21.368896] ata1: SATA link down (SStatus 0 SControl 300)
[   21.424508] Bluetooth: hci0: Frame reassembly failed (-84)
[   21.477812] rockchip-dmc dmc: failed to get event dfi
[   21.498523] OOM killer enabled.
[   21.498535] Restarting tasks ... done.
[   21.506289] Resume caused by IRQ 79, rk817
[   21.506345] PM: suspend exit
[   21.524473] Bluetooth: hci0: Frame reassembly failed (-84)
[   21.624531] Bluetooth: hci0: Frame reassembly failed (-84)
[   21.724477] Bluetooth: hci0: Frame reassembly failed (-84)
[   21.824702] Bluetooth: hci0: Frame reassembly failed (-84)
[   21.924545] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.024541] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.124420] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.224618] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.324619] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.424550] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.524447] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.624538] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.724608] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.824632] Bluetooth: hci0: Frame reassembly failed (-84)
[   22.924568] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.024565] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.124528] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.224565] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.324565] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.424613] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.524527] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.624395] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.724604] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.824602] Bluetooth: hci0: Frame reassembly failed (-84)
[   23.924609] Bluetooth: hci0: Frame reassembly failed (-84)
[   24.024607] Bluetooth: hci0: Frame reassembly failed (-84)
[   24.124391] Bluetooth: hci0: Frame reassembly failed (-84)
[   24.224614] Bluetooth: hci0: Frame reassembly failed (-84)
页: [1]
查看完整版本: 休眠唤醒测试无效