Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Readynas duo V2 wakealarm missing (10 replies)

$
0
0
Hello Bodhi,
I would like to use an OMV7 plugin for wakealarm function, but it doesn't work.
I have noted that in the realtime clock directory /sys/class/rtc/rtc0 , there is no wakealarm file:
root@nas-backup:/sys/class/rtc/rtc0# ls -l
total 0
drwxr-xr-x 3 root root    0 Aug  2 16:27 .
drwxr-xr-x 3 root root    0 Aug  2 16:27 ..
-r--r--r-- 1 root root 4096 Aug  2 16:58 date
-r--r--r-- 1 root root 4096 Aug  2 16:58 dev
lrwxrwxrwx 1 root root    0 Aug  2 16:43 device -> ../../../0-0032
-r--r--r-- 1 root root 4096 Aug  2 16:58 hctosys
-rw-r--r-- 1 root root 4096 Aug  2 16:58 max_user_freq
-r--r--r-- 1 root root 4096 Aug  2 16:58 name
-rw-r--r-- 1 root root 4096 Aug  2 16:58 offset
drwxr-xr-x 2 root root    0 Aug  2 16:39 power
-r--r--r-- 1 root root 4096 Aug  2 16:58 since_epoch
lrwxrwxrwx 1 root root    0 Aug  2 16:58 subsystem -> ../../../../../../../../class/rtc
-r--r--r-- 1 root root 4096 Aug  2 16:58 time
-rw-r--r-- 1 root root 4096 Aug  2 16:58 uevent

Even If I use
root@nas-backup:/sys/class/rtc/rtc0# rtcwake -s 30
rtcwake: cannot open /sys/class/rtc/rtc0/device/power/wakeup: No such file or directory
rtcwake: /dev/rtc0 not enabled for wakeup events

How can I make wakealarm to work ?
I need it for automatically turning on the nas at 13:00 and at 19:00 from monday to friday.

Viewing all articles
Browse latest Browse all 3247

Trending Articles