[mythtv-users] DVB-S2: How to decrypt a channel with card TBS6590

Alain mythuser at alain.homeunix.org
Sat Jun 29 18:00:09 UTC 2019


On 24.06.19 22:53, Klaas de Waal wrote:
> This is unfortunate. I confess that I am running out of options.
> To summarize:
> - The CAM works with the smartcard because your TV does work with the
> CAM+smartcard
> - It cannot be a HDCP/CI+ problem because that is not used for the
> Swiss national TV according to the internet.
> - MythTV version fixes/30 is recent enough.
>
> At this stage I think it is a good idea to make sure that the TBS card
> does work with your CAM with other software. There is a page at
> tbsdtv.com (https://www.tbsdtv.com/download/index.html?path=6&id=27)
> with downloadable programs but I have not used them myself.
>
> Groetjes,
> Klaas.

Thanks,

     This is my current situation:

- I've upgraded to xbuntu 19.04, which includes MythTV Version : 
v30.0-v30.0-13-g1c2068c62b; but that didn't help.
- I've compiled and tested using tvheadend which made me realize that my 
CA module was inserted wrong side up. But while, like with Mythtv, I'm 
able to watch TV Sat channels which are being sent in the clear, I'm 
still unable to decrypt the Swiss channels.

- My latest test with Mythtv show that the adapter 
(adapter2/frontend[01]) with the CA card inserted doesn't work with 
Mythtv, while the first adapter without the card does work with 
mythbackend; well more or less, the results are not 100% reliable 
(tested on V30.0-13). On the adapter which does work, the decrypting 
doesn't work, which isn't surprising given that the CA card is inserted 
in the other adapter.

  Now, I have tried using source (master) with the DVB from the 
tbsdriver; for reference:

    ./configure
    --dvb-path='/soft/sources/Unix/tbsdriver/media/include/uapi
    -I/soft/sources/Unix/tbsdriver/media/include' --with-bindings='perl,
    python, php' --enable-libmp3lame --prefix=/usr/local/

root%mytv[32] /usr/local/bin/mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v31-Pre-517-gc3e7f806d0
MythTV Branch : master
Network Protocol : 91
Library API : 31.20190109-1
QT Version : 5.12.2
Options compiled in:
  linux profile use_hidesyms using_alsa using_oss using_pulse 
using_pulseoutput using_backend using_bindings_perl 
using_bindings_python using_bindings_php using_dvb using_firewire 
using_frontend using_vbox using_ceton using_hdpvr using_ivtv 
using_joystick_menu using_libcec using_libcrypto using_libdns_sd 
using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl 
using_opengl_video using_opengl_themepainter using_qtwebkit 
using_qtscript using_qtdbus using_taglib using_v4l2 using_x11 
using_xnvctrl using_xnvctrl_external using_libbluray_external 
using_xrandr using_xv using_profiletype using_bindings_perl 
using_bindings_python using_bindings_php using_freetype2 
using_mythtranscode using_opengl using_vaapi using_vaapi2 using_nvdec 
using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libmp3lame

     So any suggestions on what my next steps should be to debug this 
situation?

Alain

Output from mythbackend v31-Pre-517 as I switched video card to 
TBS6590-1/frontend1 on an encrypted channel:

2019-06-29 19:46:35.465910 I  TVRec[24]: Changing from WatchingLiveTV to 
None
2019-06-29 19:46:35.522356 D  PortChecker::checkPort(): host localhost 
port 3306 timeLimit 30000 linkLocalOnly 1
2019-06-29 19:46:35.529789 N  Finished Recording: Container: MPEG2-TS 
Video Codec: h264 (1920x1088 A/R: 3 25fps) Audio Codec: eac3
2019-06-29 19:46:35.530893 I  TVRec[24]: 
FinishedRecording(12819443_2019-06-29T17:45:46Z) damaged 
recq:<RecordingQuality overall_score="0" 
key="12819443_2019-06-29T17:45:46Z" continuity_error_count="0" 
packet_count="189868">
     <Gap start="2019-06-29T17:20:00Z" end="2019-06-29T17:45:46Z" 
duration="1546" />
     <Gap start="2019-06-29T17:46:30Z" end="2019-06-29T17:54:00Z" 
duration="449" />
</RecordingQuality>

2019-06-29 19:46:35.544880 I DVB#/dev/dvb/TBS6590-0/frontend0 CA: 
CiHandler thread stopped
2019-06-29 19:46:35.545250 D 
LiveTVChain(live-alinux-2019-06-29T17:45:34Z): dtor
2019-06-29 19:46:35.548086 I  Playback sock(55ed7306a320) 'alinux' 
disconnected
2019-06-29 19:46:35.550455 I  MainServer: MainServer::ANN Playback
2019-06-29 19:46:35.550470 I  MainServer: adding: alinux(55ed7306a320) 
as a client (events: 0)
2019-06-29 19:46:35.552603 D  LiveTVChain(): ctor
2019-06-29 19:46:35.554053 I  TVRec[27]: Changing from None to 
WatchingLiveTV
2019-06-29 19:46:35.580200 I  TVRec[27]: TuningFrequency
2019-06-29 19:46:35.841335 I  CardUtil[27]: Set delivery system: DVB-S2
2019-06-29 19:46:37.021964 D DTVChan[27](/dev/dvb/TBS6590-1/frontend1): 
SetChannelByString(51): Initialize multiplex options m_tunerType:32 
mplexid:37
2019-06-29 19:46:37.130202 N  AutoExpire: CalcParams(): Max required 
Free Space: 9.0 GB w/freq: 14 min
2019-06-29 19:46:37.142008 W  LoadFromProgram(): SQL contains LIMIT 
clause, caller should be updated to use limit parameter instead
2019-06-29 19:46:37.150775 N  ApplyRecordRecGroupChange: LiveTV to 
LiveTV (2)
2019-06-29 19:46:37.152407 D  SignalMonitorValue(Signal Lock, slock, 0, 
1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152427 D  SignalMonitorValue(Signal Power, signal, 
0, 0, 0, 100, 0, 1, false)
2019-06-29 19:46:37.152446 D  SignalMonitorValue(Script Status, script, 
0, 3, 0, 3, 0, 1, false)
2019-06-29 19:46:37.152469 D  SignalMonitorValue(Seen PAT, seen_pat, 0, 
1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152487 D  SignalMonitorValue(Seen PMT, seen_pmt, 0, 
1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152505 D  SignalMonitorValue(Seen MGT, seen_mgt, 0, 
1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152571 D  SignalMonitorValue(Seen VCT, seen_vct, 0, 
1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152596 D  SignalMonitorValue(Seen NIT, seen_nit, 0, 
1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152619 D  SignalMonitorValue(Seen SDT, seen_sdt, 0, 
1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152638 D  SignalMonitorValue(Seen Crypt, seen_crypt, 
0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152657 D  SignalMonitorValue(Matching PAT, 
matching_pat, 0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152675 D  SignalMonitorValue(Matching PMT, 
matching_pmt, 0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152693 D  SignalMonitorValue(Matching MGT, 
matching_mgt, 0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152711 D  SignalMonitorValue(Matching VCT, 
matching_vct, 0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152728 D  SignalMonitorValue(Matching NIT, 
matching_nit, 0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152746 D  SignalMonitorValue(Matching SDT, 
matching_sdt, 0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152764 D  SignalMonitorValue(Matching Crypt, 
matching_crypt, 0, 1, 0, 1, 0, 1, false)
2019-06-29 19:46:37.152783 D  SignalMonitorValue(Signal To Noise, snr, 
0, 0, 0, 65535, 0, 1, false)
2019-06-29 19:46:37.152801 D  SignalMonitorValue(Bit Error Rate, ber, 0, 
65535, 0, 65535, 0, 0, false)
2019-06-29 19:46:37.152820 D SignalMonitorValue(Uncorrected Blocks, ucb, 
0, 65535, 0, 65535, 0, 0, false)
2019-06-29 19:46:37.152839 D  SignalMonitorValue(Rotor Progress, pos, 0, 
100, 0, 100, 0, 1, false)
2019-06-29 19:46:37.153846 D  Setting 'Lossless transcoding' changed to 0
2019-06-29 19:46:37.153858 D  Setting 'Resize video while transcoding' 
changed to 0
2019-06-29 19:46:37.153868 D  Setting 'Enable auto-transcode after 
recording' changed to 0
2019-06-29 19:46:37.155203 D  Setting 'Enable auto-transcode after 
recording' changed to 0
2019-06-29 19:46:37.155867 D  PortChecker::checkPort(): host localhost 
port 3306 timeLimit 30000 linkLocalOnly 1
2019-06-29 19:46:37.255310 I  FileTransfer sock(55ed72faae40) disconnected
2019-06-29 19:46:37.260168 D  PortChecker::checkPort(): host localhost 
port 3306 timeLimit 30000 linkLocalOnly 1
2019-06-29 19:46:37.261458 I  Playback sock(55ed732c3b10) 'alinux' 
disconnected
2019-06-29 19:46:49.012313 I  Reschedule requested for MATCH 0 0 0 
2019-06-29T18:30:00Z EITScanner
2019-06-29 19:46:49.333220 I  Scheduled 34 items in 0.2 = 0.14 match + 
0.01 check + 0.02 place
2019-06-29 19:46:51.158018 E  TVRec[27]: TuningSignalCheck: Hit pre-fail 
timeout
2019-06-29 19:46:57.161424 W  TVRec[27]: TuningSignalCheck: taking more 
than 20000 ms to get a lock. marking this recording as 'Failing'.
2019-06-29 19:46:57.161438 W  TVRec[27]: See 'Tuning timeout' in 
mythtv-setup for this input
2019-06-29 19:47:01.789672 D  Running HouseKeeper.
2019-06-29 19:47:01.789687 D  Checking to run DBCleanup
2019-06-29 19:47:01.789697 D  Checking to run HardwareProfiler
2019-06-29 19:47:01.789717 D  Checking to run JobQueueRecover
2019-06-29 19:47:01.789724 D  Checking to run LogClean
2019-06-29 19:47:01.789731 D  Checking to run MythFillDB
2019-06-29 19:47:01.789744 D  MythFillDatabase is disabled. Cannot run.
2019-06-29 19:47:01.789750 D  Checking to run RecordedArtworkUpdate
2019-06-29 19:47:01.789760 D  Checking to run ThemeUpdateNotifications
2019-06-29 19:47:01.789771 D  Checking to run UpdateRadioStreams
2019-06-29 19:47:10.561881 I  TVRec[27]: Changing from WatchingLiveTV to 
None
2019-06-29 19:47:10.644990 D 
LiveTVChain(live-alinux-2019-06-29T17:45:34Z): dtor
2019-06-29 19:47:10.660762 I  Playback sock(55ed7306a320) 'alinux' 
disconnected
2019-06-29 19:48:01.212766 I  TVRec[25]: TuningFrequency
2019-06-29 19:48:01.481309 I  CardUtil: Current delivery system: DVB-S2
2019-06-29 19:48:01.481331 I  CardUtil: Supported delivery systems: 
DVB-S DVB-S2 DSS
2019-06-29 19:48:01.481343 I  CardUtil[25]: No capturecard delivery 
system in database, using: DVB-S2
2019-06-29 19:48:01.481351 I  CardUtil[25]: Set delivery system: DVB-S2
2019-06-29 19:48:01.817062 D  Running HouseKeeper.
2019-06-29 19:48:01.817083 D  Checking to run DBCleanup
2019-06-29 19:48:01.817093 D  Checking to run HardwareProfiler
2019-06-29 19:48:01.817113 D  Checking to run JobQueueRecover
2019-06-29 19:48:01.817121 D  Checking to run LogClean
2019-06-29 19:48:01.817127 D  Checking to run MythFillDB
2019-06-29 19:48:01.817140 D  MythFillDatabase is disabled. Cannot run.
2019-06-29 19:48:01.817146 D  Checking to run RecordedArtworkUpdate
2019-06-29 19:48:01.817156 D  Checking to run ThemeUpdateNotifications
2019-06-29 19:48:01.817167 D  Checking to run UpdateRadioStreams
2019-06-29 19:48:02.662020 D DTVChan[25](/dev/dvb/TBS6590-0/frontend1): 
SetChannelByString(17201): Initialize multiplex options m_tunerType:32 
mplexid:33
2019-06-29 19:48:02.662551 E  DiSEqCDevTree: No root device tree node!
2019-06-29 19:48:02.662561 E DVBChan[25](/dev/dvb/TBS6590-0/frontend1): 
Tune(): Failed to setup DiSEqC devices
2019-06-29 19:48:02.662567 E DTVChan[25](/dev/dvb/TBS6590-0/frontend1): 
SetChannelByString(17201): Tuning to frequency.
2019-06-29 19:48:02.662577 E  TVRec[25]: Failed to set channel to 17201. 
Reverting to kState_None



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20190629/8dd5c3a6/attachment.html>


More information about the mythtv-users mailing list