TvHeadend + OSCam + HD01 Karte im Rasberry Pi 3+

  • Hallo alle zusammen....
    Nachdem TVHeadend seit monaten stabil läuft und brav an Kodi liefert, kam die überlegung das ganze um ein HDplus Abo zu erweitern.
    Also hab ich mir eine HD01 Karte und eine Easymouse 2 USB beschafft und OSCam kompiliert. Nachdem ich mich aber jetzt ein paar Tage mit der Config rumschlage
    und versuche das die HD01 Karte ordnungsgemäß funktioniert bin ich mittlerweile etwas ratlos.
    Gefühlte 10342 suchen nach Fehlermeldungen bei einer namentlich bekannten Suchmaschine haben mir zwar fortschritte gebracht aber klappen will es trotzdem nicht.

    Deswegen mein stummer Schrei nach Hilfe hier im Forum...

    als Ausgangshardware habe ich:
    -Raspberry Pi3+
    -Easymouse 2 USB direkt am USB Port
    -Sundtek DVB-S2 stick direkt am USB Port
    -freigeschaltete HD01 Karte

    Software:
    -Raspbian
    -TVHeadend 4.2.8-34~g24a2f59e9
    -OSCam r11714 (selbst kompiliert)

    Einstellungen der Schalter an der Easymouse: Unten,Unten,Oben,Oben

    OSCam Log:

    Spoiler anzeigen


    -------------------------------------------------------------------------------
    >> OSCam << cardserver [definition='1','0']log[/definition] switched at Fri Sep 30 11:05:30 2022
    -------------------------------------------------------------------------------
    2022/09/30 11:05:30 00000000 s >> OSCam << cardserver [definition='1','0']log[/definition] switched, version 1.20_svn, build r11714 (arm-linux-gnueabihf)
    2022/09/30 11:05:30 00000000 s (main) System name = Linux
    2022/09/30 11:05:30 00000000 s (main) Host name = TVHeadend
    2022/09/30 11:05:30 00000000 s (main) Release = 5.10.103-v7+
    2022/09/30 11:05:30 00000000 s (main) Version = #1529 SMP Tue Mar 8 12:21:37 GMT 2022
    2022/09/30 11:05:30 00000000 s (main) Machine = armv7l
    2022/09/30 11:05:30 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 11105
    2022/09/30 11:05:30 00000000 s (config) services reloaded: 0 services freed, 1 services loaded, rejected 0
    2022/09/30 11:05:30 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
    2022/09/30 11:05:30 00000000 s (main) signal handling initialized
    2022/09/30 11:05:30 00000000 s (net) newcamd: initialized (fd=5, port=15001)
    2022/09/30 11:05:30 00000000 s (net) -> CAID: 1830 PROVID: 000000, 003411, 008011
    2022/09/30 11:05:30 00000000 s (reader) HDPlus [mouse] creating thread for device /dev/HDPlus
    2022/09/30 11:05:30 00000000 s (main) waiting for local card init
    2022/09/30 11:05:30 74D4BE6B h (webif) webif: decompressed 185147 bytes back into 489292 bytes
    2022/09/30 11:05:30 74D4BE6B h (webif) HTTP Server running. ip=0.0.0.0 port=8888
    2022/09/30 11:05:36 687490EA r (reader) HDPlus [mouse] Reader initialized (device=/dev/HDPlus, detect=cd, mhz=600, cardmhz=368)
    2022/09/30 11:05:37 00000000 s (main) init for all local cards done
    2022/09/30 11:05:37 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
    2022/09/30 11:05:37 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
    2022/09/30 11:05:37 00000000 s (gbox) local gbox failed init
    2022/09/30 11:05:37 7C1553A3 c (client) plain dvbapi-client granted (anonymous, au=off)
    2022/09/30 11:05:37 7C1553A3 c (dvbapi) dvbapi channelcache loaded from /usr/local/etc/oscam.ccache
    2022/09/30 11:05:37 7C1553A3 c (dvbapi) Using TCP listen socket, API forced to DVBAPIv3 (0), userconfig boxtype: 11
    2022/09/30 11:05:48 4475501A r (reader) HDPlus [mouse] card detected
    2022/09/30 11:05:48 687490EA r (reader) HDPlus [mouse] card detected
    2022/09/30 11:06:10 687490EA r (reader) HDPlus [mouse] ATR: 56 00
    2022/09/30 11:06:10 687490EA r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:06:10 687490EA r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:06:20 687490EA r (reader) HDPlus [mouse] ATR: 3F FF 95 3F FF 95 3F FF 3F FF 95 3F FF FF 3F 95 95 FF 95 95 3F 3F FF 95 95 FF 3F 95 3F 3F
    2022/09/30 11:06:20 4475501A r (reader) HDPlus [mouse] ATR: 56 03 00 56 03
    2022/09/30 11:06:20 4475501A r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:06:20 4475501A r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:06:20 687490EA r (reader) HDPlus [mouse] Specific mode: speed 'implicitly defined', not sure how to proceed, assuming default values
    2022/09/30 11:06:20 687490EA r (reader) HDPlus [mouse] Setting baudrate to 16129 bps
    2022/09/30 11:06:20 687490EA r (reader) HDPlus [mouse] ERROR: Parse_ATR returned error
    2022/09/30 11:06:20 687490EA r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:06:26 4475501A r (reader) HDPlus [mouse] ATR: 00 56 03 00 56 03 00 03 00 56
    2022/09/30 11:06:26 4475501A r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:06:26 4475501A r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:06:26 687490EA r (reader) HDPlus [mouse] ATR: 56 03 00 03 00
    2022/09/30 11:06:26 687490EA r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:06:26 687490EA r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:06:26 687490EA r (reader) HDPlus [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max allotted of 1
    2022/09/30 11:06:26 687490EA r (reader) HDPlus [mouse] card initializing error
    2022/09/30 11:12:59 4475501A r (-) -- Skipped 1 duplicated [definition='1','0']log[/definition] lines --
    2022/09/30 11:12:59 4475501A r (reader) HDPlus [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max allotted of 1
    2022/09/30 11:12:59 4475501A r (reader) HDPlus [mouse] card initializing error
    2022/09/30 11:16:53 687490EA r (reader) HDPlus [mouse] card detected
    2022/09/30 11:16:54 4475501A r (reader) HDPlus [mouse] card detected
    2022/09/30 11:17:10 687490EA r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:17:31 4475501A r (reader) HDPlus [mouse] ATR: 56 03 00 56 03
    2022/09/30 11:17:31 4475501A r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:17:31 4475501A r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:17:46 4475501A r (-) -- Skipped 1 duplicated [definition='1','0']log[/definition] lines --
    2022/09/30 11:17:46 4475501A r (reader) HDPlus [mouse] ATR: 00 F0 FD F1 F0 FD F1 F0 FD F1 F0 56 00 56 03 03 56
    2022/09/30 11:17:46 4475501A r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:17:46 4475501A r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:17:46 4475501A r (reader) HDPlus [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max allotted of 1
    2022/09/30 11:17:46 4475501A r (reader) HDPlus [mouse] card initializing error
    2022/09/30 11:18:09 74D4BE6B h (-) -- Skipped 1 duplicated [definition='1','0']log[/definition] lines --
    2022/09/30 11:18:09 74D4BE6B h (webif) Restart requested by WebIF from 192.168.0.40
    2022/09/30 11:18:09 74D4BE6B h (main) restart oscam requested
    2022/09/30 11:18:10 74D4BE6B h (webif) HTTP Server stopped
    2022/09/30 11:18:10 00000000 s (dvbapi) dvbapi channelcache saved to /usr/local/etc/oscam.ccache
    2022/09/30 11:18:10 00000000 s (emmcache) saved 0 emmcache records to /tmp/.oscam/oscam.emmcache in 0 ms
    2022/09/30 11:18:10 00000000 s (emmcache) saved 0 emmstat records to /tmp/.oscam/oscam.emmstat in 0 ms
    2022/09/30 11:18:10 00000000 s (client) killing client
    2022/09/30 11:18:10 00000000 s (reader) HDPlus [mouse] Killing reader
    2022/09/30 11:18:10 00000000 s (config) userdb 2 accounts freed
    2022/09/30 11:18:10 00000000 s (config) readerdb 1 readers freed
    2022/09/30 11:18:10 00000000 s (main) cardserver down


    -------------------------------------------------------------------------------
    >> OSCam << cardserver [definition='1','0']log[/definition] switched at Fri Sep 30 11:18:10 2022
    -------------------------------------------------------------------------------
    2022/09/30 11:18:10 00000000 s >> OSCam << cardserver [definition='1','0']log[/definition] switched, version 1.20_svn, build r11714 (arm-linux-gnueabihf)
    2022/09/30 11:18:10 00000000 s (main) System name = Linux
    2022/09/30 11:18:10 00000000 s (main) Host name = TVHeadend
    2022/09/30 11:18:10 00000000 s (main) Release = 5.10.103-v7+
    2022/09/30 11:18:10 00000000 s (main) Version = #1529 SMP Tue Mar 8 12:21:37 GMT 2022
    2022/09/30 11:18:10 00000000 s (main) Machine = armv7l
    2022/09/30 11:18:10 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 13436
    2022/09/30 11:18:10 00000000 s (config) services reloaded: 0 services freed, 1 services loaded, rejected 0
    2022/09/30 11:18:10 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
    2022/09/30 11:18:10 00000000 s (main) signal handling initialized
    2022/09/30 11:18:10 00000000 s (net) newcamd: initialized (fd=5, port=15001)
    2022/09/30 11:18:10 00000000 s (net) -> CAID: 1830 PROVID: 000000, 003411, 008011
    2022/09/30 11:18:10 00000000 s (reader) HDPlus [mouse] creating thread for device /dev/HDPlus
    2022/09/30 11:18:10 00000000 s (main) waiting for local card init
    2022/09/30 11:18:10 74D4BE6B h (webif) webif: decompressed 185147 bytes back into 489292 bytes
    2022/09/30 11:18:10 74D4BE6B h (webif) HTTP Server running. ip=0.0.0.0 port=8888
    2022/09/30 11:18:36 687490EA r (reader) HDPlus [mouse] Reader initialized (device=/dev/HDPlus, detect=cd, mhz=600, cardmhz=368)
    2022/09/30 11:18:37 00000000 s (main) init for all local cards done
    2022/09/30 11:18:37 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
    2022/09/30 11:18:37 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
    2022/09/30 11:18:37 00000000 s (gbox) local gbox failed init
    2022/09/30 11:18:37 7C1553A3 c (client) plain dvbapi-client granted (anonymous, au=off)
    2022/09/30 11:18:37 7C1553A3 c (dvbapi) dvbapi channelcache loaded from /usr/local/etc/oscam.ccache
    2022/09/30 11:18:37 7C1553A3 c (dvbapi) Using TCP listen socket, API forced to DVBAPIv3 (0), userconfig boxtype: 11
    2022/09/30 11:18:38 4475501A r (reader) HDPlus [mouse] card detected
    2022/09/30 11:18:38 687490EA r (reader) HDPlus [mouse] card detected
    2022/09/30 11:18:39 4475501A r (reader) HDPlus [mouse] ATR: 56 03 56 03 56
    2022/09/30 11:18:39 4475501A r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:18:39 4475501A r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:18:47 687490EA r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:18:51 687490EA r (reader) HDPlus [mouse] ATR: 56 03 00 56 00
    2022/09/30 11:18:51 687490EA r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:18:51 687490EA r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:18:53 4475501A r (reader) HDPlus [mouse] ATR: 56 03 00 56 03
    2022/09/30 11:18:53 4475501A r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:18:53 4475501A r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:18:53 687490EA r (reader) HDPlus [mouse] ATR: 00 56 03 56 03 56 03 03 56 56
    2022/09/30 11:18:53 687490EA r (reader) HDPlus [mouse] ERROR: Could not read reader->convention
    2022/09/30 11:18:53 687490EA r (reader) HDPlus [mouse] Error activating card.
    2022/09/30 11:18:53 687490EA r (reader) HDPlus [mouse] THIS WAS A FAILED START ATTEMPT No 1 out of max allotted of 1
    2022/09/30 11:18:53 687490EA r (reader) HDPlus [mouse] card initializing error

    OSCam.version

    Spoiler anzeigen


    Unix starttime: 1664529490
    Starttime: 30.09.2022 11:18:10
    Version: oscam-1.20_svn-r11714
    Compiler: arm-linux-gnueabihf
    Box type: generic (generic)
    PID: 480
    TempDir: /tmp/.oscam
    GBox tmp_dir: not defined using: /tmp/.oscam
    ConfigDir: /usr/local/etc/
    WebifPort: 8888


    Web interface support: yes
    LiveLog support: yes
    jQuery support intern: yes
    Touch interface support: no
    SSL support: no
    DVB API support: yes
    DVB API with AZBOX support: no
    DVB API with MCA support: no
    DVB API with COOLAPI support: no
    DVB API with COOLAPI2 support: no
    DVB API with STAPI support: no
    DVB API with STAPI5 support: no
    DVB API with NEUTRINO support: no
    DVB API read-sdt charsets: yes
    Irdeto guessing: yes
    Anti-cascading support: no
    [definition=12,4][definition='1','3']Debug[/definition][/definition] mode: yes
    Monitor: yes
    Loadbalancing support: yes
    Cache exchange support: no
    Cache exchange AIO support: no
    CW Cycle Check support: no
    LCD support: no
    LED support: no
    Clockfix with realtime clock: no
    IPv6 support: no


    camd 3.3x: no
    camd 3.5 UDP: yes
    camd 3.5 TCP: yes
    newcamd: yes
    CCcam: yes
    CCcam share: yes
    gbox: yes
    radegast: no
    scam: yes
    serial: no
    constant CW: no
    Pandora: no
    ghttp: no


    Reader support: yes


    Nagra: yes
    Nagra Merlin: yes
    Irdeto: yes
    Conax: yes
    Cryptoworks: yes
    Seca: yes
    Viaccess: yes
    NDS Videoguard: yes
    DRE Crypt: yes
    TONGFANG: yes
    Bulcrypt: yes
    Griffin: yes
    DGCrypt: yes


    cardreader_phoenix: yes
    cardreader_drecas: no
    cardreader_internal_azbox: no
    cardreader_internal_coolapi: no
    cardreader_internal_coolapi2: no
    cardreader_internal_sci: yes
    cardreader_sc8in1: no
    cardreader_mp35: no
    cardreader_smargo: no
    cardreader_pcsc: yes
    cardreader_smartreader: yes
    cardreader_db2com: no
    cardreader_stapi: no
    cardreader_stapi5: no
    cardreader_stinger: yes

    OSCam.conf

    Spoiler anzeigen


    [global]
    logfile = stdout
    WaitForCards = 1
    preferlocalcards = 1
    logfile = /tmp/oscam.[definition='1','0']log[/definition];stdout
    maxlogsize = 256


    [newcamd]
    port = 15001@1830:000000,003411,008011
    key = 0102030405060708091011121314
    keepalive = 1


    [dvbapi]
    enabled = 1
    au = 1
    #pmt_mode = 4
    request_mode = 1
    listen_port = 9900
    user = tvheadend
    boxtype = pc


    [webif]
    httpport = 8888
    httpallowed = 127.0.0.1,192.168.0.0-192.168.255.255

    OSCam.user

    Spoiler anzeigen


    [account]
    user = Benutzer1 (geändert)
    pwd = Passwort1 (geändert)
    au = HDPlus
    group = 1
    services = HDplus
    cccmaxhops = 4
    cccreshare = 10


    [account]
    user = DVBApi
    au = HDPlus
    group = 1
    services = HDplus
    cccmaxhops = 4
    cccreshare = 10

    OSCam.server

    Spoiler anzeigen


    [reader]
    label = HDPlus
    #description = HD01 Karte
    protocol = mouse
    device = /dev/HDPlus
    mhz = 600
    cardmhz = 368
    caid = 1830
    boxkey = ******
    rsakey = ******
    #readtiers = 2
    ecmwhitelist = 1830:92
    ecmheaderwhitelist = 1830:80308F078D,81308F078D
    detect = cd
    group = 1
    emmcache = 1,1,2

    oscam.services

    Spoiler anzeigen


    [HDplus]
    caid = 1830
    provid = 000000,003411,008011
    srvid = EF10,EF11,EF14,1581,EF15,EF74,EF75,EF76,EF77,5273,5274,1519,277E,2E9B,151A,157F,EF78,157C,2774,2EAF,2777,30D4

    Vielleicht sieht jemand auf Anhieb warum die Karte nicht akzeptiert wird oder kann mir dabei helfen das Problem zu lösen.
    Ich bin ratlos mittlerweile...


    Grüße

  • Im oscam.server steht für die Easymouse ein device=/dev/HDPlus. Das gibt es so nicht, es sei denn Du hast es per udev Rule geändert. In der Regel ist es /dev/ttyUSBx, wobei x für jeweiligen USB-Port steht (0 - n-1).

    Mach' mal auf der Konsole ein ls /dev/ttyUSB* und schau mal, ob das Device verschwindet/erscheint, wenn Du die Mouse abziehst/ansteckst. Dieses Device dann in der oscam.server eintragen.

    AZi (DEV): Nexus auf LibreElec | Asrock J4205 | 4 GB RAM | 128 GB Sandisk| Rii mini
    DEV: PC Ubuntu 20.04 | Matrix
    AZi: Tanix TX3 | Android/CoreElec Dualboot (EMMC), Nexus
    WoZi: Nexus auf LibreElec | Asrock J4205 | 4GB RAM | 128 GB Sandisk SSD | Atric IR | URC7960

    NAS: unRaid, 3x6TB, 2x12TB | TV-Server: Futro S550 mit Hauppauge QuadHD DVB-C
    PayPal: paypal.me/pvdbj1

  • Stimmt, das habe ich vergessen zu erwähnen...

    /dev/ttyUSB0 wurde in /etc/udev/rules.d/10-usbadapter.rules eingetragen

    Code
    SUBSYSTEMS=="usb", KERNEL=="ttyUSB*", ATTRS{serial}=="AD02BIPI", SYMLINK+="HDPlus"

    Edit:
    der Reader wird ja erkannt, sonst würde kein ATR von der Karte im Log erscheinen ;)

    grüße

    Einmal editiert, zuletzt von Puschl (30. September 2022 um 16:27)

  • Dann taucht auch eine HDPlus auf, wenn Du ein ls /dev machst?

    Wenn ja, im oscam.server:

    Code
    mhz = 357
    cardmhz = 357

    Schalter an der easymouse: unten, unten, unten, egal

    AZi (DEV): Nexus auf LibreElec | Asrock J4205 | 4 GB RAM | 128 GB Sandisk| Rii mini
    DEV: PC Ubuntu 20.04 | Matrix
    AZi: Tanix TX3 | Android/CoreElec Dualboot (EMMC), Nexus
    WoZi: Nexus auf LibreElec | Asrock J4205 | 4GB RAM | 128 GB Sandisk SSD | Atric IR | URC7960

    NAS: unRaid, 3x6TB, 2x12TB | TV-Server: Futro S550 mit Hauppauge QuadHD DVB-C
    PayPal: paypal.me/pvdbj1

    3 Mal editiert, zuletzt von PvD (30. September 2022 um 16:34)

  • hier die live logs beider Settings:

    mhz=357/cardmhz=357:


    mhz=368/cardmhz=368:

    Schalter bei beiden unten,unten,unten,egal, mit unten,unten,oben,6MHz hats bei dem 368er versuch gar kein lebenszeichen von der karte gegeben. Aber bei 368 tut sich ein wenig mehr, wobei das ATR auch nicht so richtig aussieht (oder täusche ich mich da?)

    Edit:
    hier nochmal zum vergleich das Live-Log mit mhz=600 / cardmhz=368

    Grüße

    Einmal editiert, zuletzt von Puschl (30. September 2022 um 18:09)

  • Interessant, denn der Cardreader benötigt normalerweise nicht so viel Strom...

    AZi (DEV): Nexus auf LibreElec | Asrock J4205 | 4 GB RAM | 128 GB Sandisk| Rii mini
    DEV: PC Ubuntu 20.04 | Matrix
    AZi: Tanix TX3 | Android/CoreElec Dualboot (EMMC), Nexus
    WoZi: Nexus auf LibreElec | Asrock J4205 | 4GB RAM | 128 GB Sandisk SSD | Atric IR | URC7960

    NAS: unRaid, 3x6TB, 2x12TB | TV-Server: Futro S550 mit Hauppauge QuadHD DVB-C
    PayPal: paypal.me/pvdbj1

  • Finde ich auch komisch da der Sundtek stick auch extern mit Strom beatmet wird.
    vergessen zu erwähnen habe ich das 0.9" Display. Aber so richtig vorstellen kann ich mir nicht das es viel Strom über den GPIO zieht. vielleicht 20-30mA....

    Aber hauptsache jetzt läuft das Setup, alles ist irgendwie unsichtbar in einem gehäuse von ner toten 800er Dreambox verstaut :D

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!