View Single Post
Old 09-05-2019, 11:04 AM   #22
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,758
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Good news, I figured it out. The Kobo Aura H2O wakes up at the time of the alarm set through a relevant ioctl RTC_WKALM_SET call.

You can test this, for example, by using:
Code:
rtcwake -m on -s 300
And then suspending.

The key is that if rtcwake tries to perform a suspend-related action it detects that it can't, but if you just set the alarm the device will wake up from suspend at the specified time.

So I'm going to go with likely standard, but still kind of weird? Because the /sys/class/rtc/rtc0/wakealarm method is just a convenient way to do the same thing without having to compile a program.
Frenzie is offline   Reply With Quote