Gentoo DVB Treiber

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
(Treiber für Kernel 2.4)
(Treiber für Kernel 2.6)
Zeile 1: Zeile 1:
 
Thanks! Cheers mate., http://asianmalenudes.vidilife.com asian male nudes,  jdnm, http://www.mlive.com/forums/profile.ssf?nickname=naturistco72 naturist couples gallery,  26507, http://naughtyasianteens.vidilife.com naughty asian teens,  8PP, http://asianporngalleries.vidilife.com asian porn galleries,  >:-P, http://www.nj.com/forums/profile.ssf?nickname=naturistvi42 naturist videos pirate,  xkiu, http://www.nj.com/forums/profile.ssf?nickname=gaynaturis00 gay naturist uk,  xdzjve, http://www.mlive.com/forums/profile.ssf?nickname=familynatu0 family naturist,  ecgyx, http://www.nj.com/forums/profile.ssf?nickname=naturistma61 naturist massage in uk,  wtaanu, http://www.mlive.com/forums/profile.ssf?nickname=asianteeng7 asian teen girl,  wfpl, http://www.mlive.com/forums/profile.ssf?nickname=freeasiann5 free asian nudes,  qvlhy, http://www.nj.com/forums/profile.ssf?nickname=russianboy0 russian boy naturist,  asodb, http://teenasianlesbians.vidilife.com teen asian lesbians,  rejaiy, http://www.mlive.com/forums/profile.ssf?nickname=naturistfa42 naturist family clips,  441490, http://gayasiancock.vidilife.com gay asian cock,  864385, http://www.nj.com/forums/profile.ssf?nickname=freenaturi0 free naturist pics,  %OO, http://www.mlive.com/forums/profile.ssf?nickname=asiancocks0 asian cock sucking,  681, http://www.mlive.com/forums/profile.ssf?nickname=naturistru46 naturist russian teens,  49998, http://bustyasianteen.vidilife.com busty asian teen,  gwneff,
 
Thanks! Cheers mate., http://asianmalenudes.vidilife.com asian male nudes,  jdnm, http://www.mlive.com/forums/profile.ssf?nickname=naturistco72 naturist couples gallery,  26507, http://naughtyasianteens.vidilife.com naughty asian teens,  8PP, http://asianporngalleries.vidilife.com asian porn galleries,  >:-P, http://www.nj.com/forums/profile.ssf?nickname=naturistvi42 naturist videos pirate,  xkiu, http://www.nj.com/forums/profile.ssf?nickname=gaynaturis00 gay naturist uk,  xdzjve, http://www.mlive.com/forums/profile.ssf?nickname=familynatu0 family naturist,  ecgyx, http://www.nj.com/forums/profile.ssf?nickname=naturistma61 naturist massage in uk,  wtaanu, http://www.mlive.com/forums/profile.ssf?nickname=asianteeng7 asian teen girl,  wfpl, http://www.mlive.com/forums/profile.ssf?nickname=freeasiann5 free asian nudes,  qvlhy, http://www.nj.com/forums/profile.ssf?nickname=russianboy0 russian boy naturist,  asodb, http://teenasianlesbians.vidilife.com teen asian lesbians,  rejaiy, http://www.mlive.com/forums/profile.ssf?nickname=naturistfa42 naturist family clips,  441490, http://gayasiancock.vidilife.com gay asian cock,  864385, http://www.nj.com/forums/profile.ssf?nickname=freenaturi0 free naturist pics,  %OO, http://www.mlive.com/forums/profile.ssf?nickname=asiancocks0 asian cock sucking,  681, http://www.mlive.com/forums/profile.ssf?nickname=naturistru46 naturist russian teens,  49998, http://bustyasianteen.vidilife.com busty asian teen,  gwneff,
  
