Hi dear All!
int fd, retval;
unsigned long data;
struct rtc_time rtc_tm;
/* Open runtime clock device */
fd = open ("/dev/rtc", O_RDONLY);
/* Enable alarm interrupts */
retval = ioctl(fd, RTC_AIE_ON, 0);
/* This blocks until the alarm ring causes an interrupt */
retval = read(fd, &data, sizeof(unsigned long));
In RC9 this code wakeup my Zaurus from suspend mode in given time, in RC10 this not worked - why?