runvdr mit vdr1.4.2 und Suse9.0

  • moin,


    Endlich bin ich mal dazu gekommen meinen Epia VDR fertig zu machen.
    Also es läuft ein Suse9.0 ( wegen C3 Proz. ) mit Kernel 2.4.21-99-default mit dem DVB Treiber 1.1.1 für Kernel 2.4 mit Firmware 2622 für die TechnoTrend.


    Bin zum größen Teil nach Sandmanns Anleitung gegangen.
    Die Treiber laufen, vdr lässt sich auch manuell starten. Alles ja schon ganz gut.


    Allerdings hab ich jetzt so meine Probleme mit dem runvdr Script, da ich jetzt nicht weiß wie ich den Treiber da genau einbinden muss damit er automatisch gestartet wird.


    Hoffe das mit da jemand weiter helfen kann





    #!/bin/sh


    # runvdr: Loads the DVB driver and runs VDR
    #
    # If VDR exits abnormally, the driver will be reloaded
    # and VDR restarted.
    #
    # In order to actually use this script you need to implement
    # the functions DriverLoaded(), LoadDriver() and UnloadDriver()
    # and maybe adjust the VDRPRG and VDRCMD to your particular
    # requirements.
    #
    # Since this script loads the DVB driver, it must be started
    # as user 'root'. Add the option "-u username" to run VDR
    # under the given user name.
    #
    # Any command line parameters will be passed on to the
    # actual 'vdr' program.
    #
    # See the main source file 'vdr.c' for copyright information and
    # how to reach the author.
    #
    # $Id: runvdr 1.19 2006/05/14 16:02:05 kls Exp $


    DVBDIR="/usr/local/src/DVB/build-2.4"


    VDRPRG="./vdr"
    VDRCMD="$VDRPRG -t /dev/tty8 -w 60 -c /etc/vdr -E /var/vdr \
    --vfat -s /usr/local/bin/vdrpoweroff.sh $*"


    KILL="/usr/bin/killall -q -TERM"



    # Detect whether the DVB driver is already loaded
    # and return 0 if it *is* loaded, 1 if not:
    function DriverLoaded()
    {
    return 1
    }


    # Load all DVB driver modules needed for your hardware:
    function LoadDriver()
    {
    }


    # Unload all DVB driver modules loaded in LoadDriver():
    function UnloadDriver()
    {
    }


    # Load driver if it hasn't been loaded already:
    if ! DriverLoaded; then
    LoadDriver
    fi


    while (true) do
    eval "$VDRCMD"
    if test $? -eq 0 -o $? -eq 2; then exit; fi
    echo "`date` reloading DVB driver"
    $KILL $VDRPRG
    sleep 10
    UnloadDriver
    LoadDriver
    echo "`date` restarting VDR"
    done

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • Für alle die die es interessiert, habe es hin bekommen, allerdings bekomme ich auf dem Terminal 8 keine Ausgabe, hat jemand eine idee ??????ß



    #!/bin/sh


    # runvdr: Loads the DVB driver and runs VDR
    #
    # If VDR exits abnormally, the driver will be reloaded
    # and VDR restarted.
    #
    # In order to actually use this script you need to implement
    # the functions DriverLoaded(), LoadDriver() and UnloadDriver()
    # and maybe adjust the VDRPRG and VDRCMD to your particular
    # requirements.
    #
    # Since this script loads the DVB driver, it must be started
    # as user 'root'. Add the option "-u username" to run VDR
    # under the given user name.
    #
    # Any command line parameters will be passed on to the
    # actual 'vdr' program.
    #
    # See the main source file 'vdr.c' for copyright information and
    # how to reach the author.
    #
    # $Id: runvdr 1.19 2006/05/14 16:02:05 kls Exp $


    DVBDIR="/usr/local/src/DVB/build-2.4"
    VDRPRG="/usr/local/bin/vdr"
    VDRCMD="$VDRPRG -t /dev/tty8 -w 60 -c /etc/vdr -E /var/vdr \
    --lirc --vfat -s /usr/local/bin/vdrpoweroff.sh $*"


    KILL="/usr/bin/killall -q -TERM"



    # Detect whether the DVB driver is already loaded
    # and return 0 if it *is* loaded, 1 if not:
    function DriverLoaded()
    {
    return 1
    }


    # Load all DVB driver modules needed for your hardware:
    function LoadDriver()
    {
    cd /usr/local/src/DVB/build-2.4
    ./insmod.sh load
    cd -
    }


    # Unload all DVB driver modules loaded in LoadDriver():
    function UnloadDriver()
    {
    cd /usr/local/src/DVB/build-2.4
    ./insmod.sh load
    cd -
    }


    # Load driver if it hasn't been loaded already:
    if ! DriverLoaded; then
    LoadDriver
    fi


    while (true) do
    eval "$VDRCMD"
    if test $? -eq 0 -o $? -eq 2; then exit; fi
    echo "`date` reloading DVB driver"
    $KILL $VDRPRG
    sleep 10
    UnloadDriver
    LoadDriver
    echo "`date` restarting VDR"
    done

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

  • Zitat

    Original von gogglio
    Für alle die die es interessiert, habe es hin bekommen, allerdings bekomme ich auf dem Terminal 8 keine Ausgabe, hat jemand eine idee ??????ß


    ...du weißt, dass MLD Suse basiert ist ?
    http://www.minidvblinux.org/


    Eventuell läßt sich da was abstauben, oder du verwendest gleich MLD !!


    Und warum verwendest du überhaupt SuSE 9.0, ich kann mir für einen VDR kaum eine ungeeinetere Linux-Distribution vorstellen. Ach ich verstehe, wegen des EPIAs der mit i586 nicht klar kommt.


    Gruß
    Wicky

  • MLD ???
    was ist das ?

    Diseqc 9/8 Astra+Hotbird
    Asus P4C800-E Deluxe mit M740@1,2Ghz 1GB RAM 60GB + 500GB Video Teac DVD-ROM VDR1.4.7 Nexus2.2 + SS2 2.6C
    Rebach Gehäuse von 2004, Epia MII12000 Seagate 320GB TT1.5 SS2 2.6 Forton 145W OpenSuSe 10.2 Pioneer DVD-105 VDR1.4.7 OneForAll URC-8040 KS0108 Display

Jetzt mitmachen!

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