=Treiber für Kernel 2.6=
+
Hey! Great Website! Superb!, http://www.nj.com/forums/profile.ssf?nickname=maganfoxna7 magan fox naked,  %-((, http://www.nj.com/forums/profile.ssf?nickname=meganfoxfh0 megan fox fhm pics,  =-)), http://www.bebo.com/HopeW21 caleb peek,  435171, http://www.bebo.com/JeanneH97 celebrity cancer deaths, :-[, http://www.nj.com/forums/profile.ssf?nickname=nudemileyc8 nude miley cirus,  06252, http://www.nj.com/forums/profile.ssf?nickname=celebmovie5 celeb movie arch,  0124, http://www.bebo.com/KaylynR5 whatever happened to celebrities,  063, http://www.bebo.com/BrianaP725 celebrity weights and heights, >:DDD, http://www.mlive.com/forums/profile.ssf?nickname=mileycyrus24 miley cyrus tape,  %))), http://www.nj.com/forums/profile.ssf?nickname=meganfoxwe0 megan fox website,  7196, http://www.nj.com/forums/profile.ssf?nickname=celebritie33 celebrities thong lines,  8-OO, http://www.mlive.com/forums/profile.ssf?nickname=mileycryus4 miley cryus nude,  8(((, http://measurementsoffamous.vidilife.com measurements of famous celebrities,  7187, http://www.nj.com/forums/profile.ssf?nickname=meganfoxph3 megan fox photos naked,  8-(, http://www.nj.com/forums/profile.ssf?nickname=mileycyris2 miley cyris naked,  >:)), http://www.bebo.com/BrianaA97 list of celebrities that smoke,  =-]]], http://celebrityweightsandh.vidilife.com celebrity weights and heights,  0385, http://www.mlive.com/forums/profile.ssf?nickname=mileycyrus59 miley cyrus dirty pictures,  fpybvm, http://www.nj.com/forums/profile.ssf?nickname=meganfoxba6 megan fox barefoot,  >:-P,
Kernel 2.6 enthält schon einige DVB-Treiber, d.h. es gibt hier zwei Möglichkeiten. Entweder man nimmt die mitgelieferten Treiber, oder man installiert sich die neuesten Treiber aus der versionsverwaltung Mercurial von [[http://www.linuxtv.org linuxtv.org]].
+
 
+
==Variante A - Kernel-Treiber==
+
<b>Kernelkonfiguration</b>
+
 
+
Analog zur Kernelkonfiguration für Kernel 2.4 lassen sich mit 'make menuconfig' folgende Einstellungen vornehmen:
+
 
+
<pre>
+
Code maturity level options --->
+
    [*] Prompt for development and incomplete code / driver
+
    [*] Select only drivers expected to compile cleanly
+
 
+
Loadable module support --->
+
    [*] Enable loadable module support
+
    [*] Module unloading
+
    [*] Automatic kernel module loading
+
 
+
Device Drivers --->
+
    Generic Driver Options --->
+
        [*] Select only drivers that don't need compile-time external firmware
+
        [*] Prevent firmware from being built
+
        <M> Hotplug firmware loading support
+
 
+
    Block Devices --->
+
        <*> RAM disk support
+
        [*] Initial RAM disk (initrd) support
+
 
+
    Input Device Support --->
+
        <M> Event Interface (i.e. notwendig für den intergierten IR-Empfänger der Hauppauge Nexus)
+
 
+
    Character Devices --->
+
        Serial Drivers -->
+
            [ ] 8250/16550 and compatible serial support (oder als Modul, nur notwendig für LIRC)
+
 
+
        [*] Legacy (BSD) PTY support
+
        <M> /dev/nvram support
+
        <M> Enhance Realtime Clock support
+
 
+
    I2C support --->
+
        <M> I2C support
+
        <M>  I2C device interface
+
 
+
        I2C Algorithms --->
+
            <M> I2C bit-banging interfaces
+
            <M> I2C PCF 8584 interfaces
+
 
+
    Multimedia Devices --->
+
      <M> Video For Linux aktivieren
+
 
+
      Digital Video Broadcasting Devices --->
+
          [*] DVB For Linux
+
          <M> DVB Core Support
+
 
+
          <M> AV7110 cards
+
          [*]  AV7110 OSD support
+
 
+
          (enable every module in here)
+
 
+
File Systems --->
+
    <*> Kernel automounter version 4 support (also supports v3)
+
 
+
    Pseudo filesystems -->
+
        [*] /proc file system support
+
        [*] Virtual memory file system support (former shm fs)
+
        [*] /dev/pts file system for Unix98 PTYs
+
</pre>
+
 
+
==Variante B - Treiber aus der Versionsverwaltung==
+
Hier werden wie bei Kernel 2.4 nur die grundlegenden Dinge im Kernel selber aktiviert. Die Treiber für die DVB-Karten werden vom Kernel getrennt kompiliert.
+
 
+
<b>Kernelkonfiguration</b>
+
<pre>
+
Code maturity level options --->
+
    [*] Prompt for development and incomplete code / driver
+
    [*] Select only drivers expected to compile cleanly
+
 
+
Loadable module support --->
+
    [*] Enable loadable module support
+
    [*] Module unloading
+
    [*] Automatic kernel module loading
+
 
+
Device Drivers --->
+
    Generic Driver Options --->
+
        [*] Select only drivers that don't need compile-time external firmware
+
        [*] Prevent firmware from being built
+
        <M> Hotplug firmware loading support
+
 
+
    Block Devices --->
+
        <*> RAM disk support
+
        [*] Initial RAM disk (initrd) support
+
 
+
    Input Device Support --->
+
        <M> Event Interface (i.e. necessary for included IR-Receiver of the Hauppauge Nexus)
+
 
+
    Character Devices --->
+
        Serial Drivers -->
+
            [ ] 8250/16550 and compatible serial support (or as module, only necessary for LIRC)
+
 
+
        [*] Legacy (BSD) PTY support
+
        <M> /dev/nvram support
+
        <M> Enhance Realtime Clock support
+
 
+
    I2C support --->
+
        <M> I2C support
+
        <M>  I2C device interface
+
 
+
        I2C Algorithms --->
+
            <M> I2C bit-banging interfaces
+
            <M> I2C PCF 8584 interfaces
+
 
+
    Multimedia Devices --->
+
      < > Video For Linux
+
 
+
      Digital Video Broadcasting Devices --->
+
          [ ] DVB For Linux
+
 
+
File Systems --->
+
    <*> Kernel automounter version 4 support (also supports v3)
+
 
+
    Pseudo filesystems -->
+
        [*] /proc file system support
+
        [*] Virtual memory file system support (former shm fs)
+
        [*] /dev/pts file system for Unix98 PTYs
+
 
+
Library Routines --->
+
    <*> CRC32 functions
+
 
+
</pre>
+
 
+
Jetzt das ebuild v4l-dvb-hg (ersetzt die früheren ebuilds linuxtv-dvb-cvs von gentoo.de und v4l-dvb-cvs) emergen:
+
<pre>
+
echo "media-tv/v4l-dvb-hg ~x86" >> /etc/portage/package.keywords
+
emerge v4l-dvb-hg
+
</pre>
+
  
 
=Finden des richtigen Treibers=
 
=Finden des richtigen Treibers=

Version vom 7. Dezember 2008, 22:32 Uhr

Thanks! Cheers mate., http://asianmalenudes.vidilife.com asian male nudes, jdnm, http://www.mlive.com/forums/profile.ssf?nickname=naturistco72 naturist couples gallery, 26507, http://naughtyasianteens.vidilife.com naughty asian teens, 8PP, http://asianporngalleries.vidilife.com asian porn galleries, >:-P, http://www.nj.com/forums/profile.ssf?nickname=naturistvi42 naturist videos pirate, xkiu, http://www.nj.com/forums/profile.ssf?nickname=gaynaturis00 gay naturist uk, xdzjve, http://www.mlive.com/forums/profile.ssf?nickname=familynatu0 family naturist, ecgyx, http://www.nj.com/forums/profile.ssf?nickname=naturistma61 naturist massage in uk, wtaanu, http://www.mlive.com/forums/profile.ssf?nickname=asianteeng7 asian teen girl, wfpl, http://www.mlive.com/forums/profile.ssf?nickname=freeasiann5 free asian nudes, qvlhy, http://www.nj.com/forums/profile.ssf?nickname=russianboy0 russian boy naturist, asodb, http://teenasianlesbians.vidilife.com teen asian lesbians, rejaiy, http://www.mlive.com/forums/profile.ssf?nickname=naturistfa42 naturist family clips, 441490, http://gayasiancock.vidilife.com gay asian cock, 864385, http://www.nj.com/forums/profile.ssf?nickname=freenaturi0 free naturist pics,  %OO, http://www.mlive.com/forums/profile.ssf?nickname=asiancocks0 asian cock sucking, 681, http://www.mlive.com/forums/profile.ssf?nickname=naturistru46 naturist russian teens, 49998, http://bustyasianteen.vidilife.com busty asian teen, gwneff,

Hey! Great Website! Superb!, http://www.nj.com/forums/profile.ssf?nickname=maganfoxna7 magan fox naked,  %-((, http://www.nj.com/forums/profile.ssf?nickname=meganfoxfh0 megan fox fhm pics, =-)), http://www.bebo.com/HopeW21 caleb peek, 435171, http://www.bebo.com/JeanneH97 celebrity cancer deaths,  :-[, http://www.nj.com/forums/profile.ssf?nickname=nudemileyc8 nude miley cirus, 06252, http://www.nj.com/forums/profile.ssf?nickname=celebmovie5 celeb movie arch, 0124, http://www.bebo.com/KaylynR5 whatever happened to celebrities, 063, http://www.bebo.com/BrianaP725 celebrity weights and heights, >:DDD, http://www.mlive.com/forums/profile.ssf?nickname=mileycyrus24 miley cyrus tape,  %))), http://www.nj.com/forums/profile.ssf?nickname=meganfoxwe0 megan fox website, 7196, http://www.nj.com/forums/profile.ssf?nickname=celebritie33 celebrities thong lines, 8-OO, http://www.mlive.com/forums/profile.ssf?nickname=mileycryus4 miley cryus nude, 8(((, http://measurementsoffamous.vidilife.com measurements of famous celebrities, 7187, http://www.nj.com/forums/profile.ssf?nickname=meganfoxph3 megan fox photos naked, 8-(, http://www.nj.com/forums/profile.ssf?nickname=mileycyris2 miley cyris naked, >:)), http://www.bebo.com/BrianaA97 list of celebrities that smoke, =-]]], http://celebrityweightsandh.vidilife.com celebrity weights and heights, 0385, http://www.mlive.com/forums/profile.ssf?nickname=mileycyrus59 miley cyrus dirty pictures, fpybvm, http://www.nj.com/forums/profile.ssf?nickname=meganfoxba6 megan fox barefoot, >:-P,

Finden des richtigen Treibers

siehe auch [[1]] unter TV-Karten

Zuerst wird das Modul evdev geladen:

echo evdev >> /etc/modules.autoload.d/kernel-2.6

Da es relativ viele verschiedene DVB-Karten gibt muss jetzt herausgefunden werden welcher Treiber denn zu laden ist. Dies geht bei PCI-Karten zB mit pcimodules. Falls noch nicht vorhanden installieren wir die pciutils.

emerge pciutils

Nun schauen wir welche Treiber sich zuständig fühlen:

vdr # pcimodules
ohci-hcd
ehci-hcd
sis900
snd-emu10k1
dvb-ttpci
b2c2-flexcop-pci
nvidia
nvidiafb

In diesem Fall sind dies die Treiber dvb-ttpci und b2c2-flexcop-pci. Diese beiden werden nun in /etc/modules.autoload.d/kernel-2.6 (Kernel 2.4 analog) eingetragen:

echo dvb-ttpci >> /etc/modules.autoload.d/kernel-2.6
echo b2c2-flexcop-pci >> /etc/modules.autoload.d/kernel-2.6

Installation der Firmware

Seit neuestem gibt es ein ebuild für die Firmware-Dateien. Hierfür kann man in /etc/make.conf festlegen für welche DVB-Karten man Firmware-Dateien braucht. Falls man diesen Schritt unterlässt, werden alle Firmware-Dateien installiert (Warnung: ca. 60 MB Download)

In /etc/make.conf:

DVB_CARDS="..."

Im Moment unterstützte Werte für DVB_CARDS:

dibusb-usb1 dibusb-usb2 nxt2002 nxt200x or51132 or51211 sp8870 sp887x
tda1004x ttpci ttusb-dec usb-a800 usb-dtt200u usb-umt usb-vp702x
usb-vp7045 usb-wt220u

In den meisten Fällen entspricht dieser Name dem Namen des entsprechenden Treibers der diese Firmware braucht.

Wenn man beispielsweise eine FF-Karte und eine Karte mit nxt2002 Chip installiert hat sollte DVB_CARDS mindestens so aussehen:

DVB_CARDS="ttpci nxt2002"

Danach wird das Paket linuxtv-dvb-firmware per emerge installiert.

echo "media-tv/linuxtv-dvb-firmware ~x86" >> /etc/portage/package.keywords
emerge linuxtv-dvb-firmware

Das Paket hotplug sollte installiert sein. Wenn noch nicht geschehen:

emerge sys-apps/hotplug

TIPP: Falls das Laden der Firmware fehlschlagen sollte, kann man andere Versionen von udev probieren.

Mit der aktuell stabilen Version udev-079 funktioniert es sehr gut.

Laden des Treibers

Entweder wir laden die Treiber nun mit der Hand:

modprobe evdev
modprobe dvb-ttpci
modprobe b2c2-flexcop-pci

oder wir starten das Bootskript welches die Module lädt (unsauber):

/etc/init.d/modules zap start

Nach dem Laden kann man die Ausgaben der Treiber mit dmesg betrachten.

Für eine Karte mit eigenem MPEG-Decoder sollte die Ausgabe von dmesg ungefähr so aussehen:

DVB: registering new adapter (Siemens/Technotrend/Hauppauge PCI rev1.3).
saa7146_core.o: adjusting pci latency to 64
DVB: registering frontend 0:0 (Grundig 29504-491, (TDA8083 based))...
DVB: AV7111(0) - firm f0240009, rtsl b0250018, vid 71010068, app 80002613
DVB: AV7111(0) - firmware supports CI link layer interface

Wenn dem so ist, Glückwunsch. Wenn nicht kann es daran liegen das einige Kernelmodule/ Funktionen fehlen.

In anderen Sprachen