C't-VDR - NVRAM Wakeup für VIA EPIA M10000

Aus VDR Wiki
Wechseln zu: Navigation, Suche

Howto - NVRAM Wakeup für VIA EPIA M10000

Die Anleitung beschreibt die Einrichtung von NVRAM Wakeup für ein VIA EPIA M10000 Board mit dem c't VDR Version 4. Ab der 4. Version des c't VDR wird als Standard Bootloader GRUB verwendet.

Vorraussetzung ist die Installation der Pakete vdrdevel-addon-nvram

/etc/vdr/vdr-nvram-wakeup.conf

#
# Configuration file for the VDR nvram-wakeup shutdown hook
#
# This is NOT the nvram-wakeup configuration file, which you can find in
# /etc/nvram-wakeup.conf and which must be set in COMMANDLINE (see below),
# if your mainboard ins not detected automatically.
#

# Set to "yes" to enable nvram-wakeup for VDR
#
ENABLED="yes"

# Here you can specify additional command line parameters, that will be passed
# to nvram-wakeup.
#
# i.e.:
#       COMMANDLINE="-I ecs_k7s5au"              # mainboard of type K7S5au
#       COMMANDLINE="-C /etc/nvram-wakeup.conf"  # use config file
#
# see "man nvram-wakeup"
#
COMMANDLINE="-I via_epia_m"

# If your mainboard needs to reboot before shutting down, set the command(s) to
# do this here. i.e.:
#
# SPECIALSHUTDOWN="lilo -R PowerOff ; shutdown -r now"
# SPECIALSHUTDOWN="savedefault --default=POSITION --once quit | /sbin/grub --batch; shutdown -r now"
SPECIALSHUTDOWN="savedefault --default=3 --once quit | /sbin/grub --batch; shutdown -r now"

# To force a reboot whenever nvram-wakeup sets the time, independently of
# whether a reboot is required, enable this option.
#
# FORCE_REBOOT="yes"
#

# If you want your VDR machine to wakeup in regular intervals (i.e. for
# updating EPG data), specify a day interval and a wakeup time:
#
REGULAR_DAYS=0       # 0=disabled, 1=each day, 2=each 2'nd day, 3=...
REGULAR_TIME=01:00   # HH:MM

/boot/grub/menu.lst