Beim Umschalten passiert dies (/VAR/LOG/MESSAGES):
################################################
Sep 5 00:47:02 linux vdr[887]: switching to channel 2
Sep 5 00:47:02 linux vdr[897]: receiver thread ended on device 2 (pid=897)
Sep 5 00:47:02 linux vdr[928]: receiver thread started on device 2 (pid=928)
Sep 5 00:47:04 linux vdr[887]: switching to channel 3
Sep 5 00:47:04 linux vdr[928]: receiver thread ended on device 2 (pid=928)
Sep 5 00:47:05 linux vdr[929]: receiver thread started on device 2 (pid=929)
Sep 5 00:47:47 linux vdr[887]: switching to channel 4
Sep 5 00:47:47 linux vdr[929]: receiver thread ended on device 2 (pid=929)
Sep 5 00:47:47 linux vdr[930]: receiver thread started on device 2 (pid=930)
################################################
Warum endet der thread immer und startet dann wieder?
Welche Karte ist device 2?
Habe eine Hauppauge Nexus, die in SZAP mit -a1 angesprochen wird.
Und eine Nonami, die in SZAP mit -a0 angesprochen wird.
In der setup.conf habe ich PRIMARY DEVICE=2 eingestellt, da die
NEXUS zum Schauen sein soll, die andere zum Aufnehmen.
Ist das korrekt eingestellt?
Wie kann ich die Meldungen in der VLM verhindern?
Meine runvdr:
##################################
#!/bin/sh
# runvdr: Loads the DVB driver and runs VDR
#
# If VDR exits abnormally, the driver will be reloaded
# and VDR restarted.
#
# Set the environment variable VDRUSR to the user id you
# want VDR to run with. If VDRUSR is not set, VDR will run
# as 'root', which is not necessarily advisable.
#
# Since this script loads the DVB driver, it must be started
# as user 'root'.
#
# 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.11 2003/08/26 16:15:41 kls Exp $
DVBDIR="/usr/local/src/DVB/driver"
REMDIR="/dvb/apps/av7110_loadkeys"
VDRPRG="/usr/local/src/vdr/vdr"
#VDRCMD="$VDRPRG -w 10 -t /dev/tty8 -L /usr/local/src/vdr/PLUGINS/lib -Premote $*"
#VDRCMD="$VDRPRG -w 10 -t /dev/tty8 -L /usr/local/src/vdr/PLUGINS/lib -Premote -Pdvd -Pvcd -P'mplayer -m /usr/local/vdr/mount.
sh -M /usr/local/vdr/mplayer.sh' -P'mp3 -m /usr/local/vdr/mount.sh -B /var/lib/cddb' -P'teletext -r' $*"
#VDRCMD="$VDRPRG -w 10 -t /dev/tty8 -L /usr/local/src/vdr/PLUGINS/lib -Premote -Pdvd -Pvcd $*"
VDRCMD="$VDRPRG -w 10 -t /dev/tty8 -L /usr/local/src/vdr/PLUGINS/lib \
-Premote \
-Pdvd \
-Pvcd -P'mplayer -m /usr/local/vdr/mount.sh -M /usr/local/vdr/mplayer.sh' \
-P'mp3 -m /usr/local/vdr/mount.sh -B /var/lib/cddb' \
-Pteletext \
$*"
#VDRUSR=vdruser
LSMOD="`/sbin/lsmod | grep -w '^dvb' | wc -l`"
KILL="/usr/bin/killall -q -TERM"
# Load driver if it hasn't been loaded already:
if [ $LSMOD -eq 0 ] ; then
(cd $DVBDIR; make insmod)
fi
while (true) do
$REMDIR/av7110_loadkeys $REMDIR/hauppauge_R808.rc5 > /proc/av7110_ir
# For DVB driver initialization purposes only
su -c /usr/bin/'szap "ARD" -a1 -c /video/channels.conf -x' &
sleep 2
$KILL /usr/bin/szap
# Restart with last active channel before exit
# SYSLOG="/var/log/messages"
# CONFIG="/video/setup.conf"
# if test -e $SYSLOG; then
# CHAN=`tail -300 $SYSLOG | grep 'switching to channel' | tail -n1 | awk -F 'channel' '{ print $2 }' | bc`
# if test -n "${CHAN##*[^0-9,' ',-]*}" -a -e $CONFIG; then
# perl -pi -e "s/^CurrentChannel = .*$/CurrentChannel = $CHAN/" $CONFIG
# fi
# fi
su -c "$VDRCMD" $VDRUSR
if test $? -eq 0 -o $? -eq 2; then exit; fi
date
echo "restarting VDR"
$KILL $VDRPRG
sleep 5
(cd $DVBDIR; make rmmod; make insmod)
date
done
##################################