<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 7/14/19 15:20, Alain wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:be19c10e-7f67-cbbe-97be-d902c06e25e8@alain.homeunix.org">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div class="moz-cite-prefix">On 13.07.19 16:27, Klaas de Waal
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CANcAQaOPuzY4z3hXrbScE8NMjuUjt3noXLYYuY+RmqGSD_PYSw@mail.gmail.com">
        <pre class="moz-quote-pre" wrap="">Hi,

Today I have committed a fix to mythtv-master that makes the multirec
also work with encrypted channels and CAM/smartcard decoding.
You can now receive more than one encrypted channel with only one
tuner as long as all channels are on the same multiplex. The upper
limit to the number of channels does depend on the CAM and the
smartcard of your provider but two channels simultaneously should
always work.

Groetjes,
Klaas.

</pre>
      </blockquote>
      <p>Thanks,  I've just pulled the latest, recompiled and restarted
        mythtv-backend.</p>
      <p>-------------------------------------------------------<br>
      </p>
      <p>    On the topic of the TBS card + CAM + CI, I can report that
        once it works, it is stable. I've been recording on and off all
        week without any issues. I have disabled the use of the DVB-T
        decoder on the card by the simple mean of setting the sourceid
        to 0. This + your fix are what made it work reliably.<br>
      </p>
      <p>     However, it doesn't work after a reboot. I have to run
        dvblast first, kill it, and then when I start the backend mythtv
        is able to use the TBS card fine in DVB-C mode with the CAM+CI
        cards. My humble guess would be that the card isn't initialized
        properly to access the DVB-C decoder/CAM after the reboot. <br>
      </p>
      <p>     I'm including the backend log before and after dvblast in
        case it helps.</p>
      <p>Alain<br>
      </p>
    </blockquote>
    <p>I'm resurrecting this old thread as now that I have upgraded from
      myth-0.31 to Ubuntu 24.04 with myth-0.35, I can no longer use my
      TBS card with the CAM card (un-encrypted channel do work). On
      myth-0.31, I would always run dvblast as per below to get the
      TBS6590 to correctly decode the Swiss channels. But with
      myth-0.35, this trick no longer works.  Now Mythtv is supposed to
      try to use the CAM card to decode by itself, but this hasn't
      worked so far. I've been able to connect to the Myth setup web
      site and reconfigure from scratch the TBS6590 card. Channel scans
      works and I'm getting the EIT, but no further.</p>
    <p>/soft/sources/Unix/dvblast-3.4/dvblast -f 10971000 -s 29700000 -a
      `ls -l /dev/dvb/TBS6590-*/frontend1 | head -1 | perl -pe
      's/.*adapter(\d+).*/\$1/;'` -n 1 -y 0 -5 DVBS2</p>
    <p>  Output from the backend when I try to go to liveTV on one of
      the newly scanned channel.</p>
    <p>2026-01-02T15:43:50.477097+01:00 mytv mythbackend:
      mythbackend[9366]: I ProcessRequest mainserver.cpp:1783
      (HandleAnnounce) MainServer: MainServer::ANN Playback<br>
      2026-01-02T15:43:50.477307+01:00 mytv mythbackend:
      mythbackend[9366]: I ProcessRequest mainserver.cpp:1785
      (HandleAnnounce) MainServer: adding: alinux(64f1a7d30980) as a
      client (events: 0)<br>
      2026-01-02T15:43:50.477366+01:00 mytv mythbackend:
      mythbackend[9366]: I TVRecEvent tv_rec.cpp:1141
      (HandleStateChange) TVRec[25]: Changing from None to
      WatchingLiveTV<br>
      2026-01-02T15:43:50.477407+01:00 mytv mythbackend:
      mythbackend[9366]: I TVRecEvent tv_rec.cpp:3720 (TuningFrequency)
      TVRec[25]: TuningFrequency(Program(NULL) channel(4)
      input(<empty>) flags(LiveTV,))<br>
      2026-01-02T15:43:51.981393+01:00 mytv mythbackend:
      mythbackend[9366]: N CoreContext autoexpire.cpp:247 (CalcParams)
      AutoExpire: CalcParams(): Max required Free Space: 9.0 GB w/freq:
      14 min<br>
      2026-01-02T15:43:51.981500+01:00 mytv mythbackend:
      mythbackend[9366]: N TVRecEvent recordinginfo.cpp:734
      (ApplyRecordRecGroupChange) ApplyRecordRecGroupChange: LiveTV to
      LiveTV (2)<br>
      2026-01-02T15:43:52.782203+01:00 mytv mythbackend:
      mythbackend[9366]: N DVBRead dtvsignalmonitor.cpp:382 (HandlePMT)
      DTVSigMon[25]: PMT says program 17203 is encrypted<br>
      2026-01-02T15:44:06.398649+01:00 mytv mythbackend:
      mythbackend[9366]: E TVRecEvent tv_rec.cpp:4024
      (TuningSignalCheck) TVRec[25]: TuningSignalCheck: Hit pre-fail
      timeout<br>
      2026-01-02T15:44:12.405750+01:00 mytv mythbackend:
      mythbackend[9366]: W TVRecEvent tv_rec.cpp:4052
      (TuningSignalCheck) TVRec[25]: TuningSignalCheck: taking more than
      20000 ms to get a lock. marking this recording as 'Failing'.<br>
      2026-01-02T15:44:12.405930+01:00 mytv mythbackend:
      mythbackend[9366]: W TVRecEvent tv_rec.cpp:4057
      (TuningSignalCheck) TVRec[25]: See 'Tuning timeout' in
      mythtv-setup for this input<br>
    </p>
    <p>  That is all I get from the logs. The channel listing shows that
      it did detect the Swiss satellite channel (below I kept the old
      channels for reference).</p>
    <table role="table" id="pn_id_491-table"
