blob: b43958b7340c7303f9ad81a27f7cdfc34ce31032 [file] [log] [blame]
Uwe Bugla8abe58a2006-03-16 20:37:05 -03001How to get the bt8xx cards working
2==================================
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -03004Authors: Richard Walker,
5 Jamie Honan,
6 Michael Hunold,
7 Manu Abraham,
8 Uwe Bugla,
9 Michael Krufky
10
11.. note::
12
13 This documentation is outdated. Please check at the DVB wiki
14 at https://linuxtv.org/wiki for more updated info.
15
16General information
17-------------------
Linus Torvalds1da177e2005-04-16 15:20:36 -070018
Uwe Bugla8abe58a2006-03-16 20:37:05 -030019This class of cards has a bt878a as the PCI interface, and require the bttv driver
20for accessing the i2c bus and the gpio pins of the bt8xx chipset.
21Please see Documentation/dvb/cards.txt => o Cards based on the Conexant Bt8xx PCI bridge:
Linus Torvalds1da177e2005-04-16 15:20:36 -070022
Uwe Bugla8abe58a2006-03-16 20:37:05 -030023Compiling kernel please enable:
Uwe Buglaafb758c2007-05-26 07:56:29 -030024
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030025#) ``Device drivers`` => ``Multimedia devices`` => ``Video For Linux`` => ``Enable Video for Linux API 1 (DEPRECATED)``
26#) ``Device drivers`` => ``Multimedia devices`` => ``Video For Linux`` => ``Video Capture Adapters`` => ``BT848 Video For Linux``
27#) ``Device drivers`` => ``Multimedia devices`` => ``Digital Video Broadcasting Devices`` => ``DVB for Linux`` ``DVB Core Support`` ``Bt8xx based PCI Cards``
Uwe Buglaafb758c2007-05-26 07:56:29 -030028
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030029 Please use the following options with care as deselection of drivers which are in fact necessary may result in DVB devices that cannot be tuned due to lack of driver support:
30 You can save RAM by deselecting every frontend module that your DVB card does not need.
Uwe Buglaafb758c2007-05-26 07:56:29 -030031
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030032 First please remove the static dependency of DVB card drivers on all frontend modules for all possible card variants by enabling:
33
34#) ``Device drivers`` => ``Multimedia devices`` => ``Digital Video Broadcasting Devices`` => ``DVB for Linux`` ``DVB Core Support`` ``Load and attach frontend modules as needed``
35
36 If you know the frontend driver that your card needs please enable:
37
38#) ``Device drivers`` => ``Multimedia devices`` => ``Digital Video Broadcasting Devices`` => ``DVB for Linux`` ``DVB Core Support`` ``Customise DVB Frontends`` => ``Customise the frontend modules to build``
39
Uwe Buglaafb758c2007-05-26 07:56:29 -030040 Then please select your card-specific frontend module.
Manu Abraham2d6e7322005-09-09 13:03:04 -070041
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030042Loading Modules
43---------------
Linus Torvalds1da177e2005-04-16 15:20:36 -070044
Uwe Buglaafb758c2007-05-26 07:56:29 -030045Regular case: If the bttv driver detects a bt8xx-based DVB card, all frontend and backend modules will be loaded automatically.
46Exceptions are:
47- Old TwinHan DST cards or clones with or without CA slot and not containing an Eeprom.
Uwe Bugla8abe58a2006-03-16 20:37:05 -030048People running udev please see Documentation/dvb/udev.txt.
Manu Abraham28fdd752005-11-08 21:35:33 -080049
Uwe Bugla8abe58a2006-03-16 20:37:05 -030050In the following cases overriding the PCI type detection for dvb-bt8xx might be necessary:
Linus Torvalds1da177e2005-04-16 15:20:36 -070051
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030052Running TwinHan and Clones
53~~~~~~~~~~~~~~~~~~~~~~~~~~
54
55.. code-block:: none
Johannes Stezenbachdf481ae2005-05-16 21:54:45 -070056
Uwe Bugla8abe58a2006-03-16 20:37:05 -030057 $ modprobe bttv card=113
Uwe Bugla8abe58a2006-03-16 20:37:05 -030058 $ modprobe dst
59
60Useful parameters for verbosity level and debugging the dst module:
61
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030062.. code-block:: none
63
64 verbose=0: messages are disabled
65 1: only error messages are displayed
66 2: notifications are displayed
67 3: other useful messages are displayed
68 4: debug setting
69 dst_addons=0: card is a free to air (FTA) card only
70 0x20: card has a conditional access slot for scrambled channels
Uwe Bugla8abe58a2006-03-16 20:37:05 -030071
72The autodetected values are determined by the cards' "response string".
73In your logs see f. ex.: dst_get_device_id: Recognize [DSTMCI].
74For bug reports please send in a complete log with verbose=4 activated.
75Please also see Documentation/dvb/ci.txt.
76
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030077Running multiple cards
78~~~~~~~~~~~~~~~~~~~~~~
Manu Abraham2d6e7322005-09-09 13:03:04 -070079
Uwe Bugla8abe58a2006-03-16 20:37:05 -030080Examples of card ID's:
Manu Abraham2d6e7322005-09-09 13:03:04 -070081
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030082.. code-block:: none
Manu Abraham2d6e7322005-09-09 13:03:04 -070083
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -030084 Pinnacle PCTV Sat: 94
85 Nebula Electronics Digi TV: 104
86 pcHDTV HD-2000 TV: 112
87 Twinhan DST and clones: 113
88 Avermedia AverTV DVB-T 771: 123
89 Avermedia AverTV DVB-T 761: 124
90 DViCO FusionHDTV DVB-T Lite: 128
91 DViCO FusionHDTV 5 Lite: 135
92
93.. note::
94
95 The order of the card ID should be uprising:
96
97 Example:
98
99 .. code-block:: none
100
Michael Krufky2cbeddc2005-11-08 21:35:35 -0800101 $ modprobe bttv card=113 card=135
Manu Abraham28fdd752005-11-08 21:35:33 -0800102
Uwe Bugla8abe58a2006-03-16 20:37:05 -0300103For a full list of card ID's please see Documentation/video4linux/CARDLIST.bttv.
Uwe Buglaafb758c2007-05-26 07:56:29 -0300104In case of further problems please subscribe and send questions to the mailing list: linux-dvb@linuxtv.org.
Manu Abraham28fdd752005-11-08 21:35:33 -0800105
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -0300106Probing the cards with broken PCI subsystem ID
107~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
108
Akinobu Mita38690072008-01-21 12:15:19 -0300109There are some TwinHan cards that the EEPROM has become corrupted for some
110reason. The cards do not have correct PCI subsystem ID. But we can force
111probing the cards with broken PCI subsystem ID
112
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -0300113.. code-block:: none
114
Akinobu Mita38690072008-01-21 12:15:19 -0300115 $ echo 109e 0878 $subvendor $subdevice > \
116 /sys/bus/pci/drivers/bt878/new_id
117
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -0300118.. code-block:: none
Akinobu Mita38690072008-01-21 12:15:19 -0300119
Mauro Carvalho Chehabd61da472016-07-17 12:25:43 -0300120 109e: PCI_VENDOR_ID_BROOKTREE
121 0878: PCI_DEVICE_ID_BROOKTREE_878
122