I'm having some trouble testing the deep sleep mode. At first, I was unable to get the RTC to increment, but applying the patch from here (http://e2e.ti.com/support/embedded/linux/f/354/t/136732.aspx) seems to have helped. I am able to go into deep sleep by issueing the following command:
rtcwake -d /dev/rtc0 -m mem -s 5
However, there is no event to wakeup after 5 seconds. I saw the note in drivers/rtc/rtc-omap.c in omap_rtc_suspend() function that says:
/* FIXME the RTC alarm is not currently acting as a wakeup event
* source, and in fact this enable() call is just saving a flag
* that's never used...
*/
The kernel version I am using is 2.6.33. I downloaded the latest DVSDK (4.03.00.06), which contains the kernel version 2.6.37. I was a little disturbed to see that the patch I referenced above was not included, nor are there any updates to the FIXME note.
Is there a patch available to trigger a wakeup event?
Thanks,
Wes