class="p-datatable-table p-datatable-scrollable-table ng-star-inserted">
      <tbody class="p-element p-datatable-tbody">
        <tr _ngcontent-ng-c1755581215="" class="ng-star-inserted">
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"><br>
          </td>
          <td _ngcontent-ng-c1755581215="">4</td>
          <td _ngcontent-ng-c1755581215=""><br>
          </td>
          <td _ngcontent-ng-c1755581215="">RTS 1 HD</td>
          <td _ngcontent-ng-c1755581215="">RTS 1 HD</td>
          <td _ngcontent-ng-c1755581215="">Eutelsat Hot Bird 13B</td>
          <td _ngcontent-ng-c1755581215="">4</td>
          <td _ngcontent-ng-c1755581215="">Visible</td>
          <td _ngcontent-ng-c1755581215="">Y</td>
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"
            style="white-space: nowrap;"><br>
          </td>
        </tr>
      </tbody>
    </table>
    <table role="table" id="pn_id_491-table"
class="p-datatable-table p-datatable-scrollable-table ng-star-inserted">
      <tbody class="p-element p-datatable-tbody">
        <tr _ngcontent-ng-c1755581215="" class="ng-star-inserted">
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"
            style="white-space: nowrap;"><br>
          </td>
        </tr>
        <tr _ngcontent-ng-c1755581215="" class="ng-star-inserted">
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"><img
              _ngcontent-ng-c1755581215="" height="0" width="42"
              style="background-color: #000000;"
src="http://mytv:6544/Guide/GetChannelIcon?Filename=rts_un.jpg"
              class="ng-star-inserted"></td>
          <td _ngcontent-ng-c1755581215="">4</td>
          <td _ngcontent-ng-c1755581215="">34</td>
          <td _ngcontent-ng-c1755581215="">RTS Un</td>
          <td _ngcontent-ng-c1755581215="">RTS Un</td>
          <td _ngcontent-ng-c1755581215="">(Unassigned)</td>
          <td _ngcontent-ng-c1755581215="">21</td>
          <td _ngcontent-ng-c1755581215="">Not Visible</td>
          <td _ngcontent-ng-c1755581215="">N</td>
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"
            style="white-space: nowrap;"><br>
          </td>
        </tr>
      </tbody>
    </table>
    <table role="table" id="pn_id_491-table"
class="p-datatable-table p-datatable-scrollable-table ng-star-inserted">
      <tbody class="p-element p-datatable-tbody">
        <tr _ngcontent-ng-c1755581215="" class="ng-star-inserted">
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"
            style="white-space: nowrap;"><br>
          </td>
        </tr>
        <tr _ngcontent-ng-c1755581215="" class="ng-star-inserted">
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"><img
              _ngcontent-ng-c1755581215="" height="32" width="42"
              class="ng-star-inserted"></td>
          <td _ngcontent-ng-c1755581215="">5</td>
          <td _ngcontent-ng-c1755581215=""><br>
          </td>
          <td _ngcontent-ng-c1755581215="">RTS 2 HD</td>
          <td _ngcontent-ng-c1755581215="">RTS 2 HD</td>
          <td _ngcontent-ng-c1755581215="">Eutelsat Hot Bird 13B</td>
          <td _ngcontent-ng-c1755581215="">3</td>
          <td _ngcontent-ng-c1755581215="">Visible</td>
          <td _ngcontent-ng-c1755581215="">Y</td>
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"
            style="white-space: nowrap;"><br>
          </td>
        </tr>
      </tbody>
    </table>
    <table role="table" id="pn_id_491-table"
class="p-datatable-table p-datatable-scrollable-table ng-star-inserted">
      <tbody class="p-element p-datatable-tbody">
        <tr _ngcontent-ng-c1755581215="" class="ng-star-inserted">
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"
            style="white-space: nowrap;"><br>
          </td>
        </tr>
        <tr _ngcontent-ng-c1755581215="" class="ng-star-inserted">
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"><img
              _ngcontent-ng-c1755581215="" height="0" width="42"
              style="background-color: #000000;"
src="http://mytv:6544/Guide/GetChannelIcon?Filename=rts_deux.jpg"
              class="ng-star-inserted"></td>
          <td _ngcontent-ng-c1755581215="">5</td>
          <td _ngcontent-ng-c1755581215="">34</td>
          <td _ngcontent-ng-c1755581215="">RTS Deux</td>
          <td _ngcontent-ng-c1755581215="">RTS Deux</td>
          <td _ngcontent-ng-c1755581215="">(Unassigned)</td>
          <td _ngcontent-ng-c1755581215="">2</td>
          <td _ngcontent-ng-c1755581215="">Not Visible</td>
          <td _ngcontent-ng-c1755581215="">N</td>
          <td _ngcontent-ng-c1755581215="" class="pt-1 pb-0"
            style="white-space: nowrap;"><br>
          </td>
        </tr>
      </tbody>
    </table>
    <p><br>
    </p>
    <p>I'm not sure what else to provide as information.</p>
    <p>Capture card seen (TurboSight TBS 6590
      DVB-S/S2/S2X/T/T2/C/C2/ISDB-T +), DVB-S2, Signal timeout 7000ms,
      Tuning timeout doubled to 20'000ms. Wait for SEQ start header,
      Open DVB card on demand. DVB tuning delay, 1ms.<br>
      LNB preset to Universal (Europe)</p>
    <p><br>
    </p>
    <p>Regards,</p>
    <p>Alain</p>
    <p><br>
    </p>
    <p><br>
    </p>
    <p><br>
    </p>
  </body>
</html>