Nvram auf ASUS CUV4X-E mit Kanotix Easter und Zulu x-vdr-0.5.1

  • Hallo Gemeinde,


    das Motherboard wird also nach Nvram Projektseite unterstützt.
    Bootmanager Grub.
    Wie nur mit oben angegebener Konfiguration nvram in Betrieb nehmen?
    Reicht es aus die /var/lib/vdr/shutdown.conf wie folgt zu ändern?


    # Global config file for vdrshutdown
    ### nvram-wakeup
    # ACHTUNG: Das VDR Shutdown-Script /usr/lib/vdr/scripts/vdrshutdown ist bei nvram-wakeup für lilo + poweroff-kernel konfiguriert!!!
    # Do you want to use nvram-wakeup? (1=true/0=false)
    #NVRAM_WAKEUP="0"
    NVRAM_WAKEUP="1" <--------------Änderung-------------
    # read board configuration from specified configuration file (e.g: /usr/local/etc/nvram-wakeup/nvram-wakeup.conf)
    NVRAM_CONFIG=""
    # specify the iw (infowriter) name. (e.g: gigabyte_5aa)
    NVRAM_IWNAME=""
    # try "nvram-wakeup --help"
    NVRAM_OPT=""


    ### acpi-wakeup
    # Do you want to use acpi-wakeup? (1=true/0=false)
    #ACPI_WAKEUP="0"
    ACPI_WAKEUP="1" <--------------Änderung-------------
    ### both
    # time for booting the system in seconds (new_wakeuptime = wakeuptime - boottime)
    BOOT_TIME="120"
    # set this to "0", "MAXIMAL" or your max-power-off-time in minutes
    MAX_POWEROFF_TIME="0"
    # waiting period in minutes
    WAITING_PERIOD="15"


    # to abort the shutdown
    #
    # format: <tests> && <osd + logger message>
    # ^^^^^^^^^^^^^^^^^^^^^^^^^
    # optional
    CHECK_PROCS=\
    "
    test -s $VDRCONFDIR/plugins/queue.vdrrip && echo 'vdrrip laeuft'
    pidof -x vdr-no-shutdown >/dev/null 2>&1 && echo 'vdr-no-shutdown laeuft'
    pidof -x updateepg.sh >/dev/null 2>&1 && echo 'updateepg laeuft'
    pidof -x tvm2vdr.pl >/dev/null 2>&1 && echo 'tvmovie2vdr laeuft'
    pidof infosatepg >/dev/null 2>&1 && echo 'infosatepg laeuft'
    pidof cutinplace >/dev/null 2>&1 && echo 'cutinplace laeuft'
    pidof transcode >/dev/null 2>&1 && echo 'transcode' laeuft'
    pidof vcdimager >/dev/null 2>&1 && echo 'vcdimager laeuft'
    pidof mencoder >/dev/null 2>&1 && echo 'mencoder laeuft'
    pidof tosvcd >/dev/null 2>&1 && echo 'tosvcd laeuft'
    pidof lame >/dev/null 2>&1 && echo 'lame laeuft'
    pidof noad >/dev/null 2>&1 && echo 'noad laeuft'
    netstat -n|grep ^tcp|egrep -q ':22 ' && echo 'ssh client(s) connected'
    netstat -n|grep ^tcp|egrep -q ':139 ' && echo 'smb client(s) connected'
    netstat -n|grep ^tcp|egrep -q ':2004 ' && echo 'streamdev client(s) connected'
    grep -qs ^ /var/lib/nfs/rmtab && echo 'nfs client(s) connected'
    "


    oder ist hier noch mehr zu tun?


    Danke vorab


    moin

  • entweder du machst acpi wakeup oder nvram-wakeup, aber bitte nicht beides.


    grüße
    frank

    Board: ASUS AT5IONT-I, 4 GB Ram
    DVB Karte: Tevii S480
    40 GB ssd als boot/systemplatte (2,5" Wechelrahmen, um auf einer anderen Platte ein Testsystem zu installieren)
    3x2TB hdd für /media
    Medion X10 Fernbedienung
    yaVDR 0.5
    Samsung UE46D5700

  • Hi,
    /usr/lib/vdr/scripts/vdrshutdown ist für lilo mit poweroff-kernel konfiguriert. Wenn du den nvram-wakeup mit grub verwenden möchtest, must du vdrshutdown noch anpassen.
    Wenn du lilo einsetzen möchtest und keinen poweroff-kernel brauchst must du die ensprechende Zeile in vdrshutdown auskommentieren.


    Als erstes solltest du aber testen ob und wie dein Board mit nvram-wakeup funktioniert.


    Dann kann ich dir sagen wie du das am besten einbaust.


    Gruss
    marc

  • Zitat

    die nvram projektseite sagt das das mb unterstützt wird, was ist denn zusätzlich noch zu testen?


    Klappt das Aufwachen oder braucht das Board einen Reboot...


    Wenn es keinen Reboot braucht kannst du vdrshutdown ab Zeile 77 mal so ändern:


    Code
    if [ "$NVRAM_WAKEUP" = "1" ] ; then 
    		echo "svdrpsend.pl MESG 'Shutdown now!'"| at now
    		VAR="-s $WAKEUPTIME $NVRAM_OPT ${NVRAM_CONFIG:+-C $NVRAM_CONFIG} ${NVRAM_IWNAME:+-I $NVRAM_IWNAME}"
    		sudo $VDRSCRIPTDIR/vdr2root nvram-wakeup "$VAR"
    		sudo $VDRSCRIPTDIR/vdr2root shutdown
    		exit 0
    	fi


    Gruss
    marc

    >>>> x-vdr <<<< Installations-Skript für einen VDR mit Debian als Basis

    Einmal editiert, zuletzt von zulu ()

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!