1.. SPDX-License-Identifier: GPL-2.0
2
3Digital TV Conditional Access Interface
4=======================================
5
6
7.. note::
8
9   This documentation is outdated.
10
11This document describes the usage of the high level CI API as
12in accordance to the Linux DVB API. This is a not a documentation for the,
13existing low level CI API.
14
15.. note::
16
17   For the Twinhan/Twinhan clones, the dst_ca module handles the CI
18   hardware handling. This module is loaded automatically if a CI
19   (Common Interface, that holds the CAM (Conditional Access Module)
20   is detected.
21
22ca_zap
23~~~~~~
24
25A userspace application, like ``ca_zap`` is required to handle encrypted
26MPEG-TS streams.
27
28The ``ca_zap`` userland application is in charge of sending the
29descrambling related information to the Conditional Access Module (CAM).
30
31This application requires the following to function properly as of now.
32
33a) Tune to a valid channel, with szap.
34
35  eg: $ szap -c channels.conf -r "TMC" -x
36
37b) a channels.conf containing a valid PMT PID
38
39  eg: TMC:11996:h:0:27500:278:512:650:321
40
41  here 278 is a valid PMT PID. the rest of the values are the
42  same ones that szap uses.
43
44c) after running a szap, you have to run ca_zap, for the
45   descrambler to function,
46
47  eg: $ ca_zap channels.conf "TMC"
48
49d) Hopefully enjoy your favourite subscribed channel as you do with
50   a FTA card.
51
52.. note::
53
54  Currently ca_zap, and dst_test, both are meant for demonstration
55  purposes only, they can become full fledged applications if necessary.
56
57
58Cards that fall in this category
59~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
60
61At present the cards that fall in this category are the Twinhan and its
62clones, these cards are available as VVMER, Tomato, Hercules, Orange and
63so on.
64
65CI modules that are supported
66~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
67
68The CI module support is largely dependent upon the firmware on the cards
69Some cards do support almost all of the available CI modules. There is
70nothing much that can be done in order to make additional CI modules
71working with these cards.
72
73Modules that have been tested by this driver at present are
74
75(1) Irdeto 1 and 2 from SCM
76(2) Viaccess from SCM
77(3) Dragoncam
78