Suse 9.1 plugins starten mit rcvdr start

  • Hallo,


    Lirc läuft jetz endlich :)


    Lirc wir automatisch beim Hochfahren gestartet (im Runleveleditor aktiviert)
    DVB-Treiber wir automatisch beim Hochfahren gestartet (im Runleveleditor aktiviert)


    Ich habe vdr 1.2.6 und die Sourcen mit Yast installiert.
    rcvdr start => läuft alles bestens, kann ich auch im Runleveleditor aktivieren.
    Plugins liegen im Ordner file:/usr/lib/vdr/ Ein einfaches Plugin "hello" zum testen in
    /etc/sysconfig/vdr wie folgt aktiviert:
    # list of plugins to load, separated by space. If a plugin needs
    # additional commandline arguments, they can be specified in
    # VDR_PLUGIN_ARGS_pluginname. E.g. if you have plugins called foo
    # and bar and foo wants the parameters -a and -b, you would set
    # VDR_PLUGINS="foo bar" and VDR_PLUGIN_ARGS_foo="-a -b".
    VDR_PLUGINS="hello"


    rcvdr start => vdr-1.2.6 hat das Plugin "Hello" mit drin :)


    Weiter gehts:
    File list des VDR guckst Du hier:
    http://www.suse.de/de/private/…ges_professional/vdr.html


    Ich schmeisse alles raus was mit 1.2.6 zu tun hat.


    in /usr/local/scr/VDR habe ich meinen eigenen VDR-1.3.2 installiert.
    startet auch alles supi. *.conf nach /video kopiert
    und in /usr/local/src/
    mit ./vdr aufgerufen.


    Ich will den VDR aber mit rcvdr start starten, damit er später beim Hochfahren des PC startet, also die conf-Dateien nach /etc/vdr kopiert. Die plugins (z.B. libvdr-hello.so.1.3.2) nach /usr/lib/vdr/ kopiert.
    vdr nach /usr/sbin kopiert.
    rcvdr start => läuft tatsächlich und auch stabil.
    Jetzt das Problem mit den Plugins
    in /etc/sysconfig/vdr VDR_PLUGINS="hello" eingetragen und:
    Sun May 9 18:50:27 CEST 2004
    Starting Video Disk Recorder
    missing plugins: hello


    VDR läuft trotzdem. Soweit läuft auch alles gut, aber wie bekomme ich die Plugins an den Start? Ich habe schon 5 Std. alles mögliche versucht.


    Hat einer einen Tip für mich oder eine Idee?


    Bin für jeden Hinweis dankbar


    mfg
    mit freundlichen grüßen


    Hier noch ein Auszug aus README.SuSE-vdr
    Overview
    ~~~~~~~~


    This version of vdr is adapted to fit seamlessy into the SuSE Linux
    filesystem hierarchy:


    - /etc/vdr contains configuration files that you might want to
    modify to suite your needs (e.g. channels.conf). See "man 5 vdr"
    for the syntax of those files.
    - /var/spool/video is the place where recordings are stored. If you
    are low on space you should consider putting this on a separate
    partition. Recordings can take up several Gigabytes.
    - /usr/lib/vdr contains shared libraries for plugins. If you compile
    you own plugins you need to put them there.
    - /usr/include/vdr contains header files necessary to compile
    plugins.


    You may want to use the init script /etc/init.d/vdr to start vdr as
    daemon. Using that script, vdr will not run as root but as normal
    user to reduce the risk of damage to the system in case of
    (security-)bugs. You can configure several parameters in
    /etc/sysconfig/vdr.



    Using vdr with ony a TV set attached
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    If you run vdr on a dedicated machine just like a regular VCR, you
    probably want use a remote control unit to control vdr.
    Unfortunately, the remote control unit shipped with the popular
    Hauppauge DVB cards is not supported out of the box. You need to
    compile and install the Remote Control-Plugin available from the vdr
    homepage yourself, sorry. For home-brew hardware or if you also have
    an analogue card with remote you might want to use lirc which is
    available as SuSE package. Use the yast runlevel editor or chkconfig
    to have dvb, lirc and vdr started during boot. Please note that vdr
    is muted by default. You need to set VDR_MUTE=no in
    /etc/sysconfig/vdr if you immediately want sound when vdr is
    started.



    Using vdr on a desktop machine
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    You can use xawtv for watching TV on your desktop. You should
    append /usr/share/doc/packages/xawtv/vdr.config to your ~/.xawtv
    file to control vdr from within xawtv.



    Compiling your own plugins
    ~~~~~~~~~~~~~~~~~~~~~~~~~~


    Normally, vdr plugins expect to be compiled inside the vdr source
    directory. This is of course not possible with a prebuilt package.
    Fortunately, most plugins can still be easily compiled using the
    following command:


    make VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr all


    If you add the plugin name to VDR_PLUGINS in /etc/sysconfig/vdr, it
    will be loaded automatically when vdr starts. Please read the
    associated comment in that file for details.


    Some plugins require additional treatment because vdr is not running
    as root. The osd-teletext plugin for example wants to put files into
    /vtx. You have to create that directory yourself and change it's
    owner to vdr. Other plugins like the dvd plugin open device files,
    you need to adjust permissions for these as well.




    Have a lot of fun...


    Your SuSE team http://www.suse.de/feedback/

  • Hallo!


    Versuch doch mal das Verzeichnis der Plugins im Makefile von VDR abzuändern.
    Also das

    Code
    PLUGINLIBDIR= $(PLUGINDIR)/lib

    in

    Code
    PLUGINLIBDIR= /usr/lib/vdr

    ändern.


    Gruß,


    Marcus

Jetzt mitmachen!

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