BeagleBone Black+DS1307 Real Time Clock - system sleep and w

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
beagle24
 
Posts: 1
Joined: Wed Jun 18, 2014 4:19 am

BeagleBone Black+DS1307 Real Time Clock - system sleep and w

Post by beagle24 »

Hi,
I am using BeagleBone Black (+Debian) and have successfully installed DS1307 Real Time Clock.

In a C program I need to set system sleep and wakeup for certain time periods.
I have tried:
sudo rtcwake -m mem -s 20 -d rtc1
-->
rtcwake: open failed: /sys/class/rtc/rtc1/device/power/wakeup: No such file or directory
rtcwake: /dev/rtc1 not enabled for wakeup events

How do I "enable rtc1 for wakeup events"?

User avatar
tdicola
 
Posts: 1074
Joined: Thu Oct 17, 2013 9:11 pm

Re: BeagleBone Black+DS1307 Real Time Clock - system sleep a

Post by tdicola »

I'm not familiar with rtcwake, but searching around it sounds like there might not be support for it in the Beaglebone Black's 3.8 kernel yet: https://groups.google.com/forum/#!topic ... UxM5pGMWLY

Try posting the question in the Beaglebone Black forum to see if folks there can give a better answer on support for rtcwake too.

Locked
Please be positive and constructive with your questions and comments.

Return to “Beagle Bone & Adafruit Beagle Bone products”