Installscript-vdr.conf

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Stellen der Systemzeit über '''dvbdate''', beim shutdown (ziehmlich ungenau), ist hier für einen Client ohne Netzwerk Verbindung.)
(Beschreibungen zum Teil von VDR Gentoo Installation übernommen.)
Zeile 58: Zeile 58:
 
  # path to VDR/DVB
 
  # path to VDR/DVB
 
  MYPATH="/usr/local/src"
 
  MYPATH="/usr/local/src"
 +
 +
Verzeichnis, in dem sich die Konfigurationsdateien des VDR befinden.
  
 
  # directory where vdr stores its config files. vdr defaults to /video
 
  # directory where vdr stores its config files. vdr defaults to /video
Zeile 72: Zeile 74:
 
  VDR_EPG="${VDR_CONFIG}/epg.data"
 
  VDR_EPG="${VDR_CONFIG}/epg.data"
  
Für das [[extb-plugin]] ändern in:
+
Script zum Herunterfahren des PCs. Für das [[extb-plugin]] ändern in:
  
 
<code>VDR_SHUTDOWN="${SCRDIR}/extb-poweroff.pl"</code>
 
<code>VDR_SHUTDOWN="${SCRDIR}/extb-poweroff.pl"</code>
Zeile 78: Zeile 80:
 
  # call CMD to shutdown the computer
 
  # call CMD to shutdown the computer
 
  VDR_SHUTDOWN="${SCRDIR}/[[installscript-shutdown.sh|shutdown.sh]]"
 
  VDR_SHUTDOWN="${SCRDIR}/[[installscript-shutdown.sh|shutdown.sh]]"
 +
 +
Hier den Pfad angeben, wo sich die Konfigurationsdatei für nvram-wakeup befindet.
  
 
  # read board configuration from specified configuration file (e.g: /etc/nvram-wakeup.conf)
 
  # read board configuration from specified configuration file (e.g: /etc/nvram-wakeup.conf)
 
  NVRAM_CONFIG=""
 
  NVRAM_CONFIG=""
 +
 +
Hier wird die Zeit in Sekunden angegeben, die der Watchdog zur Reaktion benötigt.
  
 
  # activate the watchdog timer with a timeout of SEC
 
  # activate the watchdog timer with a timeout of SEC
Zeile 106: Zeile 112:
 
  # use DIR as video directory (default: /video)
 
  # use DIR as video directory (default: /video)
 
  VDR_VIDEO="/video"
 
  VDR_VIDEO="/video"
 +
 +
Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist.
  
 
  # send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6"
 
  # send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6"
Zeile 187: Zeile 195:
 
  # skystar2
 
  # skystar2
 
[[Kategorie:Installscript]]
 
[[Kategorie:Installscript]]
 +
 +
Beschreibungen zum Teil von [[VDR Gentoo Installation]] übernommen.

Version vom 30. Oktober 2004, 16:15 Uhr

# Description: Environment for VDR
#
# Format:
#
# VDR_OPTION=""
#     ^^^^^^
#     use vdr --help
#
# VDR_EPG="......" (tr A-Z a-z)
#     ^^^
#   --epg='......'
# user
VDRUSR="root"

Das meiste wird hier "aktiviert", und über die runvdr ausgeführt, man erspaart sich somit ein zumüllen der runlevels.

Zum anderen wäre es ein Ding der unmöglichkeit für jede Distri initscripts zu erzeugen.

# start / loads the following programs (runvdr start)
#
# entry                                               status
# ------------------------------------------------------------
# admind     vdradmind.pl                             ok
# atd        at job manager                           ok
# dxr3       dxr3 and hollywood+ driver               untested
# dvb        driver for the dvb cards                 ok
# evexec     daemon for the remote plugin (first dvb) ok
# ivtv       c15 capture driver                       untested
# lircd      infrared receiver                        ok
# irexec     need lircd (first lircd)                 ok
# lcdd       server daemon lcdproc                    ok
# mvploader  firmware loader for mediamvp             ok
# mysqld     database server                          ok
#
START_PROCS="atd dvb lircd irexec admind"

Verzögerung für Vdradmin.

# run admind after vdr, NUMBER[smhd]... (use info sleep)
ADMINDELAY="3"

Diese Programme werden über runvdr stop mit gekillt.

# stop the following programs (runvdr stop), processes by name e.g: LCDd, vdradmind.pl...
STOP_PROCS="vdradmind.pl xine xawtv tvtime kvdr fbtv vdr"

Abrruch den "shutdowns", wenn folgende Programme noch activ sind.

# stop shutdown, when running
WAIT_PROCS="cutinplace transcode vcdimager mencoder tosvcd lame"

Stellen der Systemzeit über dvbdate, beim shutdown (ziehmlich ungenau), ist hier für einen Client ohne Netzwerk Verbindung.

