--- dvb-kernel/README.bt8xx 2003/12/04 19:59:14 1.5 +++ dvb-kernel/README.bt8xx 2003/12/22 18:51:57 1.6 @@ -1,11 +1,11 @@ How to get the Nebula, PCTV and Twinhan DST cards working ========================================================= -This class of cards has a bt878a as the PCI interface, and -require the bttv driver. +This class of cards has a bt878a as the PCI interface, and require the +bttv driver. -Please pay close attention to the warning about the bttv module -options below for the DST card. +Please pay close attention to the warning about the bttv module options +below for the DST card. For 2.4, make sure you are using an uptodate kernel 2.4.23 and above. For 2.6, shuffle down to the 2.6 section below. @@ -17,13 +17,33 @@ For 2.4, make sure you are using an upto This is the *only* way to go when you are experimenting with bleeding-edge stuff like DVB. -Do the usual to build your kernel and remember to enable the V4L functionality. -For the 'BT848 Video For Linux' in the 'Video for Linux' section to show up -you need to enable 'I2C support' and 'I2C bit-banging interfaces' in the -charcter devices section. +You need an up-to-date bttv driver for the bt8xx-based cards to work. -I'd recommend you install and test your kernel, rather than diving -straight into the bt878 stuff. +Two methods to get a recent version: +a) Patch your kernel (and possibly recompile it) +b) Compile an external package + +Method a) +The most recent patches for 2.4.23 so far are at +http://bytesex.org/patches/2.4.23-4/ + +You need to fetch at least the following patches: +20_v4l2-2.4.23.diff.gz +30_video-buf-2.4.23.diff.gz +31_ir-input-2.4.23.diff +31_tuner-2.4.23.diff.gz +32_bttv-2.4.23.diff.gz + +Decompress them with "gzip -d *.gz" and the apply them one after +another to your 2.4.23 kernel tree via "patch -p1 < [...]" + +Then select the bttv driver and recompile your kernel and modules. +Remeber to enable the V4L functionality. For the 'BT848 Video For +Linux' in the 'Video for Linux' section to show up you need to enable +'I2C support' and 'I2C bit-banging interfaces' in the charcter devices +section, as well as 'Sound' => 'Sound card support'. + +Method b) Download http://bytesex.org/snapshot/video4linux-xxxxyyzz.tar.gz, where xxxxyyzz is the date of the release. @@ -32,8 +52,12 @@ Extract it and do the usual "make" and " $ tar xzfv video4linux-xxxxyyzz.tar.gz $ make $ make install + +This will give you (amongst other stuff) a recent bttv driver. + +-- -Now grab "dvb-kernel" from CVS: +Ok, now grab "dvb-kernel" from CVS: $ cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv login $ cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co dvb-kernel @@ -45,18 +69,18 @@ Now grab "dvb-kernel" from CVS: $ make $ make install -If you don't use devfs (or your devfs setup is not configured correctly) -you might need to add the device nodes manually with the "makedev" -script from the DVB driver: +If you don't use devfs (or your devfs setup is not configured +correctly) you might need to add the device nodes manually with the +"makedev" script from the DVB driver: http://linuxtv.org/cgi-bin/cvsweb.cgi/~checkout~/DVB/driver/makedev.napi?rev=1.14&content-type=text/plain 2) 2.6 ====== For 2.6, you don't need the latest bttv driver, everything is in -the kernel drivers. Please use 2.6.0-test10 and above. +the kernel drivers. Please use 2.6.0 and above. -Checkout dvb-kernel as mentionen above, but then do everything as per +Checkout dvb-kernel as mentioned above, but then do everything as per the README in dvb-kernel. Unfortunately, in some older kernels the bttv card lists have the @@ -66,16 +90,16 @@ will lockup your machine. 3) Loading Modules ================== -You can either modify and use the "insmod-bt8xx.sh" script in the build-2.4 -directory or simply do everything by hand. +You can either modify and use the "insmod-bt8xx.sh" script in the +build-2.4 directory or simply do everything by hand. -In general you need to load the bttv driver, which will handle the gpio and -i2c communication for us. Next you need the common dvb-bt8xx device driver -and one frontend driver. - -The bttv driver will HANG YOUR SYSTEM IF YOU DO NOT SPECIFY THE COORECT -CARD ID! A list of possible card ids can be found inside "bttv-cards.c" inside -the bttv driver package. +In general you need to load the bttv driver, which will handle the gpio +and i2c communication for us. Next you need the common dvb-bt8xx device +driver and one frontend driver. + +The bttv driver will HANG YOUR SYSTEM IF YOU DO NOT SPECIFY THE +COORECT CARD ID! A list of possible card ids can be found inside +"bttv-cards.c" inside the bttv driver package. Pay attention to failures to load these frontends. (E.g. dmesg, /var/log/messages). @@ -99,15 +123,16 @@ For Pinnacle PCTV cards use the "cx24110 $ modprobe dvb-bt8xx $ modprobe dst -The value 0x71 will override the PCI type detection for dvb-bt8xx, which -is necessary for TwinHan cards. If you're using 2.6, see the remark above -about the card parameter. - -If you're having an older card (blue color circuit) and card=0x71 locks your -machine, try using 0x68, too. If that does not work, ask on the mailing list. +The value 0x71 will override the PCI type detection for dvb-bt8xx, +which is necessary for TwinHan cards. If you're using 2.6, see the +remark above about the card parameter. + +If you're having an older card (blue color circuit) and card=0x71 locks +your machine, try using 0x68, too. If that does not work, ask on the +mailing list. -The DST module takes a couple of useful parameters, in case the -dst drivers fails to detect your type of card correctly. +The DST module takes a couple of useful parameters, in case the dst +drivers fails to detect your type of card correctly. dst_type takes values 0 (satellite), 1 (terrestial TV), 2 (cable).