DVB Installation

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Allgemeine Voraussetzungen)
Zeile 8: Zeile 8:
 
Normalerweise lassen sie sich auch mit dem Distributionseigenen Installationsprogamm installieren.
 
Normalerweise lassen sie sich auch mit dem Distributionseigenen Installationsprogamm installieren.
  
* [[DVB Installation Standart 1.0.1 (Kernel 2.4)]]
+
==[[DVB Installation Standart 1.0.1 (Kernel 2.4)|Standart 1.0.1 (Kernel 2.4)]]==
  
Laut '''../DVB/CARDS''' unterstützt dieser Treiber folgende DVB Karten.
+
Dieser Treiber unterstützt folgende DVB Karten.
  
 
<pre>
 
<pre>
Zeile 43: Zeile 43:
 
</pre>
 
</pre>
  
* [[DVB Installation Driver 1.1.1 (Kernel 2.4)]]
+
==[[DVB Installation Driver 1.1.1 (Kernel 2.4)|Driver 1.1.1 (Kernel 2.4)]]==
* [[DVB Installation Driver 1.1.1 (Kernel 2.6)]]
+
Dieser Treiber unterstützt folgende DVB Karten.
 +
 
 +
<pre>
 +
</pre>
 +
 
 +
==[[DVB Installation Driver 1.1.1 (Kernel 2.6)|Driver 1.1.1 (Kernel 2.6)]]==
 +
Dieser Treiber unterstützt folgende DVB Karten.
 +
 
 +
<pre>
 +
</pre>
  
 
==Hinweis==
 
==Hinweis==

Version vom 17. Dezember 2004, 08:17 Uhr

Inhaltsverzeichnis

Allgemeine Voraussetzungen

Als erstes muss natürlich eine komplette Entwicklungsumgebung mit Compiler usw. installiert sein, ebenfalls benötigt werden die Kernel-Quellen [1] die unter /usr/src als Benutzer root entpackt werden

cd /usr/src
tar -jxvf linux-<VERSION>.tar.bz2
ln -s linux-<VERSION> linux

Normalerweise lassen sie sich auch mit dem Distributionseigenen Installationsprogamm installieren.

Standart 1.0.1 (Kernel 2.4)

Dieser Treiber unterstützt folgende DVB Karten.

o Frontends drivers:
  DVB-S:
   - alps_bsrv2		: Alps BSRV2 (ves1893 demodulator)
   - cx24110		: Conexant HM1221/HM1811 (cx24110 or cx24106 demod, cx24108 PLL)
   - grundig_29504-491	: Grundig 29504-491 (Philips TDA8083 demodulator), tsa5522 PLL
   - mt312		: Zarlink mt312 or Mitel vp310 demodulator, sl1935 or tsa5059 PLL
   - stv0299		: Alps BSRU6 (tsa5059 PLL), LG TDQB-S00x (tsa5059 PLL),
   			  LG TDQF-S001F (sl1935 PLL), Philips SU1278 (tua6100 PLL),
			  Philips SU1278SH (tsa5059 PLL)
  DVB-C:
   - ves1820		: various (ves1820 demodulator, sp5659c or spXXXX PLL)
  DVB-T:
   - alps_tdlb7		: Alps TDLB7 (sp8870 demodulator, sp5659 PLL)
   - alps_tdmb7		: Alps TDMB7 (cx22700 demodulator)
   - grundig_29504-401	: Grundig 29504-401 (LSI L64781 demodulator), tsa5060 PLL
   - tda1004x		: Philips tda10045h (td1344 or tdm1316l PLL)

o Cards based on the Phillips saa7146 multimedia PCI bridge chip:
  - TI AV7110 based cards (i.e. with hardware MPEG decoder):
    - Siemens/Technotrend/Hauppauge PCI DVB card revision 1.1, 1.3, 1.5, 1.6, 2.1
      (aka Hauppauge Nexus)
  - "budget" cards (i.e. without hardware MPEG decoder):
    - Technotrend Budget / Hauppauge WinTV-Nova PCI Cards
    - SATELCO Multimedia PCI
    - KNC1 DVB-S

