<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#003300">
    <div class="moz-cite-prefix">On 24.06.19 22:53, Klaas de Waal wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANcAQaMNF=qvLe4xZVsMEhoBPyERP5q6ct=rvDnbRmgd-S39pg@mail.gmail.com">
      <pre class="moz-quote-pre" wrap="">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 (<a class="moz-txt-link-freetext" href="https://www.tbsdtv.com/download/index.html?path=6&id=27">https://www.tbsdtv.com/download/index.html?path=6&id=27</a>)
with downloadable programs but I have not used them myself.

Groetjes,
Klaas.</pre>
    </blockquote>
    <p>Thanks,</p>
    <p>    This is my current situation:</p>
    <p>- I've upgraded to xbuntu 19.04, which includes MythTV Version :
      v30.0-v30.0-13-g1c2068c62b; but that didn't help.<br>
      - 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.</p>
    <p>- 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.</p>
    <p> Now, I have tried using source (master) with the DVB from the
      tbsdriver; for reference:</p>
    <blockquote>
      <p><tt>./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/</tt><br>
      </p>
    </blockquote>
    <p><tt>root%mytv[32] /usr/local/bin/mythbackend --version</tt><tt><br>
      </tt><tt>Please attach all output as a file in bug reports.</tt><tt><br>
      </tt><tt>MythTV Version : v31-Pre-517-gc3e7f806d0</tt><tt><br>
      </tt><tt>MythTV Branch : master</tt><tt><br>
      </tt><tt>Network Protocol : 91</tt><tt><br>
      </tt><tt>Library API : 31.20190109-1</tt><tt><br>
      </tt><tt>QT Version : 5.12.2</tt><tt><br>
      </tt><tt>Options compiled in:</tt><tt><br>
      </tt><tt> 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</tt><br>
      <br>
    </p>
        So any suggestions on what my next steps should be to debug this
    situation?
    <p>Alain</p>
    <p>Output from mythbackend v31-Pre-517 as I switched video card to
      TBS6590-1/frontend1 on an encrypted channel:</p>
    <p><tt>2019-06-29 19:46:35.465910 I  TVRec[24]: Changing from
        WatchingLiveTV to None</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.522356 D  PortChecker::checkPort():
        host localhost port 3306 timeLimit 30000 linkLocalOnly 1</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.529789 N  Finished Recording:
        Container: MPEG2-TS Video Codec: h264 (1920x1088 A/R: 3 25fps)
        Audio Codec: eac3</tt><tt><br>
      </tt><tt>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"></tt><tt><br>
      </tt><tt>    <Gap start="2019-06-29T17:20:00Z"
        end="2019-06-29T17:45:46Z" duration="1546" /></tt><tt><br>
      </tt><tt>    <Gap start="2019-06-29T17:46:30Z"
        end="2019-06-29T17:54:00Z" duration="449" /></tt><tt><br>
      </tt><tt></RecordingQuality></tt><tt><br>
      </tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.544880 I 
        DVB#/dev/dvb/TBS6590-0/frontend0 CA: CiHandler thread stopped</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.545250 D 
        LiveTVChain(live-alinux-2019-06-29T17:45:34Z): dtor</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.548086 I  Playback sock(55ed7306a320)
        'alinux' disconnected</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.550455 I  MainServer: MainServer::ANN
        Playback</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.550470 I  MainServer: adding:
        alinux(55ed7306a320) as a client (events: 0)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.552603 D  LiveTVChain(): ctor</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.554053 I  TVRec[27]: Changing from
        None to WatchingLiveTV</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.580200 I  TVRec[27]: TuningFrequency</tt><tt><br>
      </tt><tt>2019-06-29 19:46:35.841335 I  CardUtil[27]: Set delivery
        system: DVB-S2</tt><tt><br>
      </tt><tt>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</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.130202 N  AutoExpire: CalcParams():
        Max required Free Space: 9.0 GB w/freq: 14 min</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.142008 W  LoadFromProgram(): SQL
        contains LIMIT clause, caller should be updated to use limit
        parameter instead</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.150775 N  ApplyRecordRecGroupChange:
        LiveTV to LiveTV (2)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152407 D  SignalMonitorValue(Signal
        Lock, slock, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152427 D  SignalMonitorValue(Signal
        Power, signal, 0, 0, 0, 100, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152446 D  SignalMonitorValue(Script
        Status, script, 0, 3, 0, 3, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152469 D  SignalMonitorValue(Seen
        PAT, seen_pat, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152487 D  SignalMonitorValue(Seen
        PMT, seen_pmt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152505 D  SignalMonitorValue(Seen
        MGT, seen_mgt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152571 D  SignalMonitorValue(Seen
        VCT, seen_vct, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152596 D  SignalMonitorValue(Seen
        NIT, seen_nit, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152619 D  SignalMonitorValue(Seen
        SDT, seen_sdt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152638 D  SignalMonitorValue(Seen
        Crypt, seen_crypt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152657 D  SignalMonitorValue(Matching
        PAT, matching_pat, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152675 D  SignalMonitorValue(Matching
        PMT, matching_pmt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152693 D  SignalMonitorValue(Matching
        MGT, matching_mgt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152711 D  SignalMonitorValue(Matching
        VCT, matching_vct, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152728 D  SignalMonitorValue(Matching
        NIT, matching_nit, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152746 D  SignalMonitorValue(Matching
        SDT, matching_sdt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152764 D  SignalMonitorValue(Matching
        Crypt, matching_crypt, 0, 1, 0, 1, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152783 D  SignalMonitorValue(Signal
        To Noise, snr, 0, 0, 0, 65535, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152801 D  SignalMonitorValue(Bit
        Error Rate, ber, 0, 65535, 0, 65535, 0, 0, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152820 D 
        SignalMonitorValue(Uncorrected Blocks, ucb, 0, 65535, 0, 65535,
        0, 0, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.152839 D  SignalMonitorValue(Rotor
        Progress, pos, 0, 100, 0, 100, 0, 1, false)</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.153846 D  Setting 'Lossless
        transcoding' changed to 0</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.153858 D  Setting 'Resize video while
        transcoding' changed to 0</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.153868 D  Setting 'Enable
        auto-transcode after recording' changed to 0</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.155203 D  Setting 'Enable
        auto-transcode after recording' changed to 0</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.155867 D  PortChecker::checkPort():
        host localhost port 3306 timeLimit 30000 linkLocalOnly 1</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.255310 I  FileTransfer
        sock(55ed72faae40) disconnected</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.260168 D  PortChecker::checkPort():
        host localhost port 3306 timeLimit 30000 linkLocalOnly 1</tt><tt><br>
      </tt><tt>2019-06-29 19:46:37.261458 I  Playback sock(55ed732c3b10)
        'alinux' disconnected</tt><tt><br>
      </tt><tt>2019-06-29 19:46:49.012313 I  Reschedule requested for
        MATCH 0 0 0 2019-06-29T18:30:00Z EITScanner</tt><tt><br>
      </tt><tt>2019-06-29 19:46:49.333220 I  Scheduled 34 items in 0.2 =
        0.14 match + 0.01 check + 0.02 place</tt><tt><br>
      </tt><tt>2019-06-29 19:46:51.158018 E  TVRec[27]:
        TuningSignalCheck: Hit pre-fail timeout</tt><tt><br>
      </tt><tt>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'.</tt><tt><br>
      </tt><tt>2019-06-29 19:46:57.161438 W  TVRec[27]: See 'Tuning
        timeout' in mythtv-setup for this input</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789672 D  Running HouseKeeper.</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789687 D  Checking to run DBCleanup</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789697 D  Checking to run
        HardwareProfiler</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789717 D  Checking to run
        JobQueueRecover</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789724 D  Checking to run LogClean</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789731 D  Checking to run MythFillDB</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789744 D  MythFillDatabase is
        disabled. Cannot run.</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789750 D  Checking to run
        RecordedArtworkUpdate</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789760 D  Checking to run
        ThemeUpdateNotifications</tt><tt><br>
      </tt><tt>2019-06-29 19:47:01.789771 D  Checking to run
        UpdateRadioStreams</tt><tt><br>
      </tt><tt>2019-06-29 19:47:10.561881 I  TVRec[27]: Changing from
        WatchingLiveTV to None</tt><tt><br>
      </tt><tt>2019-06-29 19:47:10.644990 D 
        LiveTVChain(live-alinux-2019-06-29T17:45:34Z): dtor</tt><tt><br>
      </tt><tt>2019-06-29 19:47:10.660762 I  Playback sock(55ed7306a320)
        'alinux' disconnected</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.212766 I  TVRec[25]: TuningFrequency</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.481309 I  CardUtil: Current delivery
        system: DVB-S2</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.481331 I  CardUtil: Supported
        delivery systems: DVB-S DVB-S2 DSS</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.481343 I  CardUtil[25]: No
        capturecard delivery system in database, using: DVB-S2</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.481351 I  CardUtil[25]: Set delivery
        system: DVB-S2</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817062 D  Running HouseKeeper.</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817083 D  Checking to run DBCleanup</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817093 D  Checking to run
        HardwareProfiler</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817113 D  Checking to run
        JobQueueRecover</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817121 D  Checking to run LogClean</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817127 D  Checking to run MythFillDB</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817140 D  MythFillDatabase is
        disabled. Cannot run.</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817146 D  Checking to run
        RecordedArtworkUpdate</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817156 D  Checking to run
        ThemeUpdateNotifications</tt><tt><br>
      </tt><tt>2019-06-29 19:48:01.817167 D  Checking to run
        UpdateRadioStreams</tt><tt><br>
      </tt><tt>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</tt><tt><br>
      </tt><tt>2019-06-29 19:48:02.662551 E  DiSEqCDevTree: No root
        device tree node!</tt><tt><br>
      </tt><tt>2019-06-29 19:48:02.662561 E 
        DVBChan[25](/dev/dvb/TBS6590-0/frontend1): Tune(): Failed to
        setup DiSEqC devices</tt><tt><br>
      </tt><tt>2019-06-29 19:48:02.662567 E 
        DTVChan[25](/dev/dvb/TBS6590-0/frontend1):
        SetChannelByString(17201): Tuning to frequency.</tt><tt><br>
      </tt><tt>2019-06-29 19:48:02.662577 E  TVRec[25]: Failed to set
        channel to 17201. Reverting to kState_None</tt><tt><br>
      </tt><br>
    </p>
    <p><br>
    </p>
    <br>
  </body>
</html>