休眠到RAM

# echo mem > /sys/power/state

使用休眠到内存方式,20s后使用内部RTC唤醒系统

# echo +20 > /sys/class/rtc/rtc0/wakealarm; echo mem > /sys/power/state

 

唤醒源

# find /sys -name wakeup
/sys/kernel/debug/tracing/events/ftrace/wakeup
/sys/devices/platform/soc/5c004000.rtc/power/wakeup
/sys/devices/platform/soc/40011000.serial/power/wakeup
/sys/devices/platform/soc/40011000.serial/tty/ttySTM1/power/wakeup
/sys/devices/platform/soc/49000000.usb-otg/usb2/power/wakeup
/sys/devices/platform/soc/40013000.i2c/power/wakeup
/sys/devices/platform/soc/5800d000.usbh-ehci/usb1/power/wakeup
/sys/devices/platform/soc/5800d000.usbh-ehci/usb1/1-1/power/wakeup
/sys/devices/platform/soc/5800a000.ethernet/power/wakeup
/sys/devices/platform/soc/40010000.serial/power/wakeup
/sys/devices/platform/soc/40010000.serial/tty/ttySTM0/power/wakeup
/sys/devices/platform/soc/4c001000.mailbox/power/wakeup
/sys/devices/platform/soc/40015000.i2c/power/wakeup
/sys/devices/platform/keys/power/wakeup
作者:SteveChen  创建时间:2024-09-18 11:44
最后编辑:SteveChen  更新时间:2024-09-18 11:44
上一篇:
下一篇: