[mythtv-users] DVB-S2: How to decrypt a channel with card TBS6590
Alain
mythuser at alain.homeunix.org
Sat Jun 22 16:26:54 UTC 2019
Hi,
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.
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.
mythbackend version: fixes/29 [v29.1-13-g329c235]
ubuntu 18.10
What I've done so far:
* Downloaded and installed from TBS: v4l, drivers and firmware.
* Added new entry for udev which creates the proper names under /dev/dvb:
TBS6590-0:
total 4
lrwxrwxrwx 1 root root 15 jun 22 16:02 ca0 -> ../adapter0/ca0
lrwxrwxrwx 1 root root 3 jun 22 16:02 ca1 -> ca0
lrwxrwxrwx 1 root root 18 jun 22 16:02 demux0 -> ../adapter0/demux0
lrwxrwxrwx 1 root root 6 jun 22 16:02 demux1 -> demux0
-rw-r--r-- 1 root root 10 jun 22 16:02 dvb0
lrwxrwxrwx 1 root root 16 jun 22 16:02 dvr0 -> ../adapter0/dvr0
lrwxrwxrwx 1 root root 4 jun 22 16:02 dvr1 -> dvr0
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend0 -> ../adapter0/frontend0
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend1 -> ../adapter0/frontend1
lrwxrwxrwx 1 root root 16 jun 22 16:02 net0 -> ../adapter0/net0
lrwxrwxrwx 1 root root 4 jun 22 16:02 net1 -> net0
TBS6590-1:
total 4
lrwxrwxrwx 1 root root 15 jun 22 16:02 ca0 -> ../adapter2/ca0
lrwxrwxrwx 1 root root 3 jun 22 16:02 ca1 -> ca0
lrwxrwxrwx 1 root root 18 jun 22 16:02 demux0 -> ../adapter2/demux0
lrwxrwxrwx 1 root root 6 jun 22 16:02 demux1 -> demux0
-rw-r--r-- 1 root root 10 jun 22 16:02 dvb2
lrwxrwxrwx 1 root root 16 jun 22 16:02 dvr0 -> ../adapter2/dvr0
lrwxrwxrwx 1 root root 4 jun 22 16:02 dvr1 -> dvr0
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend0 -> ../adapter2/frontend0
lrwxrwxrwx 1 root root 21 jun 22 16:02 frontend1 -> ../adapter2/frontend1
lrwxrwxrwx 1 root root 16 jun 22 16:02 net0 -> ../adapter2/net0
lrwxrwxrwx 1 root root 4 jun 22 16:02 net1 -> net0
* 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).
* Added the new card using mythtv-setup
o 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.
o 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 ).
o 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.
+ 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.
* 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.
* Channels sent in clear are shown properly by Mythtv (except for the
sound on the NASA UHD channel
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 old documentation
<https://mythtv-fr.org/wiki/tv_sat> 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?
Other details which may or not be of use:
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
Jun 22 18:11:12 mytv mythbackend: mythbackend[9853]: E TVRecEvent
tv_rec.cpp:3950 (TuningSignalCheck) TVRec[27]: TuningSignalCheck: Hit
pre-fail timeout
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'.
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
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;
+--------+------------------------------+-------------+--------------+-------------+------------+-------------+--------------+-----------------------+---------------+----------------+-----------------+------------------+-------------+-----------+----------+----------+-----------+-----------+----------+
| 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 |
+--------+------------------------------+-------------+--------------+-------------+------------+-------------+--------------+-----------------------+---------------+----------------+-----------------+------------------+-------------+-----------+----------+----------+-----------+-----------+----------+
| 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 |
| 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 |
| 17 | /dev/dvb/PCTV0/frontend0 | PV1 | Television
| 20 | 14 | 60 | 0
| 1 | 0 | 1000 |
1750 | 0 | 0 | DVBInput | 1 | NULL
| 1 | 0 | 1 |
| 22 | /dev/dvb/PCTV1/frontend0 | PTV2 | Television
| 30 | 16 | 22 | 0
| 1 | 0 | 1000 |
1750 | 0 | 0 | DVBInput | 1 | NULL
| 1 | 2 | 1 |
| 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 |
| 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 |
| 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 |
| 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 |
Alain Brossard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190622/e4c737fa/attachment.html>
More information about the mythtv-users
mailing list