Hi,
ich bin gerade dabei einen TV-Karten losen Xine-Clienten unter Suse 10.0 aufzubauen,
Habe mich z.T. an die Anleitung von Hubertus Sandmann gehalten,
hier aber mal ne Abschrift
Code
mkdir -p /usr/local/src
cd /usr/local/src/
wget [URL]ftp://ftp.cadsoft.de/vdr/Developer/vdr-1.3.37.tar.bz2[/URL]
tar xfj vdr-1.3.37.tar.bz2
ln -nfs vdr-1.3.37 VDR
cd /usr/src/VDR
vi Makefile
##############################
DVBDIR := ../DVB
##############################
Alles anzeigen
Installation der cvs DVB-Traiber:
Code
cd /lib/modules/2.6.13-15-default/kernel/drivers/media/common
rm saa*.ko
cd /lib/modules/2.6.13-15-default/kernel/drivers/media/dvb
rm */*.ko
reboot
touch /root/.cvspass
cd /usr/local/src
cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv login
cvs -z3 -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co dvb-kernel
ln -nfs dvb-kernel DVB
cd /usr/local/src/DVB
./MAKEDEV-DVB.sh
cd build-2.6
make
./insmod.sh load
Alles anzeigen
Dann habe ich Xine-installiert
Code
cd /usr/local/src
wget [URL]http://home.vrweb.de/~rnissl/vdr-xine-0.7.6.tgz[/URL]
wget [URL]http://home.vrweb.de/~rnissl/xine-lib-cvs-20050814180000.tar.bz2[/URL]
wget [URL]http://home.vrweb.de/~rnissl/xine-ui-cvs-20050814180000.tar.bz2[/URL]
tar xvzf vdr-xine-0.7.6.tgz -C $(pwd)/VDR/PLUGINS/src
tar jxvf xine-lib-cvs-20050814180000.tar.bz2
tar jxvf xine-ui-cvs-20050814180000.tar.bz2
cd /usr/local/src/VDR/PLUGINS/src
ln -s xine-0.7.6 xine
cd /usr/local/src/
patch -d. -p0 < /usr/local/src/VDR/PLUGINS/src/xine/patches/xine-lib.patch
patch -d. -p0 < /usr/local//src/VDR/PLUGINS/src/xine/patches/xine-ui.patch
cd /usr/local/src/VDR/PLUGINS/src/xine
mkdir -p /etc/vdr/plugins/xine
find . -name *.pes -exec cp -v \{} /etc/vdr/plugins/xine \;
ln -vs $(pwd)/xineplayer /usr/local/bin/xineplayer
cd ../../../../xine-lib
find /usr/local/src/VDR -name xine-lib.patch -exec patch -p1 -i \{} \;
./autogen.sh --prefix=/usr/local
export PATH=/usr/local/bin:$PATH
make
make install
ldconfig
cd ../xine-ui
find /usr/local/src/VDR -name xine-ui.patch -exec patch -p1 -i \{} \;
./autogen.sh --prefix=/usr/local --enable-vdr-keys
make
make install
Alles anzeigen
Danach habe ich den VDR und das Plugin kompilliert
Code
cd /usr/local/src/VDR
make
make install
cp svdrpsend.pl /usr/bin
mkdir -p /etc/vdr/plugins /var/vdr
cp *.conf /etc/vdr
make clean
make all plugins
Start vom VDR
Code
linux:/usr/local/src/VDR # vdr -P'xine -r' -c /etc/vdr -E /var/vdr -L /usr/local/src/VDR/PLUGINS/lib
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
linux:/usr/local/src/VDR #
Alles anzeigen
sagt /var/log/messages folgendes:
Code
Dec 23 11:50:35 linux vdr[8124]: VDR version 1.3.37 started
Dec 23 11:50:35 linux vdr[8124]: Bigpatch 2005-12-10 with LifeBuffer 0.1.4 is active!
Dec 23 11:50:35 linux vdr[8124]: loading plugin: ./PLUGINS/lib/libvdr-xine.so.1.3.37
Dec 23 11:50:35 linux vdr[8124]: loading /etc/vdr/sources.conf
Dec 23 11:50:35 linux vdr[8124]: loading /etc/vdr/diseqc.conf
Dec 23 11:50:35 linux vdr[8124]: loading /etc/vdr/channels.conf
Dec 23 11:50:35 linux vdr[8124]: loading /etc/vdr/timercmds.conf
Dec 23 11:50:35 linux vdr[8124]: loading /etc/vdr/svdrphosts.conf
Dec 23 11:50:35 linux vdr[8124]: loading /etc/vdr/ca.conf
Dec 23 11:50:35 linux vdr[8124]: loading /etc/vdr/keymacros.conf
Dec 23 11:50:35 linux vdr[8124]: no DVB device found
Dec 23 11:50:35 linux vdr[8124]: initializing plugin: xine (0.7.6): Software based playback using xine
Dec 23 11:50:35 linux vdr[8124]: deleting plugin: xine
Dec 23 11:50:35 linux vdr[8124]: exiting
Dec 23 11:50:35 linux vdr[8124]: video directory scanner thread started (pid=8124, tid=1079155632)
Dec 23 11:50:35 linux vdr[8124]: video directory scanner thread ended (pid=8124, tid=1079155632)
Alles anzeigen
Ich dachte eigentlich das xine ein DVB-Device emulieren würde und die dvb-Treiber nur zum kompillieren das VDRs gebraucht würden, wenn ich statt xine testweise das Dummydevice-Plugin benutze kommt eine ähnliche Fehlermeldung
Code
linux:/usr/local/src/VDR # vdr -P'dummydevice' -c /etc/vdr -E /var/vdr -L /usr/local/src/VDR/PLUGINS/lib
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
PARSE
repeat 0
vdr: no primary device found - using first device!
Alles anzeigen
/var/log/messages sagt:
Code
Dec 23 11:52:53 linux vdr[8126]: VDR version 1.3.37 started
Dec 23 11:52:53 linux vdr[8126]: Bigpatch 2005-12-10 with LifeBuffer 0.1.4 is active!
Dec 23 11:52:53 linux vdr[8126]: loading plugin: ./PLUGINS/lib/libvdr-dummydevice.so.1.3.37
Dec 23 11:52:53 linux vdr[8126]: loading /etc/vdr/sources.conf
Dec 23 11:52:53 linux vdr[8126]: loading /etc/vdr/diseqc.conf
Dec 23 11:52:53 linux vdr[8126]: loading /etc/vdr/channels.conf
Dec 23 11:52:53 linux vdr[8126]: loading /etc/vdr/timercmds.conf
Dec 23 11:52:53 linux vdr[8126]: loading /etc/vdr/svdrphosts.conf
Dec 23 11:52:53 linux vdr[8126]: loading /etc/vdr/ca.conf
Dec 23 11:52:53 linux vdr[8126]: loading /etc/vdr/keymacros.conf
Dec 23 11:52:53 linux vdr[8126]: no DVB device found
Dec 23 11:52:53 linux vdr[8126]: initializing plugin: dummydevice (0.0.1): Output device that does nothing
Dec 23 11:52:53 linux vdr[8126]: ERROR: invalid primary device number: 1
Dec 23 11:52:53 linux vdr[8126]: ERROR: no primary device found - using first device!
Dec 23 11:52:53 linux vdr[8126]: ERROR: invalid primary device number: 1
Dec 23 11:52:53 linux vdr[8126]: deleting plugin: dummydevice
Dec 23 11:52:53 linux vdr[8126]: exiting
Dec 23 11:52:53 linux vdr[8126]: video directory scanner thread started (pid=8126, tid=1078758320)
Dec 23 11:52:53 linux vdr[8126]: video directory scanner thread ended (pid=8126, tid=1078758320)
Alles anzeigen
Diese Meldungen versteh ich nun überhaupt nicht
Das Dummydevice-Plugin wird doch geladen
Kann mir evtl. jemand weiterhelfen
mfg
holy