Using RTC for wake up
sven at klomp.de
Wed Jul 30 15:44:06 CEST 2008
On Wednesday 30 July 2008 13:57:29 Holger Freyther wrote:
> On Wednesday 30 July 2008 11:22:44 Sven Klomp wrote:
> > some time ago I heard that the realtime clock can be used to wake up the
> > CPU from supend:
> > http://lists.openmoko.org/pipermail/community/2008-February/013366.html
> > However, I couldn't find an further information. How can I set PMU to
> > wake up the CPU based on the clock? Is there any sysfs file?
> with ASU atd is running and you can schedule execution of programs by
> placing files in a certain directory (take a look at the code), otherwise
> use the plain linux rtc ioctl interface directly.
And atd can also wake up from suspend? I couldn't find where the RTC is set...
I had a look in ioctl calls in Python. However it looks hard to get the
parameters for fcntl.ioctl() corresponding to e.g. RTC_ALM_SET. Someone
already used Python ioctl on the Freerunner?
More information about the devel