Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] dvb: dst: Updated Documentation

Updated Documentation

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Manu Abraham and committed by
Linus Torvalds
2d6e7322 9dea8851

+58 -39
+58 -39
Documentation/dvb/bt8xx.txt
··· 1 - How to get the Nebula Electronics DigiTV, Pinnacle PCTV Sat, Twinhan DST + clones working 2 - ========================================================================================= 1 + How to get the Nebula, PCTV and Twinhan DST cards working 2 + ========================================================= 3 3 4 - 1) General information 5 - ====================== 4 + This class of cards has a bt878a as the PCI interface, and 5 + require the bttv driver. 6 6 7 - This class of cards has a bt878a chip as the PCI interface. 8 - The different card drivers require the bttv driver to provide the means 9 - to access the i2c bus and the gpio pins of the bt8xx chipset. 7 + Please pay close attention to the warning about the bttv module 8 + options below for the DST card. 10 9 11 - 2) Compilation rules for Kernel >= 2.6.12 12 - ========================================= 10 + 1) General informations 11 + ======================= 13 12 14 - Enable the following options: 13 + These drivers require the bttv driver to provide the means to access 14 + the i2c bus and the gpio pins of the bt8xx chipset. 15 15 16 + Because of this, you need to enable 16 17 "Device drivers" => "Multimedia devices" 17 - => "Video For Linux" => "BT848 Video For Linux" 18 - "Device drivers" => "Multimedia devices" => "Digital Video Broadcasting Devices" 19 - => "DVB for Linux" "DVB Core Support" "BT8xx based PCI cards" 18 + => "Video For Linux" => "BT848 Video For Linux" 20 19 21 - 3) Loading Modules, described by two approaches 22 - =============================================== 20 + Furthermore you need to enable 21 + "Device drivers" => "Multimedia devices" => "Digital Video Broadcasting Devices" 22 + => "DVB for Linux" "DVB Core Support" "BT8xx based PCI cards" 23 + 24 + 2) Loading Modules 25 + ================== 23 26 24 27 In general you need to load the bttv driver, which will handle the gpio and 25 - i2c communication for us, plus the common dvb-bt8xx device driver, 26 - which is called the backend. 27 - The frontends for Nebula DigiTV (nxt6000), Pinnacle PCTV Sat (cx24110), 28 - TwinHan DST + clones (dst and dst-ca) are loaded automatically by the backend. 29 - For further details about TwinHan DST + clones see /Documentation/dvb/ci.txt. 28 + i2c communication for us, plus the common dvb-bt8xx device driver. 29 + The frontends for Nebula (nxt6000), Pinnacle PCTV (cx24110) and 30 + TwinHan (dst) are loaded automatically by the dvb-bt8xx device driver. 30 31 31 - 3a) The manual approach 32 - ----------------------- 33 - 34 - Loading modules: 35 - modprobe bttv 36 - modprobe dvb-bt8xx 37 - 38 - Unloading modules: 39 - modprobe -r dvb-bt8xx 40 - modprobe -r bttv 41 - 42 - 3b) The automatic approach 32 + 3a) Nebula / Pinnacle PCTV 43 33 -------------------------- 44 34 45 - If not already done by installation, place a line either in 46 - /etc/modules.conf or in /etc/modprobe.conf containing this text: 47 - alias char-major-81 bttv 35 + $ modprobe bttv (normally bttv is being loaded automatically by kmod) 36 + $ modprobe dvb-bt8xx (or just place dvb-bt8xx in /etc/modules for automatic loading) 48 37 49 - Then place a line in /etc/modules containing this text: 50 - dvb-bt8xx 51 38 52 - Reboot your system and have fun! 39 + 3b) TwinHan and Clones 40 + -------------------------- 41 + 42 + $ modprobe bttv i2c_hw=1 card=0x71 43 + $ modprobe dvb-bt8xx 44 + $ modprobe dst 45 + 46 + The value 0x71 will override the PCI type detection for dvb-bt8xx, 47 + which is necessary for TwinHan cards. 48 + 49 + If you're having an older card (blue color circuit) and card=0x71 locks 50 + your machine, try using 0x68, too. If that does not work, ask on the 51 + mailing list. 52 + 53 + The DST module takes a couple of useful parameters. 54 + 55 + verbose takes values 0 to 4. These values control the verbosity level, 56 + and can be used to debug also. 57 + 58 + verbose=0 means complete disabling of messages 59 + 1 only error messages are displayed 60 + 2 notifications are also displayed 61 + 3 informational messages are also displayed 62 + 4 debug setting 63 + 64 + dst_addons takes values 0 and 0x20. A value of 0 means it is a FTA card. 65 + 0x20 means it has a Conditional Access slot. 66 + 67 + The autodected values are determined bythe cards 'response 68 + string' which you can see in your logs e.g. 69 + 70 + dst_get_device_id: Recognise [DSTMCI] 71 + 53 72 54 73 -- 55 - Authors: Richard Walker, Jamie Honan, Michael Hunold, Manu Abraham, Uwe Bugla 74 + Authors: Richard Walker, Jamie Honan, Michael Hunold, Manu Abraham