Annotation of dvb-kernel/README.bt8xx, revision 1.1

1.1     ! holger      1: Hi all,
        !             2: 
        !             3: A few people have asked me about how I got the Nebula and PCTV cards working,
        !             4: so I thought I'd try and explain it here.  First of all, I did not write the 
        !             5: driver - all the credit for that must go to Florian Schirmer.  Unfortunately, 
        !             6: I've been unable to get hold of him for ages.  :(
        !             7: 
        !             8: I use Linux kernel 2.4.21, straight from kernel.org.  I find that this is 
        !             9: the *only* way to go when you are experimenting with bleeding-edge stuff like 
        !            10: DVB and Dxr3.  Do the usual to build your kernel.  (remember to enable the 
        !            11: V4L functionality)  I'd recommend you install and test your kernel, rather 
        !            12: than diving straight into the Nebula stuff.
        !            13: 
        !            14: Download http://bytesex.org/patches/2.4.21/11-v4l2-api-2.4.21-rc4.diff.gz and 
        !            15: apply this to your kernel source tree.  For example:
        !            16: 
        !            17:   $ cd /usr/src
        !            18:   $ patch -p0 < ~/11-v4l2-api-2.4.21-rc4.diff
        !            19: 
        !            20: This will patch your kernel to include support for VideoForLinux 2.
        !            21: 
        !            22: For those who don't know, kernels < 2.5 only support V4L 1 out-of-the-box. If 
        !            23: you are using kernel 2.5.x (or 2.6.x) then V4L2 is built-in.
        !            24: 
        !            25: You need to use 'dvb-kernel', along with 'bttv' to talk to the Nebula card.
        !            26: 
        !            27: Download http://bytesex.org/bttv/bttv-0.9.11.tar.gz and unpack it.
        !            28: 
        !            29: Grab dvb-kernel from CVS:
        !            30: 
        !            31:   $ cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv login
        !            32:   $ cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co dvb-kernel
        !            33: 
        !            34: Modify the 'dvb-kernel/build-2.4/getlinks' script to support bttv by adding:
        !            35: 
        !            36:   "for x in `find ../../bttv-0.9.11 -name "*.[h]"` ; do
        !            37:           ln -vs $x `basename $x`
        !            38:   done"
        !            39: 
        !            40: to the end.
        !            41: 
        !            42: This assumes that you have placed the 'bttv-0.9.11' directory next to 
        !            43: 'dvb-kernel'.
        !            44: 
        !            45: Now we have to apply a patch to bttv.  This allows the dvb-bt8xx module to 
        !            46: directly access some I2C functions.  Copy the attached patch into your bttv 
        !            47: directory, and do:
        !            48: 
        !            49:   $ cd bttv-0.9.11
        !            50:   $ patch -p0 < i2c-if-0.9.11.patch
        !            51: 
        !            52: then you can build bttv (I just do 'make' and 'make install').
        !            53: 
        !            54: Not, at last, the DVB stuff can be built!  Just do it the usual way:
        !            55: 
        !            56:   $ cd dvb-kernel/build-2.4
        !            57:   $ ./getlinks
        !            58:   $ make
        !            59:   $ make install
        !            60: 
        !            61: Use the insmod-bt8xx.sh script in the build-2.4 directory to start and stop 
        !            62: your drivers.  At this point, I just run VDR, and it all works great!  :)
        !            63: 
        !            64: Please feel free to question or improve any part of this document.  I think it 
        !            65: would benefit everyone if we keep it on the mailing list.
        !            66: 
        !            67: Cheers,
        !            68: Richard Walker
        !            69: 

LinuxTV legacy CVS <linuxtv.org/cvs>