env:
BIOS Ver. WYLPT10H.86A.0023.2013.1224.0941
Linux Ubuntu 13.10 (Kernel 3.11.0-15-generic)
desc:
I would like to wake up the power (Wake System from S5) on my NUC Haswell with the following command:
....
# Checking the time setting
root@myth-nuc:~# cat /proc/driver/rtc
rtc_time : 21:44:33
rtc_date : 2014-02-05
alrm_time : 00:00:00
alrm_date : 2014-02-06
alarm_IRQ : yes
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ frequency : 1024
max user IRQ frequency : 64
24hr : yes
periodic_IRQ : no
update_IRQ : no
HPET_emulated : yes
BCD : yes
DST_enable : no
periodic_freq : 1024
batt_status : okay
# Setting the wake alarm to zero
root@myth-nuc:~# echo 0 > /sys/class/rtc/rtc0/wakealarm
# Setting the wake alarm +5 minutes in the future
root@myth-nuc:~# echo `date '+%s' -d '+ 5 minutes'` > /sys/class/rtc/rtc0/wakealarm
# Control everything looks fine
root@myth-nuc:~# cat /proc/driver/rtc
rtc_time : 21:45:00
rtc_date : 2014-02-05
alrm_time : 21:49:53
alrm_date : 2014-02-05
alarm_IRQ : yes
alrm_pending : no
update IRQ enabled : no
periodic IRQ enabled : no
periodic IRQ frequency : 1024
max user IRQ frequency : 64
24hr : yes
periodic_IRQ : no
update_IRQ : no
HPET_emulated : yes
BCD : yes
DST_enable : no
periodic_freq : 1024
batt_status : okay
# Shutdown the system
root@myth-nuc:~# shutdown -P now
....
This results is a NUC-Machine which is not waking up after the expected 5 minutes it stays in the sleep status forever.
Trying with WakeUpOnLan (WOL) this is working without any problem.
For the used configuration in the BIOS please have an look at he 111.jpg attachment.