# set time over dvbdate (on/off)
SET_TIME="off"
# path to VDR/DVB
MYPATH="/usr/local/src"

Verzeichnis, in dem sich die Konfigurationsdateien des VDR befinden.

# directory where vdr stores its config files. vdr defaults to /video
VDR_CONFIG="/usr/local/src/VDRtmp"
# config for the evexec-daemon
EVEXECCNF="${VDR_CONFIG}/plugins/evexec.conf"
# path to scripts
SCRDIR="${VDR_CONFIG}/scripts"
# write the EPG data into the given FILE (default is /video/epg.data)
# use '-E-' to disable this if FILE is a directory, the default EPG file will be created in that directory
VDR_EPG="${VDR_CONFIG}/epg.data"

Script zum Herunterfahren des PCs. Für das extb-plugin ändern in:

VDR_SHUTDOWN="${SCRDIR}/extb-poweroff.pl"

# call CMD to shutdown the computer
VDR_SHUTDOWN="${SCRDIR}/shutdown.sh"

Hier den Pfad angeben, wo sich die Konfigurationsdatei für nvram-wakeup befindet.

# read board configuration from specified configuration file (e.g: /etc/nvram-wakeup.conf)
NVRAM_CONFIG=""

Hier wird die Zeit in Sekunden angegeben, die der Watchdog zur Reaktion benötigt.

# activate the watchdog timer with a timeout of SEC
# seconds (default: 0); '0' disables the watchdog
VDR_WATCHDOG="60"
# controlling tty
VDR_TERMINAL="/dev/tty8"
# which port to listen vor SVDRP commands, see vdr --help. default (default: 2001)
VDR_PORT=""
# search for plugins in DIR (default is ./PLUGINS/lib)
VDR_LIB="${MYPATH}/VDR/PLUGINS/lib"
# amount of log messages, see vdr --help. default empty
VDR_LOG=""
# call CMD before and after a recording, e.g:
VDR_RECORD="${SCRDIR}/rwrapper.sh"
# noad options (>= 0.4.1):
NOADOPT="nice --background --jumplogo --ac3 --overlap --OSD --statisticfile=/var/log/noadstat"
# use DIR as video directory (default: /video)
VDR_VIDEO="/video"

Angabe des Programms, welches für die Weiterleitung des Dolby-Digital Signals verantwortlich ist.

# send Dolby Digital audio to stdin of command CMD, e.g: "a52dec -o oss6"
VDR_AUDIO=""
# use only the given DVB device (NUM = 0, 1, 2...)
# there may be several -D options (default: all DVB devices will be used)
VDR_DEV=""
# misc... e.g: "--mute"
USRDEV=""
# path to the commands
CMDPATH="/usr/local/share/vdr"
# for read the last channel
SYSLOG="/var/log/messages"
# search phrase
PHRASE="switching to channel"
# tuning the primary device, after loading the dvb driver (yes/no)
TUNE="no"

Für das remote-plugin.

# list (activy.rcmm, galaxis.rcmm, hauppauge.rc5, hauppauge_grey.rc5, mbo_81095-code_562.rc5, medion_088.rc5, medion_155.rc5, philips.rc5, philips1358.rc5)
AV7110LOADKEYS=""
# driver config (e.g: CARDS="av7110 margi em8300 b2c2")
CARDS="av7110"
# loads the following modules
LMODULES="
videodev
dvb-core dvb_shutdown_timeout=0
alps_bsrv2
alps_tdmb7
alps_tdlb7
grundig_29504-401
grundig_29504-491
mt312
stv0299
ves1820
input
evdev
dvb-ttpci hw_sections=1
"
# unload the following modules
RMODULES="
dvb-ttpci
evdev
input
alps_bsrv2
alps_tdmb7
alps_tdlb7
grundig_29504-401
grundig_29504-491
stv0299
ves1820
tda1004x
mt312
dvb-core
videodev
"
# <--- make sure input stuff is there for IR remote controls --->
# input, evdev
# <---  vide4linux for av7110 based "full featured" cards --->
# videodev, v4l1-compat, v4l2-common, video-buf
# <--- DVB core --->
# dvb-core
# <--- frontend drivers --->
# ves1x93, alps_tdlb7, alps_tdmb7, stv0299, ves1820, tda1004x, grundig_29504-401, grundig_29504-491, cx24110, mt312
# <--- saa7146 based siemens/technotrend/hauppauge cards --->
# saa7146, saa7146_vv, ttpci-eeprom, dvb-ttpci, budget-core, budget, budget-ci, budget-av
# <--- technotrend/hauppauge USB things --->
# dvb-ttusb-budget, ttusb_dec
# <--- technisat skystar2 --->
# skystar2

Beschreibungen zum Teil von VDR Gentoo Installation übernommen.