Anyone tried the ACPI alarm rtcwake function in openSUSE 11.0.
Is it working?
It was broken in openSUSE 10.3 - it hope it is fixed in openSUSE 11.0 - but my first tests failed.
When I echo a date into /sys/class/rtc/rtc0/wakealarm the file stays empty for some reason.
user
#2
I got the same issue. Tried rtcwakeup as well but that didn’t echo anything to the file either.
Then I tried:
echo 0 > /sys/class/rtc/rtc0/wakealarm
echo date '+%s' -d '+ 5 minutes'
> /sys/class/rtc/rtc0/wakealarm
from
ACPI Wakeup - MythTV
For some reason this did echo into the file. I’ve yet to investigate why.
Got it working and updated the mythTV wiki about the subject.
ACPI Wakeup - MythTV
echo 0 > /sys/class/rtc/rtc0/wakealarm
echo date '+%s' -d '+ 5 minutes'
> /sys/class/rtc/rtc0/wakealarm
cat /sys/class/rtc/rtc0/wakealarm
user
#4
I’ve found I didn’t have to do the reset so my command (in MythTv) to set the time was just:
echo $time > /sys/class/rtc/rtc0/wakealarm