Here are the step by step instructions to set up ACPI-WakeUp for an Asus M3N78-EM mainboard and yaVDR 0.3.0a:
- Disable “Power On By RTC Alarm” in the BIOS settings (Power > APM Configuration).
- Edit /etc/vdr/vdr-addon-acpiwakeup.conf:
ACPI_ENABLED=yes
- Edit /etc/default/rcS:
UTC=yes
- Create the custom template /etc/yavdr/templates_custom/etc/default/grub/10_main (you may have to create the directories under /etc/yavdr/templates_custom)*:
GRUB_DEFAULT=saved GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT="10" GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="vmalloc=256m quiet noresume nohz=off acpi_enforce_resources=lax acpi=force hpet=disable" GRUB_CMDLINE_LINUX="" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entrys #GRUB_DISABLE_LINUX_RECOVERY="true"
- Rebuild /etc/default/grub and update grub:
# sudo process-template /etc/default/grub # sudo update-grub
- Use the yaVDR web frontend to set the “VDR Shutdown” method to “suspend to DISK“.
*To be precise, the file /etc/yavdr/templates_custom/etc/default/grub/10_main created in step 4 is a copy of /etc/yavdr/templates_custom/etc/default/grub/10_main which adds “acpi=force hpet=disable” to the GRUB_CMDLINE_LINUX_DEFAULT options.