Sorry.... don't know how to trace it. Perhaps there is another command to enable the RTC interrupt, but I haven't kept track of how I go there.
On Wed, Mar 28, 2018 at 10:52 AM, Evan Griffith <[email protected]> wrote: > Hi, > > Thanks for the reply, I gave this a try and I can see that indeed it does > go into a low power state, however it will not wake. > > These are the commands I entered for reference: > > debian@beaglebone:~$ sudo su > [sudo] password for debian: > Sorry, try again. > [sudo] password for debian: > root@beaglebone:/home/debian# echo 0 > /sys/class/rtc/rtc0/wakealarm > root@beaglebone:/home/debian# echo `date '+%s' -d '+ 1 minutes'` > > /sys/class/rtc/rtc0/wakealarm > root@beaglebone:/home/debian# echo standby > /sys/power/state > > Is there a way to trace whats going on? What would I look for? > > Thanks for your help! > > On Wed, Mar 28, 2018 at 12:05 PM, Neil Hancock <[email protected]> > wrote: > >> Hello Evan >> I've done it and designing a cape that manages the power by turning it >> off and on under external RTC control. >> I've found this works >> $ 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 20mA then wakesup on deadline or any other event… >> >> >> >> >> On Fri, Mar 23, 2018 at 11:32 AM, Evan Griffith <[email protected]> >> wrote: >> >>> >>> Hi, >>> >>> I am trying to get some clarity on the capabilities of the RTC on the >>> BBBW. Based on what I can see there is a nonbattery support powered RTC on >>> the chip. However in poking around online I hav ebeen unable to issue a >>> command that allows me to put the BBBW into a lower power state and then >>> wake up using the RTC. For context what I am hoping to do is sleep for >>> 10-20 minutes wakeup do something and then go back to sleep so that I can >>> minimize power usage in a battery powered application. Also I am running >>> the latest Debian stock OS with kernel 4.9.59-ti-rt-r74. >>> >>> thanks in advance for any help and let me know what info I should have >>> provided to get better help. >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit https://groups.google.com/d/ms >>> gid/beagleboard/eb7d932f-775a-4d00-935a-a7df981d040d%40googlegroups.com >>> <https://groups.google.com/d/msgid/beagleboard/eb7d932f-775a-4d00-935a-a7df981d040d%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit https://groups.google.com/d/to >> pic/beagleboard/RZfu2sd0wbU/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/beagleboard/CAE_cRSfTP36rnA45xcx_5MKeED33xa1%2BmTAzAsJn- >> GK%3DDCw7Eg%40mail.gmail.com >> <https://groups.google.com/d/msgid/beagleboard/CAE_cRSfTP36rnA45xcx_5MKeED33xa1%2BmTAzAsJn-GK%3DDCw7Eg%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beagleboard/CA%2BUXKCop_bf2U_DfaOx8YmnWY%2Bdvoi11beLc5gZu1JWvhdiT-A% > 40mail.gmail.com > <https://groups.google.com/d/msgid/beagleboard/CA%2BUXKCop_bf2U_DfaOx8YmnWY%2Bdvoi11beLc5gZu1JWvhdiT-A%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAE_cRScvt3x%2B%3Dnhg5veABSm4dRKDX25Tjc1h8ra-hKhcVJ7DXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
