嵌入式爱好者

查看: 3187|回复: 2

[Linux] 休眠唤醒测试无效

[复制链接]

16

主题

23

帖子

82

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证AM335x通行证AM62x资料下载

扫一扫,手机访问本帖
发表于 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)


回复

使用道具 举报

0

主题

89

帖子

282

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX6UL通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证LS1028A通行证LS1012A通行证LS1043A\46A通行证TCU通行证FDU产品通行证FCU1401通行证FCU1301通行证FCU11xx通行证FCU1201通行证FCU2201通行证FCU2301/FCU2302通行证FCU2401通行证5G转接卡通行证FCU3001通行证AM5718通行证Hi3519A通信证AM335x通行证i.MX RT通行证XX18通行证

发表于 2022-9-20 17:53:36 | 显示全部楼层
我们测试开发板该功能正常,您是否有链接其他外设,我们测试一下。
点评回复 支持 反对

使用道具 举报

16

主题

23

帖子

82

积分

A40i/T3/T507/T527通行证i.MX6Q通行证i.MX8MM通行证i.MX8MP通行证RK3568通行证RK3399通行证AM335x通行证AM62x资料下载

 楼主| 发表于 2022-9-21 08:47:09 | 显示全部楼层
已将所有外接设备去掉,仅接debug口。单板外接电源进行测试,可以唤醒了。
唤醒后一直报蓝牙错误。不停止。。
   Bluetooth: hci0: Frame reassembly failed (-84)

下为睡眠唤醒debug log:

[root@ok3568:/]#
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[0x5ec]:
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[0x10]:
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: [drm:dw_mipi_dsi_encoder_enable] final DSI-Link bandwidth: 300 x 4 Mbps
[   20.474587] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp1
[   20.510286] rockchip-dmc dmc: failed to get event dfi
[   20.510323] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] 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 [0x412fd050]
[   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 [0x412fd050]
[   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 [0x412fd050]
[   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: [drm:vop2_crtc_atomic_enable] Update mode to 1024x600p56, type: 16 for vp1
[   21.256579] rockchip-dmc dmc: failed to get event dfi
[   21.256608] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1024x600p52, type: 17 for vp2
[   21.256678] dw-mipi-dsi fe070000.dsi: [drm:dw_mipi_dsi_encoder_enable] 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)
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-12-20 19:11

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表