nvram-wakeup MSI RS482M4

  • da mein board nicht direkt von nvram erkannt wird, habe ich die conf mit guess-helper erstellt.


    ################################################
    ## Mainboard autodetection information:
    ##
    ## - Mainboard vendor: "MSI"
    ## - Mainboard type: "MS-7191"
    ## - Mainboard revision: "1.0"
    ## - BIOS vendor: "American Megatrends Inc."
    ## - BIOS version: "080012"
    ## - BIOS release: "11/22/2005"


    need_reboot = ON_ANY_CHANGE
    addr_min = 0x4E
    addr_sec = 0x4F
    addr_day = 0x5A
    addr_hour = 0x5B
    addr_stat = 0xC4



    wenn ich nun manuel die rtc-alarm zeit im bios ändere tag=19 stunde=20 minute=21 sekunde=22, ließt nvram anschließend alles korrekt aus.


    VDR4You:/# nvram-wakeup -C /etc/nvram-wakeup.conf --directisa


    All values are displayed as they are stored in the nvram/rtc.
    (and do not correspond necessarily to the system date/time)


    WakeUp : Enabled (0x03)
    Day : 19 (0x00)
    Hour : 20 (0xE0)
    Minute : 21 (0x41)
    Second : 22 (0x40)


    wenn ich aberüber vdrshutdown runterfahre, ist mein ganzes bios durcheinander.


    vdrshutdown:


    #!/bin/bash
    # $Id: vdrshutdown,v 1.15 2003/08/06 12:55:44 bistr-o-math Exp $
    . /vdr/etc/sysconfig


    while [ `ps -aef | grep noad | grep -v grep | wc -l` -gt 1 ]; do
    sleep 60
    done


    su root -c "hwclock -w --localtime"
    /etc/init.d/atd stop


    cp /ramdisk/epg.data /var/cache/ramdisk


    ##### graphlcd für shutdown starten #####
    if [ x$LCD = x"graphlcd" ]; then
    execute /vdr/etc/plugins/graphlcd/stop/stop.sh
    fi


    NVRAMCMD=/usr/sbin/nvram-wakeup
    SVDRPCMD=/usr/bin/svdrpsend.pl
    CHECKSCRIPT=


    #################
    ## if the script $CHECKSCRIPT thinks that we should shutdown,
    ## it must not pint anything on stdout.
    ## if it thinks that we should NOT shutdown,
    ## it must pint a one-line message on stdout.
    ##
    ## note that all parameters passed to vdrshutdown will also be passed to $CHECKSCRIPT
    ## so it might use them (e.g. $5 -eq 0 below)
    ##
    ## it might look like this:
    ## --------------------------
    ## #!/bin/bash
    ##
    ## pgrep 2divx && { echo Divx-Conversion is still running; exit; }
    ##
    ## test -a /some/file && { echo /some/file exists; exit; }
    ##
    ## USERCOUNT=`who --count | grep users= | cut -f 2 -d "="`;
    ## test $5 -eq 0 -a $USERCOUNT -gt 0 && { echo "$USERCOUNT users are logged in."; exit; }
    ##
    ## --------------------------
    ##
    ## now if $CHECKSCRIPT exists and is executable, the message will be passed through
    ## SVDRP to the tv screen.
    ##


    #test -x $CHECKSCRIPT && {
    # msg=`$CHECKSCRIPT $*`
    # test "$msg" != "" && {
    # $SVDRPCMD MESG $msg &
    # exit 1
    # }
    #}


    #################


    # Add here needed options like --configfile=...
    # (read man nvram-wakeup and man nvram-wakeup.conf for more details)
    #$NVRAMCMD --configfile=/etc/nvram-wakeup.conf --directisa --settime $1
    #$NVRAMCMD --directisa --settime $1
    $NVRAMCMD -C /etc/nvram-wakeup.conf --directisa -ls $1
    #$NVRAMCMD -ls $1
    #$NVRAMCMD -C /vdr/etc/nvram.conf --directisa --settime $1



    case $PIPESTATUS in
    0) # all went ok - new date and time set
    # /usr/bin/stopvdr
    #/bin/busybox poweroff
    #shutdown -h now
    poweroff
    EXITSTATUS=0
    ;;
    1) # all went ok - new date and time set.
    #
    # *** but we need to reboot. ***
    #
    # for some boards this is needed after every change.
    #
    # for some other boards, we only need this after changing the
    # status flag, i.e. from enabled to disabled or the other way.


    # For plan A - (Plan A is not supported anymore---see README)
    #
    # For plan B - (don't forget to install the modified kernel image first)
    #

    # Für ASRock aktivieren
    #touch /vdr/etc/nvram
    # Für andere aktivieren
    lilo -R PowerOff
    reboot
    # shutdown -r now
    EXITSTATUS=0
    ;;
    2) # something went wrong
    # don't do anything - just exit with status 1
    EXITSTATUS=1
    ;;
    esac


    # exit with 0 if everything went ok.
    # exit with 1 if something went wrong.
    exit $EXITSTATUS



    könnte mir bitte jemand weiter helfen???


    gruß
    tom

  • Hallo NetRookie


    Ist das deine ganze config ??
    Wenn ja dann fehlen bei Dir die Checksum einträge.
    In Dem Beispiel unten sind die beiden letzten Einträge die Adressen für die checksum.
    Solltest du noch hinzufügen..


    Gruß Tom
    [QUOTE]################################################


    addr_stat = 0xD2
    shift_stat = 5
    addr_day = 0xD8
    addr_hour = 0xD9
    addr_min = 0xDA
    addr_sec = 0xDB
    addr_chk_h = 0xDE
    addr_chk_l = 0xDF


    /QUOTE]

    Gruß Tom


    99% der ComputerFehler sitzen zwischen Tastatur und Rückenlehne :schiel

  • Hallo,
    ich habe das gleiche Board:
    guess-helper bringt unten aufgeführte nvram-wakeup.conf
    Einiige Werte kommen doppelt vor.
    Nach durchtesten aller Kombinationen immer das gleiche:
    Bios Checksum Error und natürlich keine Aufnahme


    Wer kann helfen?





    ################################################
    ## Mainboard autodetection information:
    ##
    ## - Mainboard vendor: "MSI"
    ## - Mainboard type: "MS-7191"
    ## - Mainboard revision: "0A"
    ## - BIOS vendor: "American Megatrends Inc."
    ## - BIOS version: "080012"
    ## - BIOS release: "09/09/2005"


    addr_stat = 0x31 # but differs somewhere else
    shift_stat = 2
    addr_min = 0x4F
    addr_sec = 0x50
    addr_hour = 0x5B
    rtc_sec = 0x73
    rtc_min = 0x75
    rtc_hour = 0x77
    addr_stat = 0x7F
    shift_stat = 6
    addr_chk_h = 0x2F # guessed
    addr_chk_l = 0x30

Jetzt mitmachen!

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