Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Enabling RTC wakeup in Am3359 !

$
0
0

Hello, 

I am using beaglebone and i am trying to enable the RTC wakeup so the the processor will wakeup after like 10 minutes of going to sleep.

I tried the command 

rtcwake -d /dev/rtc0 -m mem -s XXX

but i won't work and complain about there is no "wakeup" file in the rtc0 directory.

i tried to write C program the uses "linux/rtc.h" , and i am setting the wakeup time without any errors , but it is ineffective and the processor will stay sleep 

please help me out !

P.S.1: i am using this command to go to sleep ; echo mem > /sys/power/state

P.S.2: i browsed the sysfs files , and there is no alarmwake file in the directory " /sys/class/rtc/rtc0" which is unusual !


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>