Hi,
I would like to put the system to sleep, and wake up after 10 seconds by using the RTC wakealarm.
To do this, I issue the following commands:
rtcwake -d rtc1 -s 10 -m freeze
Once I do this, the system goes to sleep, but doesn't wake up.
To do this by hand:
echo +10 > /sys/class/rtc/rtc1/wakealarm
echo freeze > /sys/power/state
If I set the wakealarm by hand, without going to sleep, I see the event_count for the rtc device in /sys/kernel/debug/wakeup_sources increase.
For some reason, the RTC doesn't want to wake the system up if I put it to sleep.
Any idea how to fix this?
Regards,
Bas Vermeulen