o Cards based on the B2C2 Inc. FlexCopII:
  - Technisat SkyStar2 PCI DVB

Driver 1.1.1 (Kernel 2.4)

Dieser Treiber unterstützt folgende DVB Karten.


Driver 1.1.1 (Kernel 2.6)

Dieser Treiber unterstützt folgende DVB Karten.


Hinweis

Die DVB Treiber von Kernel 2.6 haben jetzt einen offizielles device, dies sitzt auf Major 212 ! Um VDR ans laufen zu bekommen müssen diese neu angelegt werden.

Achtung ! Um VDR unter Kernel 2.4 laufen zu lassen die Major Nummer auf 250 ändern! Also ggf. die 212 im Script gegen 250 austauschen. Sonst läuft VDR leider auch unter Kernel 2.4 nicht mehr.

Folgendes Script hilft bei der Umstellung auf Kernel 2.6.

#!/bin/sh
rm -rf /dev/dvb/adapter*/*
device=0
for card in `seq 0 3`; do
device=`echo $card \* 64 | bc`
for dev in video audio sec frontend demux dvr ca net osd; do
mknod /dev/dvb/adapter${card}/${dev}0 c 212 $device
chmod 0660 /dev/dvb/adapter${card}/${dev}0
let device=device+1
done
done

Scripts

#!/bin/sh
# insmod modules from current directory without having to install them first
# KERNELVER=`uname -r`
# KERNELDIR="/lib/modules/$KERNELVER/misc"

sync

case "$1" in
    load)
	echo -n -e "\nInserting DVB modules into kernel\n"
	# make sure input stuff is there for IR remote controls
	# modprobe input
	# modprobe evdev
	# modprobe crc32
	# vide4linux for av7110 based "full featured" cards
	# modprobe videodev
	# insmod $KERNELDIR/v4l1-compat.o
	# insmod $KERNELDIR/v4l2-common.o
	# insmod $KERNELDIR/video-buf.o
	# DVB core
	# insmod $KERNELDIR/dvb-core.o
	# frontend drivers
	# insmod $KERNELDIR/stv0299.o
	modprobe stv0299
	# saa7146 based siemens/technotrend/hauppauge cards
	# insmod $KERNELDIR/saa7146.o
	# insmod $KERNELDIR/saa7146_vv.o
	# insmod $KERNELDIR/ttpci-eeprom.o
	# insmod $KERNELDIR/dvb-ttpci.o
	modprobe dvb-ttpci
	echo
	;;
    debug)
	echo -n -e "\nInserting DVB modules (debug) into kernel\n"
	# modprobe videodev
	# modprobe crc32
	# insmod $KERNELDIR/v4l1-compat.o
	# insmod $KERNELDIR/v4l2-common.o
	# insmod $KERNELDIR/video-buf.o
	# insmod $KERNELDIR/dvb-core.o
	# insmod $KERNELDIR/stv0299.o
	modprobe stv0299
	# insmod $KERNELDIR/saa7146.o
	# insmod $KERNELDIR/saa7146_vv.o saa7146_debug=247
	modprobe saa7146_vv saa7146_debug=247
	# insmod $KERNELDIR/ttpci-eeprom.o
	# insmod $KERNELDIR/dvb-ttpci.o av7110_debug=247
	modprobe dvb-ttpci av7110_debug=247
	echo
	;;
    unload)
	echo -n -e "\nDeleting DVB modules from kernel\n"
	rmmod stv0299 dvb-ttpci \
		ttpci-eeprom \
		saa7146_vv saa7146 \
		video-buf v4l2-common v4l1-compat dvb-core videodev crc32 i2c_core 
	echo
	;;
    reload)
	$0 unload && $0 load
	;;
    *)
	echo "Usage$0 {load|unload|debug|reload}"
	exit 1
esac

sync

Links

[1] http://www.kernel.org Linux-Kernel Homepage
[2] http://www.linuxtv.org LinuxTV Homepage
[3] http://www.linux-dvb.tv/download Nightly driver snapshots from Convergence DVB driver
[4] http://www.cadsoft.de/vdr VDR Homepage
[5] ftp://ftp.cadsoft.de/vdr/Developer VDR Download-Verzeichnis