[media] doc-rst: convert bt8xx doc to rst

This document almost follows a markup language, but it is
not ReST. Fix it to be handled by Sphinx.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
Mauro Carvalho Chehab 2016-07-17 12:25:43 -03:00
parent d3686003e0
commit d61da478b3
2 changed files with 72 additions and 47 deletions

View File

@ -1,33 +1,46 @@
How to get the bt8xx cards working How to get the bt8xx cards working
================================== ==================================
1) General information Authors: Richard Walker,
====================== Jamie Honan,
Michael Hunold,
Manu Abraham,
Uwe Bugla,
Michael Krufky
.. note::
This documentation is outdated. Please check at the DVB wiki
at https://linuxtv.org/wiki for more updated info.
General information
-------------------
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
for accessing the i2c bus and the gpio pins of the bt8xx chipset. for accessing the i2c bus and the gpio pins of the bt8xx chipset.
Please see Documentation/dvb/cards.txt => o Cards based on the Conexant Bt8xx PCI bridge: Please see Documentation/dvb/cards.txt => o Cards based on the Conexant Bt8xx PCI bridge:
Compiling kernel please enable: Compiling kernel please enable:
a.)"Device drivers" => "Multimedia devices" => "Video For Linux" => "Enable Video for Linux API 1 (DEPRECATED)"
b.)"Device drivers" => "Multimedia devices" => "Video For Linux" => "Video Capture Adapters" => "BT848 Video For Linux"
c.)"Device drivers" => "Multimedia devices" => "Digital Video Broadcasting Devices" => "DVB for Linux" "DVB Core Support" "Bt8xx based PCI Cards"
Please use the following options with care as deselection of drivers which are in fact necessary #) ``Device drivers`` => ``Multimedia devices`` => ``Video For Linux`` => ``Enable Video for Linux API 1 (DEPRECATED)``
may result in DVB devices that cannot be tuned due to lack of driver support: #) ``Device drivers`` => ``Multimedia devices`` => ``Video For Linux`` => ``Video Capture Adapters`` => ``BT848 Video For Linux``
You can save RAM by deselecting every frontend module that your DVB card does not need. #) ``Device drivers`` => ``Multimedia devices`` => ``Digital Video Broadcasting Devices`` => ``DVB for Linux`` ``DVB Core Support`` ``Bt8xx based PCI Cards``
First please remove the static dependency of DVB card drivers on all frontend modules for all possible card variants by enabling: 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:
d.) "Device drivers" => "Multimedia devices" => "Digital Video Broadcasting Devices" You can save RAM by deselecting every frontend module that your DVB card does not need.
=> "DVB for Linux" "DVB Core Support" "Load and attach frontend modules as needed"
First please remove the static dependency of DVB card drivers on all frontend modules for all possible card variants by enabling:
#) ``Device drivers`` => ``Multimedia devices`` => ``Digital Video Broadcasting Devices`` => ``DVB for Linux`` ``DVB Core Support`` ``Load and attach frontend modules as needed``
If you know the frontend driver that your card needs please enable:
#) ``Device drivers`` => ``Multimedia devices`` => ``Digital Video Broadcasting Devices`` => ``DVB for Linux`` ``DVB Core Support`` ``Customise DVB Frontends`` => ``Customise the frontend modules to build``
If you know the frontend driver that your card needs please enable:
e.)"Device drivers" => "Multimedia devices" => "Digital Video Broadcasting Devices"
=> "DVB for Linux" "DVB Core Support" "Customise DVB Frontends" => "Customise the frontend modules to build"
Then please select your card-specific frontend module. Then please select your card-specific frontend module.
2) Loading Modules Loading Modules
================== ---------------
Regular case: If the bttv driver detects a bt8xx-based DVB card, all frontend and backend modules will be loaded automatically. Regular case: If the bttv driver detects a bt8xx-based DVB card, all frontend and backend modules will be loaded automatically.
Exceptions are: Exceptions are:
@ -36,20 +49,24 @@ People running udev please see Documentation/dvb/udev.txt.
In the following cases overriding the PCI type detection for dvb-bt8xx might be necessary: In the following cases overriding the PCI type detection for dvb-bt8xx might be necessary:
2a) Running TwinHan and Clones Running TwinHan and Clones
------------------------------ ~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code-block:: none
$ modprobe bttv card=113 $ modprobe bttv card=113
$ modprobe dst $ modprobe dst
Useful parameters for verbosity level and debugging the dst module: Useful parameters for verbosity level and debugging the dst module:
verbose=0: messages are disabled .. code-block:: none
verbose=0: messages are disabled
1: only error messages are displayed 1: only error messages are displayed
2: notifications are displayed 2: notifications are displayed
3: other useful messages are displayed 3: other useful messages are displayed
4: debug setting 4: debug setting
dst_addons=0: card is a free to air (FTA) card only dst_addons=0: card is a free to air (FTA) card only
0x20: card has a conditional access slot for scrambled channels 0x20: card has a conditional access slot for scrambled channels
The autodetected values are determined by the cards' "response string". The autodetected values are determined by the cards' "response string".
@ -57,42 +74,49 @@ In your logs see f. ex.: dst_get_device_id: Recognize [DSTMCI].
For bug reports please send in a complete log with verbose=4 activated. For bug reports please send in a complete log with verbose=4 activated.
Please also see Documentation/dvb/ci.txt. Please also see Documentation/dvb/ci.txt.
2b) Running multiple cards Running multiple cards
-------------------------- ~~~~~~~~~~~~~~~~~~~~~~
Examples of card ID's: Examples of card ID's:
Pinnacle PCTV Sat: 94 .. code-block:: none
Nebula Electronics Digi TV: 104
pcHDTV HD-2000 TV: 112 Pinnacle PCTV Sat: 94
Twinhan DST and clones: 113 Nebula Electronics Digi TV: 104
Avermedia AverTV DVB-T 771: 123 pcHDTV HD-2000 TV: 112
Avermedia AverTV DVB-T 761: 124 Twinhan DST and clones: 113
DViCO FusionHDTV DVB-T Lite: 128 Avermedia AverTV DVB-T 771: 123
DViCO FusionHDTV 5 Lite: 135 Avermedia AverTV DVB-T 761: 124
DViCO FusionHDTV DVB-T Lite: 128
DViCO FusionHDTV 5 Lite: 135
.. note::
The order of the card ID should be uprising:
Example:
.. code-block:: none
Notice: The order of the card ID should be uprising:
Example:
$ modprobe bttv card=113 card=135 $ modprobe bttv card=113 card=135
For a full list of card ID's please see Documentation/video4linux/CARDLIST.bttv. For a full list of card ID's please see Documentation/video4linux/CARDLIST.bttv.
In case of further problems please subscribe and send questions to the mailing list: linux-dvb@linuxtv.org. In case of further problems please subscribe and send questions to the mailing list: linux-dvb@linuxtv.org.
2c) Probing the cards with broken PCI subsystem ID Probing the cards with broken PCI subsystem ID
-------------------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are some TwinHan cards that the EEPROM has become corrupted for some There are some TwinHan cards that the EEPROM has become corrupted for some
reason. The cards do not have correct PCI subsystem ID. But we can force reason. The cards do not have correct PCI subsystem ID. But we can force
probing the cards with broken PCI subsystem ID probing the cards with broken PCI subsystem ID
.. code-block:: none
$ echo 109e 0878 $subvendor $subdevice > \ $ echo 109e 0878 $subvendor $subdevice > \
/sys/bus/pci/drivers/bt878/new_id /sys/bus/pci/drivers/bt878/new_id
109e: PCI_VENDOR_ID_BROOKTREE .. code-block:: none
0878: PCI_DEVICE_ID_BROOKTREE_878
109e: PCI_VENDOR_ID_BROOKTREE
0878: PCI_DEVICE_ID_BROOKTREE_878
Authors: Richard Walker,
Jamie Honan,
Michael Hunold,
Manu Abraham,
Uwe Bugla,
Michael Krufky

View File

@ -20,3 +20,4 @@ License".
intro intro
avermedia avermedia
bt8xx