I'm having issues with configuring wakealarm via rtc - the wakeup acpi funktion, I posted a general post about it, but I'm moving along and are looking into the kernel config and now things are getting advanced :-)
I have used Mythbuntu with the same machine, and it worked fine - just reinstalled it to run 2009.1 and now I'm stuck when reading the values back to me from /proc/driver/rtc
This is what I normally do:
1. Disable the time writeback to cmos when shutting down.
2. I need to write the time two times in a row before I can read the value again from wakealarm:
#Initiate write to wakealarm
echo 0 > /sys/class/rtc/rtc0/wakealarm
#Store same value twice
echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm
echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm
This code should set the wakealarm to set off in 5 minutes
I can read the epoc value from /sys/class/rtc/rtc0/wakealarm
But when investigating the wakeupalarm I look in:
cat /proc/driver/rtcbut it does not exist. Can it be created somehow? The machine does not restart again after 5 minutes.
With a working setup on Mythbuntu on the exact same machine, I followed these instructions:
http://www.mythtv.org/wiki/ACPI_Wakeup#Using_.2Fsys.2Fclass.2Frtc.2Frtc0.2Fwakealarmany help appreciated! :-)
cheers
MBantz