<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#003300">
<p>Hi,</p>
<p> I've had mixed luck using a new TBS6590 card. I'm currently
unable to decrypt the Swiss channels using a Via Card in the CA
slot. For the story, I'll mention that Switzerland has decided to
stop broadcasting public TV over the air as of June 3rd, so I need
to get the Swiss channel using a new Satellite antenna. <br>
</p>
<p> When I insert the CA card + Via Access Card in my TV, I can
scan, access and decrypt all the Swiss channels but I can't access
them using MythTV. I can access unencrypted channels correctly
however.<br>
</p>
<blockquote>
<p>mythbackend version: fixes/29 [v29.1-13-g329c235] <br>
ubuntu 18.10<br>
</p>
</blockquote>
<p> What I've done so far:</p>
<ul>
<li>Downloaded and installed from TBS: v4l, drivers and firmware.
<br>
</li>
<li>Added new entry for udev which creates the proper names under
/dev/dvb:</li>
</ul>
<font face="Courier New, Courier, monospace">TBS6590-0:<br>
total 4<br>
lrwxrwxrwx 1 root root 15 jun 22 16:02 ca0 -> ../adapter0/ca0<br>
lrwxrwxrwx 1 root root 3 jun 22 16:02 ca1 -> ca0<br>
lrwxrwxrwx 1 root root 18 jun 22 16:02 demux0 ->
../adapter0/demux0<br>
lrwxrwxrwx 1 root root 6 jun 22 16:02 demux1 -> demux0<br>
-rw-r--r-- 1 root root 10 jun 22 16:02 dvb0<br>
lrwxrwxrwx 1 root root 16 jun 22 16:02 dvr0 -> ../adapter0/dvr0<br>
lrwxrwxrwx 1 root root 4 jun 22 16:02 dvr1 -> dvr0<br>
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend0 ->
../adapter0/frontend0<br>
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend1 ->
../adapter0/frontend1<br>
lrwxrwxrwx 1 root root 16 jun 22 16:02 net0 -> ../adapter0/net0<br>
lrwxrwxrwx 1 root root 4 jun 22 16:02 net1 -> net0<br>
<br>
TBS6590-1:<br>
total 4<br>
lrwxrwxrwx 1 root root 15 jun 22 16:02 ca0 -> ../adapter2/ca0<br>
lrwxrwxrwx 1 root root 3 jun 22 16:02 ca1 -> ca0<br>
lrwxrwxrwx 1 root root 18 jun 22 16:02 demux0 ->
../adapter2/demux0<br>
lrwxrwxrwx 1 root root 6 jun 22 16:02 demux1 -> demux0<br>
-rw-r--r-- 1 root root 10 jun 22 16:02 dvb2<br>
lrwxrwxrwx 1 root root 16 jun 22 16:02 dvr0 -> ../adapter2/dvr0<br>
lrwxrwxrwx 1 root root 4 jun 22 16:02 dvr1 -> dvr0<br>
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend0 ->
../adapter2/frontend0<br>
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend1 ->
../adapter2/frontend1<br>
lrwxrwxrwx 1 root root 16 jun 22 16:02 net0 -> ../adapter2/net0<br>
lrwxrwxrwx 1 root root 4 jun 22 16:02 net1 -> net0</font><br>
<ul>
<li>The card has 2 separate entries (currently seen as adapter0
and adapter 2 as seen above) and each entries has both a DVB-T2
(frontend0) and a DVB-S2 (frontend1) tuner/decoder. The
DVB-T2's, frontend0, work just fine (I've both DVB-T and DVB-S
frequencies on the same cables going in the card).<br>
</li>
<li>Added the new card using mythtv-setup</li>
<ul>
<li>First problem encountered is that all capture cards got
changed by mythtv-setup to point to
/dev/dvb/adapter0/frontend0 (videodevice) each time I've saved
my changes to the Capture cards. This happened a few times as
I added the different decoders in different steps. I've fixed
both tables capturecard and cardinputid in the mysql DB each
time.<br>
</li>
<li>Second I couldn't find a DiSEqC option within mythtv-setup
for frontend1 (DVB-S2) so I couldn't scan properly for
channels. So here also I had to resort to mysql to modify the
DB (capturecard.diseqcid = 1 ).</li>
<li>Then I was able to scan for specific transponders, I
couldn't find a way to scan each transports. So I manually
scanned the different frequencies I wanted.</li>
<ul>
<li>BTW where are the Symbol Rate defined? The one I need to
use for the Swiss transponder (29700000) isn't part of the
list and I need to select "new" each time.</li>
</ul>
</ul>
<li>The scan found all the Swiss channels and the over the air TV
guide is received properly. Mythbackend is trying to record
programs from the Swiss channels.</li>
<li>Channels sent in clear are shown properly by Mythtv (except
for the sound on the NASA UHD channel<br>
</li>
</ul>
<p>What isn't working as I've mentioned is the ability to decrypt
the Swiss channels using the CA card. I've found a mention in an <a
moz-do-not-send="true" href="https://mythtv-fr.org/wiki/tv_sat">old
documentation</a> that we need to create a software decoder
using Open-sasc-ng. But that software seems to be obseleted. I
haven't found seen any other documentation suggesting a solution
to my problem. So, what else can I try?</p>
<p>Other details which may or not be of use:</p>
<p><font face="Courier New, Courier, monospace">Jun 22 18:11:11 mytv
mythbackend: mythbackend[9853]: N DVBRead
recorders/dtvsignalmonitor.cpp:368 (HandlePMT)
DTVSigMon[27](/dev/dvb/TBS6590-1/frontend1): PMT says program
17203 is encrypted<br>
Jun 22 18:11:12 mytv mythbackend: mythbackend[9853]: E
TVRecEvent tv_rec.cpp:3950 (TuningSignalCheck) TVRec[27]:
TuningSignalCheck: Hit pre-fail timeout<br>
Jun 22 18:11:13 mytv mythbackend: mythbackend[9853]: W
TVRecEvent tv_rec.cpp:3981 (TuningSignalCheck) TVRec[27]:
TuningSignalCheck: taking more than 3000 ms to get a lock.
marking this recording as 'Failing'.<br>
Jun 22 18:11:13 mytv mythbackend: mythbackend[9853]: W
TVRecEvent tv_rec.cpp:3983 (TuningSignalCheck) TVRec[27]: See
'Tuning timeout' in mythtv-setup for this input</font><br>
</p>
<p><font face="Courier New, Courier, monospace">mysql> select
cardid, videodevice, displayname, defaultinput, recpriority,
schedorder, livetvorder, dvb_sat_type, dvb_wait_for_seqstart,
dvb_on_demand, signal_timeout, channel_timeout,
dvb_tuning_delay, dvb_eitscan, inputname, sourceid, tunechan,
startchan, quicktune, reclimit from capturecard order by cardid;<br>
+--------+------------------------------+-------------+--------------+-------------+------------+-------------+--------------+-----------------------+---------------+----------------+-----------------+------------------+-------------+-----------+----------+----------+-----------+-----------+----------+<br>
| cardid | videodevice | displayname |
defaultinput | recpriority | schedorder | livetvorder |
dvb_sat_type | dvb_wait_for_seqstart | dvb_on_demand |
signal_timeout | channel_timeout | dvb_tuning_delay |
dvb_eitscan | inputname | sourceid | tunechan | startchan |
quicktune | reclimit |<br>
+--------+------------------------------+-------------+--------------+-------------+------------+-------------+--------------+-----------------------+---------------+----------------+-----------------+------------------+-------------+-----------+----------+----------+-----------+-----------+----------+<br>
| 9 | /dev/dvb/NOVA0/frontend0 | Nova T500 0 |
DVBInput | 60 | 70 | 9
| 0 | 0 | 0
| 750 | 3500 | 150
| 1 | DVBInput | 1 | NULL | 2
| 0 | 1 |<br>
| 11 | /dev/dvb/NOVA1/frontend0 | Nova T500 2 |
DVBInput | 40 | 20 | 50
| 0 | 1 | 0
| 500 | 1750 | 150
| 1 | DVBInput | 1 | NULL | 1
| 0 | 1 |<br>
| 17 | /dev/dvb/PCTV0/frontend0 | PV1 |
Television | 20 | 14 | 60
| 0 | 1 | 0
| 1000 | 1750 | 0
| 0 | DVBInput | 1 | NULL | 1
| 0 | 1 |<br>
| 22 | /dev/dvb/PCTV1/frontend0 | PTV2 |
Television | 30 | 16 | 22
| 0 | 1 | 0
| 1000 | 1750 | 0
| 0 | DVBInput | 1 | NULL | 1
| 2 | 1 |<br>
| 24 | /dev/dvb/TBS6590-0/frontend0 | TBS-0 F0 |
Television | 0 | 1 | 1
| 0 | 1 | 1
| 1000 | 3000 | 1
| 1 | DVBInput | 1 | NULL | 2
| 0 | 1 |<br>
| 25 | /dev/dvb/TBS6590-0/frontend1 | TBS-0 SAT |
Television | 0 | 1 | 1
| 0 | 1 | 1
| 7000 | 10000 | 1
| 1 | DVBInput | 3 | NULL | 1
| 0 | 1 |<br>
| 26 | /dev/dvb/TBS6590-1/frontend0 | TBS-1 F0 |
Television | 0 | 1 | 1
| 0 | 1 | 1
| 1000 | 3000 | 1
| 1 | DVBInput | 1 | NULL | 2
| 0 | 1 |<br>
| 27 | /dev/dvb/TBS6590-1/frontend1 | TBS-1 SAT |
Television | 0 | 1 | 1
| 0 | 1 | 1
| 1000 | 3000 | 1
| 1 | DVBInput | 3 | NULL | 1
| 0 | 1 |<br>
</font><br>
</p>
<p>Alain Brossard<br>
</p>
</body>
</html>