This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62A-LP: Unable to use an alarm for rtc1 (AM62A RTC) as a wakeup source

Part Number: SK-AM62A-LP

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