I am trying to get wakeup of my HTPC set up. Following the exessive guidline from the MythTV wiki, I am already stuck at the first stages.
It seems that I cannot write to the SysFS file properly, but it does also not yield an error.
Whatever I want to echo into the wakealarm file, I only see that it updates the alarm_time with a short offset from now:
Libreelec# echo 0 > /sys/class/rtc/rtc0/wakealarm Libreelec# cat /proc/driver/rtc rtc_time : 09:18:50 rtc_date : 2017-04-01 alrm_time : 09:23:43 alrm_date : 2017-04-01 alarm_IRQ : no alrm_pending : no update IRQ enabled : no periodic IRQ enabled : no periodic IRQ frequency : 1024 max user IRQ frequency : 64 24hr : yes periodic_IRQ : no update_IRQ : no HPET_emulated : yes BCD : yes DST_enable : no periodic_freq : 1024 batt_status : okay Libreelec#
The alarm_IRQ is not set, which means the box won't wake up.
Regardless of which epoch time I echo into the wakealarm file, it is always the same result. I only have a few minutes offset from the rtc_time and no IRQ.
What would be my next step to investigate?