version 1.5, 2003/12/04 19:59:14
|
version 1.6, 2003/12/22 18:51:57
|
Line 1
|
Line 1
|
How to get the Nebula, PCTV and Twinhan DST cards working |
How to get the Nebula, PCTV and Twinhan DST cards working |
========================================================= |
========================================================= |
|
|
This class of cards has a bt878a as the PCI interface, and |
This class of cards has a bt878a as the PCI interface, and require the |
require the bttv driver. |
bttv driver. |
|
|
Please pay close attention to the warning about the bttv module |
Please pay close attention to the warning about the bttv module options |
options below for the DST card. |
below for the DST card. |
|
|
For 2.4, make sure you are using an uptodate kernel 2.4.23 and above. |
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. |
For 2.6, shuffle down to the 2.6 section below. |
Line 17 For 2.4, make sure you are using an upto
|
Line 17 For 2.4, make sure you are using an upto
|
This is the *only* way to go when you are experimenting with |
This is the *only* way to go when you are experimenting with |
bleeding-edge stuff like DVB. |
bleeding-edge stuff like DVB. |
|
|
Do the usual to build your kernel and remember to enable the V4L functionality. |
You need an up-to-date bttv driver for the bt8xx-based cards to work. |
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. |
|
|
|
I'd recommend you install and test your kernel, rather than diving |
Two methods to get a recent version: |
straight into the bt878 stuff. |
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 |
Download http://bytesex.org/snapshot/video4linux-xxxxyyzz.tar.gz, where |
xxxxyyzz is the date of the release. |
xxxxyyzz is the date of the release. |
Line 32 Extract it and do the usual "make" and "
|
Line 52 Extract it and do the usual "make" and "
|
$ tar xzfv video4linux-xxxxyyzz.tar.gz |
$ tar xzfv video4linux-xxxxyyzz.tar.gz |
$ make |
$ make |
$ make install |
$ 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 login |
$ cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co dvb-kernel |
$ cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co dvb-kernel |
Line 45 Now grab "dvb-kernel" from CVS:
|
Line 69 Now grab "dvb-kernel" from CVS:
|
$ make |
$ make |
$ make install |
$ make install |
|
|
If you don't use devfs (or your devfs setup is not configured correctly) |
If you don't use devfs (or your devfs setup is not configured |
you might need to add the device nodes manually with the "makedev" |
correctly) you might need to add the device nodes manually with the |
script from the DVB driver: |
"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 |
http://linuxtv.org/cgi-bin/cvsweb.cgi/~checkout~/DVB/driver/makedev.napi?rev=1.14&content-type=text/plain |
|
|
2) 2.6 |
2) 2.6 |
====== |
====== |
|
|
For 2.6, you don't need the latest bttv driver, everything is in |
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. |
the README in dvb-kernel. |
|
|
Unfortunately, in some older kernels the bttv card lists have the |
Unfortunately, in some older kernels the bttv card lists have the |
Line 66 will lockup your machine.
|
Line 90 will lockup your machine.
|
3) Loading Modules |
3) Loading Modules |
================== |
================== |
|
|
You can either modify and use the "insmod-bt8xx.sh" script in the build-2.4 |
You can either modify and use the "insmod-bt8xx.sh" script in the |
directory or simply do everything by hand. |
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 |
In general you need to load the bttv driver, which will handle the gpio |
i2c communication for us. Next you need the common dvb-bt8xx device driver |
and i2c communication for us. Next you need the common dvb-bt8xx device |
and one frontend driver. |
driver and one frontend driver. |
|
|
The bttv driver will HANG YOUR SYSTEM IF YOU DO NOT SPECIFY THE COORECT |
The bttv driver will HANG YOUR SYSTEM IF YOU DO NOT SPECIFY THE |
CARD ID! A list of possible card ids can be found inside "bttv-cards.c" inside |
COORECT CARD ID! A list of possible card ids can be found inside |
the bttv driver package. |
"bttv-cards.c" inside the bttv driver package. |
|
|
Pay attention to failures to load these frontends. |
Pay attention to failures to load these frontends. |
(E.g. dmesg, /var/log/messages). |
(E.g. dmesg, /var/log/messages). |
Line 99 For Pinnacle PCTV cards use the "cx24110
|
Line 123 For Pinnacle PCTV cards use the "cx24110
|
$ modprobe dvb-bt8xx |
$ modprobe dvb-bt8xx |
$ modprobe dst |
$ modprobe dst |
|
|
The value 0x71 will override the PCI type detection for dvb-bt8xx, which |
The value 0x71 will override the PCI type detection for dvb-bt8xx, |
is necessary for TwinHan cards. If you're using 2.6, see the remark above |
which is necessary for TwinHan cards. If you're using 2.6, see the |
about the card parameter. |
remark above about the card parameter. |
|
|
If you're having an older card (blue color circuit) and card=0x71 locks your |
If you're having an older card (blue color circuit) and card=0x71 locks |
machine, try using 0x68, too. If that does not work, ask on the mailing list. |
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 |
The DST module takes a couple of useful parameters, in case the dst |
dst drivers fails to detect your type of card correctly. |
drivers fails to detect your type of card correctly. |
|
|
dst_type takes values 0 (satellite), 1 (terrestial TV), 2 (cable). |
dst_type takes values 0 (satellite), 1 (terrestial TV), 2 (cable). |
|
|