[HELP] OSCam dvbapi — NTVplus channels stop working after standby / GUI restart — openATV 7.6.0 — GigaBlue UHD Quad 4K Pro (BCM7252S)

  • Setup:

    - Box: GigaBlue UHD Quad 4K Pro (BCM7252S, ARMv7 Cortex-A15, rev1)

    - Firmware: openATV 7.6.0 (build 20260717)

    - OSCam: 2.26.06-11965-803 (Levi45 build, arm-vuplus4k-linux-gnueabihf-ssl-libusb-libdvbcsa)

    - Provider: NTVplus via newcamd (CAID 0500, ProvID 060A00)


    ---

    Problem:


    After standby or Enigma2 GUI restart, NTVplus channels stop decrypting. Restarting OSCam alone does not fix it — channels stay black. Only a full receiver reboot restores them, but after the next standby the problem returns.


    ---

    What we found with different pmt_mode values:


    pmt_mode = 4 / pmt_mode = 0:

    - Works ONLY on first boot. OSCam creates /tmp/camd.socket (server mode), Enigma2 connects to it on first boot only.

    - After standby or GUI restart: Enigma2 does NOT reconnect to /tmp/camd.socket → deadlock.

    - Both sockets end up in LISTENING state (no active connection):

    /proc/net/unix:

    0001 01 /tmp/.listen.camd.socket ← Enigma2 server, LISTENING

    0001 01 /tmp/camd.socket ← OSCam server, LISTENING


    pmt_mode = 6:

    - OSCam successfully connects to /tmp/.listen.camd.socket.

    - Log shows:

    (dvbapi) PMT mode 6: Connecting to enigma CA PMT listen socket...

    (dvbapi) PMT mode 6: Successfully connected to CA PMT server (fd 13)

    (dvbapi) Client connected: 'Enigma2' (protocol version = 3)

    - Socket shows CONNECTED pair (state 03) — connection exists.

    - BUT: Enigma2 sends NO ECM/PMT at all after channel switch. Log is completely silent. No ECM requests appear even when switching to encrypted NTVplus channels. This mode never works.


    ---

    oscam.conf:

    [global]

    logfile = /tmp/oscam.log

    clienttimeout = 12000

    fallbacktimeout = 3000

    clientmaxidle = 240

    bindwait = 60

    netprio = 1

    nice = -1

    maxlogsize = 1024

    waitforcards = 0

    waitforcards_extra_delay = 200

    preferlocalcards = 1

    block_same_ip = 0

    block_same_name = 0

    lb_min_ecmcount = 10

    lb_max_ecmcount = 800

    disablecrccws = 1


    [cache]

    max_time = 15


    [newcamd]

    port = 12121@

    key = 0102030405060708091011121314


    [streamrelay]

    stream_relay_enabled = 1

    stream_relay_buffer_time = 1

    stream_emm_enabled = 1

    stream_ecm_delay = 5

    stream_relay_ctab = 098D,0960,0961,0963,0919,093B,09CD


    [dvbapi]

    enabled = 1

    au = 1

    pmt_mode = 0

    boxtype = dreambox

    request_mode = 1

    delayer = 60

    user = Levi45

    read_sdt = 1

    write_sdt_prov = 1

    extended_cw_api = 1

    demuxer_fix = 1


    [webif]

    httpport = 8888

    httpuser = root

    httprefresh = 30

    httpallowed = 192.168.0.0-192.168.255.255,127.0.0.1


    oscam.server (NTVplus reader only — other readers are disabled):

    [reader]

    label = NTVplus

    protocol = newcamd

    device = server.host,4001

    key = 0102030405060708091011121314

    user = xxxxxxx

    password = xxxxxxx

    ident = 0500:060A00

    caid = 0500

    group = 1

    connectoninit = 1

    reconnecttimeout = 20

    reconnectdelay = 5000

    disablecrccws = 1

    dontcorrectcwchecksum = 1


    oscam.dvbapi: only the 4-line Levi45 header, no I:/P: or S:/ lines.


    oscam.user:

    [account]

    user = Levi45

    pwd = Levi45

    monlevel = 4

    au = 1

    group = 1,2,3,4,5,6,7,8,9,10,64


    Enigma2 settings:

    config.misc.autocamDefault=OSCam_11965-803

    config.misc.autocamEnabled=False

    config.misc.softcams=OSCam_11965-803

    AutoCam is disabled. OSCam is started via /etc/rc.local (waits for .listen.camd.socket to appear, then starts OSCam).


    init script (/etc/init.d/softcam):

    start)

    ulimit -s 1024

    /usr/bin/OSCam_11965-803 --wait 60 --config-dir /etc/tuxbox/config --daemon --pidfile /tmp/oscam.pid

    No --restart 2 flag.


    ---

    Questions:

    1. Why does pmt_mode=6 establish a connection (protocol version = 3) but Enigma2 sends zero ECM/PMT data — even after switching channels?

    2. What is the correct pmt_mode and [dvbapi] config for openATV 7.6 on GigaBlue (BCM7252S) so that channels work after standby/GUI restart without a full reboot?

    3. Is boxtype = dreambox correct for this box, or should it be something else?

  • master G

    Approved the thread.

Your resource for OSCam softcam

Find configs, downloads, tutorials, and support for setting up and optimizing this open-source card server with wide protocol compatibility. Master the versatile OSCam softcam. Access support, configs, tutorials, and downloads for open-source card sharing and multi-protocol server management.