Re: [beagleboard] BeagleBone Black RTC Wake Alarms

2017-08-21 Thread Neilh
Just an FYI this worked for me on a BBG 4.4.68-ti-r108 $ sudo su $ echo 0 > /sys/class/rtc/rtc0/wakealarm $ echo `date '+%s' -d '+ 1 minutes'` > /sys/class/rtc/rtc0/wakealarm $ echo standby > /sys/power/state (shutsdown to 0.02A then wakesup on deadline or any other event…) On Wednesday, June

Re: [beagleboard] BeagleBone Black RTC Wake Alarms

2016-06-01 Thread darren . landoll
I discovered that a fix for the rtc-omap driver is missing in the 3.14.x-ti code. This was preventing alarmtimer and other devices from detecting rtc-omap as a valid wake-capable RTC... applying this patch fixed the issue for me. https://lkml.org/lkml/2014/10/9/425 -- For more options, visit

Re: [beagleboard] BeagleBone Black RTC Wake Alarms

2016-04-22 Thread darren . landoll
On Thursday, April 21, 2016 at 6:26:19 PM UTC-4, William Hermans wrote: > > I can tell you that using kernel 4.1.x > https://www.linux.com/learn/wake-linux-rtc-alarm-clock works. I'm not > sure that rtc wake timer is related to the one you're asking. However, I > can tell you that once the

Re: [beagleboard] BeagleBone Black RTC Wake Alarms

2016-04-21 Thread William Hermans
drivers/soc/ti/wkup_m3_ipc.c Also from memory has nothing to do with the rtc wakeup stuff. That actually is for the PRU's or possibly other peripherals sharing the L3 interconnect fabric on the am335x processor. Sorry, I missed that the first time I read your post. On Thu, Apr 21, 2016 at 3:26

Re: [beagleboard] BeagleBone Black RTC Wake Alarms

2016-04-21 Thread William Hermans
I can tell you that using kernel 4.1.x https://www.linux.com/learn/wake-linux-rtc-alarm-clock works. I'm not sure that rtc wake timer is related to the one you're asking. However, I can tell you that once the main am335x processor loses power, or the ability to act from being in sleep mode, the

[beagleboard] BeagleBone Black RTC Wake Alarms

2016-04-21 Thread darren . landoll
I am trying to use power management (sleep mode) in a way that is similar to how Android does it with timerfd and epoll. I want to enable autosleep and use RTC wake timers (created using timerfd) that wake the system back up and prevent sleep mode (using epoll mechanism) until the timer event