Oscam configuration with two local cards

There are 7 replies in this Thread which was already clicked 5,895 times. The last Post () by wijs.

  • Dear all,
    this is my first post.
    I spent 3 full days with the "search" feature looking for help and reading on how to post on this board. Apologies in advance if I missed something.
    Straight to the point, my configuration is the following:
    Vu+ Solo2 with BH 3.0.1F (build: 2016-01-19-master)
    I have legally purchased and activated two cards, namely TVVlanderen and TivuSat. I do have both CI modules, but given that the Solo2 has only one CI slot, I need a softcam. My wish is to have both cards working without CI module. Also, my wish is to have the cleanest possible solution (no various softcams, no card resharing, no remote cards, no c- f- n- lines...)


    That said, I tried so install several versions of Oscam (with and without dvbapi) and cccam but without success. I found really difficult find my way in so many parameters and files... :(
    Now, I have installed OSCam: 1.20-unstable_svn Build: r11211 Compiler: mipsel-unknown-linux-gnu and CCcam 2.1.3 (my installation file is Oscam11211+CCcam213_E2_bh). BTW, I can't install the ipk file that I find here: http://linuxsat-support.com/showthread.php?t=8913
    Here are my present config files:


    ***CCcam.cfg
    READER PATH : /dev/sci0
    SMARTCARD CLOCK FREQUENCY: /dev/sci0 6000000
    TRY ALL CHIDS : /dev/sci0
    SID LIMIT: /dev/sci0 4 10
    READER PATH : /dev/sci1
    SMARTCARD CLOCK FREQUENCY: /dev/sci1 6000000
    TRY ALL CHIDS : /dev/sci1
    SID LIMIT: /dev/sci1 4 10
    N: 127.0.0.1 50001 CCcam919 CCcam919Passw 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    N: 127.0.0.1 50000 CCcam93B CCcam93BPassw 01 02 03 04 05 06 07 08 09 10 11 12 13 14 256
    PROVIDERINFO FILE : /var/etc/CCcam.providers # BTW, this file doesn't exist but I have Bhepgproviders.cfg
    CHANNELINFO FILE : /var/etc/CCcam.channelinfo


    ***CCcam.prio
    P: 183D:000000 # TivuSat 13° East
    P: 0100:00006C:6FFF #"TV Vlaanderen - MTV Music 24"
    [and so on until]
    P: 0100:00006C:02DC #"TV Vlaanderen - Brava HDTV"


    ***oscam.conf
    [global]
    logfile = /dev/null
    nice = -1
    preferlocalcards = 1
    [webif]
    httpport = 8888
    httprefresh = 5
    httppollrefresh = 30
    httphideidleclients = 0
    httpallowed = 127.0.0.1,192.168.178.0-192.168.178.255


    ***oscam.dvbapi
    P: 183D 1 #Tivusat


    ***oscam.server
    [reader]
    label = TVV
    description = TVV
    protocol = internal
    device = /dev/sci0
    autospeed = 0
    caid = 0100
    detect = cd
    mhz = 600
    cardmhz = 2700
    ident = 0100:00006C
    group = 1
    emmcache = 1,3,2,0
    [reader]
    label = tivusat
    protocol = internal
    device = /dev/sci1
    caid = 183D
    detect = cd
    mhz = 368
    cardmhz = 368
    ident = 183D:000000,005411
    group = 1
    emmcache = 1,3,2
    auprovid = 005411


    ***oscam.user
    [account]
    user = linuxsat
    pwd = support
    monlevel = 0
    uniq = 0
    group = 1
    caid = 0100
    ident = 0100:00006C
    au = TVV
    [account]
    user = dvbapi
    pwd =
    group = 1
    au = tivusat
    suppresscmd08 = 1


    My problem is that I don't see any channels nor from TVVlaanderen, nor from Tivusat. Any help would be appreciated. Let me know if you need other infos.


    Here below the log file of oscam:
    2016/03/04 15:34:41 00000000 s (main) System name = Linux
    2016/03/04 15:34:41 00000000 s (main) Host name = vusolo2
    2016/03/04 15:34:41 00000000 s (main) Release = 3.13.5
    2016/03/04 15:34:41 00000000 s (main) Version = #1 SMP Fri Dec 4 18:21:07 CET 2015
    2016/03/04 15:34:41 00000000 s (main) Machine = mips
    2016/03/04 15:34:41 00000000 s (main) Stb model = dm8000
    2016/03/04 15:34:41 00000000 s (main) Stb vumodel = vusolo2
    2016/03/04 15:34:41 00000000 s (main) Stb boxtype = vusolo2
    2016/03/04 15:34:41 00000000 s (main) creating pidfile /tmp/.oscam/oscam.pid with pid 7039
    2016/03/04 15:34:41 00000000 s (config) services reloaded: 0 services freed, 0 services loaded, rejected 0
    2016/03/04 15:34:41 00000000 s (config) userdb reloaded: 2 accounts loaded, 0 expired, 0 disabled
    2016/03/04 15:34:41 00000000 s (main) signal handling initialized
    2016/03/04 15:34:41 00000000 s (config) 1000 provid's loaded
    2016/03/04 15:34:41 00000000 s (config) 1537 service-id's loaded in 11 ms
    2016/03/04 15:34:41 00000000 s (config) 37 tier-id's loaded
    2016/03/04 15:34:41 00000000 s (config) 8198 entries read from oscam.whitelist
    2016/03/04 15:34:41 00000000 s (reader) TVV [internal] creating thread for device /dev/sci0
    2016/03/04 15:34:41 00000000 s (reader) tivusat [internal] creating thread for device /dev/sci1
    2016/03/04 15:34:41 00000000 s (stat) loadbalancer: could not open /tmp/.oscam/stat for reading (errno=2 No such file or directory)
    2016/03/04 15:34:41 00000000 s (main) waiting for local card init
    2016/03/04 15:34:41 4B7F9BE5 r (reader) tivusat [internal] Reader initialized (device=/dev/sci1, detect=cd, pll max=27.00 MHz, wanted mhz=4.50 MHz)
    2016/03/04 15:34:41 4B7F9BE5 r (reader) tivusat [internal] Reader sci internal, detected box type: vusolo2
    2016/03/04 15:34:41 4068A586 r (reader) TVV [internal] Reader initialized (device=/dev/sci0, detect=cd, pll max=27.00 MHz, wanted mhz=4.50 MHz)
    2016/03/04 15:34:41 4068A586 r (reader) TVV [internal] Reader sci internal, detected box type: vusolo2
    2016/03/04 15:34:41 2CCA393F h (webif) webif: decompressed 164727 bytes back into 393004 bytes
    2016/03/04 15:34:41 2CCA393F h (webif) HTTP Server running. ip=0.0.0.0 port=8888
    2016/03/04 15:34:42 4068A586 r (reader) TVV [internal] card detected
    2016/03/04 15:34:42 4B7F9BE5 r (reader) tivusat [internal] card detected
    2016/03/04 15:34:43 4B7F9BE5 r (reader) tivusat [internal] ATR: 3F FF 95 00 FF 91 81 71 FE 47 00 54 49 47 45 52 36 30 31 20 52 65 76 4D 38 37 14
    2016/03/04 15:34:43 4B7F9BE5 r (reader) tivusat [internal] Init card protocol T1, FI=9, F=512, D=16, N=255
    2016/03/04 15:34:43 4B7F9BE5 r (reader) tivusat [internal] Calculated work ETU is 7.11 us reader mhz = 450
    2016/03/04 15:34:44 4068A586 r (reader) TVV [internal] ATR: 3B F7 11 00 01 40 96 70 70 0A 0E 6C B6 D6
    2016/03/04 15:34:44 4068A586 r (reader) TVV [internal] Init card protocol T0, FI=1, F=372, D=1, N=1
    2016/03/04 15:34:44 4068A586 r (reader) TVV [internal] Calculated work ETU is 82.67 us reader mhz = 450
    2016/03/04 15:34:44 4068A586 r (reader) TVV [internal] PLL Reader: ATR Fsmax is 5 MHz, clocking card to 4.50 Mhz (nearest possible mhz specified reader->mhz)
    2016/03/04 15:34:45 4068A586 r (reader) TVV [internal] detect seca/nagra tunneled card
    2016/03/04 15:34:47 4B7F9BE5 r (reader) tivusat [internal] Buffers readed 0 bytes total time_us 4607107
    2016/03/04 15:34:48 4068A586 r (reader) TVV [internal] Nagra layer found
    2016/03/04 15:34:48 4068A586 r (reader) TVV [internal] Rom revision: DNASP400 RevI4A
    2016/03/04 15:34:48 4B7F9BE5 r (reader) tivusat [internal] PLL Reader: ATR Fsmax is 5 MHz, clocking card to 4.50 Mhz (nearest possible mhz specified reader->mhz)
    2016/03/04 15:34:49 4B7F9BE5 r (reader) tivusat [internal] Card responded ok for ifsd request of 251
    2016/03/04 15:34:49 4068A586 r (reader) TVV [internal] type: SECA, caid: 0100, serial: #########, card: Mediaguard v10.0
    2016/03/04 15:34:49 4068A586 r (reader) TVV [internal] Maturity level [F]=no age limit
    2016/03/04 15:34:49 4068A586 r (reader) TVV [internal] found card system seca
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max alloted of 1
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] Request provider 1
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] provider 1: 0000, valid: 1, name: MANAGEMENT, expiry date: 2016/04/29
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] SA: ########
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] PBM for provider 1: 799008201c000
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] Request provider 2
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] provider 2: 006C, valid: 1, name: TV VLAANDEREN, expiry date: 2016/04/29
    2016/03/04 15:34:49 4068A586 r (reader) TVV [seca] SA: ########
    2016/03/04 15:34:50 4068A586 r (reader) TVV [seca] PBM for provider 2: 8400000000000000
    2016/03/04 15:34:50 4B7F9BE5 r (reader) tivusat [internal] detect nagra tiger card
    2016/03/04 15:34:50 4B7F9BE5 r (reader) tivusat [internal] card system not supported
    2016/03/04 15:34:50 4B7F9BE5 r (reader) tivusat [internal] Normal mode failed, reverting to Deprecated Mode
    2016/03/04 15:34:51 4B7F9BE5 r (reader) tivusat [internal] ATR: 3F <should I post this code???> 14
    2016/03/04 15:34:51 4B7F9BE5 r (reader) tivusat [internal] Init card protocol T1, FI=9, F=512, D=16, N=255
    2016/03/04 15:34:51 4B7F9BE5 r (reader) tivusat [internal] Calculated work ETU is 82.67 us reader mhz = 450
    2016/03/04 15:34:54 4B7F9BE5 r (reader) tivusat [internal] Buffers readed 0 bytes total time_us 3099487
    2016/03/04 15:34:55 4B7F9BE5 r (reader) tivusat [internal] PLL Reader: ATR Fsmax is 5 MHz, clocking card to 4.50 Mhz (nearest possible mhz specified reader->mhz)
    2016/03/04 15:34:58 4B7F9BE5 r (reader) tivusat [internal] Warning: Card returned error on setting ifsd value to 251
    2016/03/04 15:34:59 4B7F9BE5 r (reader) tivusat [internal] detect nagra tiger card
    2016/03/04 15:35:02 4B7F9BE5 r (reader) tivusat [internal] Resync error: readtimeouts 0/0 (max/min) us, writetimeouts 0/0 (max/min) us
    2016/03/04 15:35:06 4B7F9BE5 r (reader) tivusat [internal] T1 Resync command error, trying to reactivate!
    2016/03/04 15:35:06 4B7F9BE5 r (reader) tivusat [internal] ATR: 3F <should I post this code???> 14
    2016/03/04 15:35:06 4B7F9BE5 r (reader) tivusat [internal] Init card protocol T1, FI=9, F=512, D=16, N=255
    2016/03/04 15:35:06 4B7F9BE5 r (reader) tivusat [internal] Calculated work ETU is 7.11 us reader mhz = 450
    2016/03/04 15:35:10 4B7F9BE5 r (reader) tivusat [internal] Buffers readed 0 bytes total time_us 3099958
    2016/03/04 15:35:10 4B7F9BE5 r (reader) tivusat [internal] PLL Reader: ATR Fsmax is 5 MHz, clocking card to 4.50 Mhz (nearest possible mhz specified reader->mhz)
    2016/03/04 15:35:10 4B7F9BE5 r (reader) tivusat [internal] Card responded ok for ifsd request of 251
    2016/03/04 15:35:10 4B7F9BE5 r (reader) tivusat [internal] card system not supported
    2016/03/04 15:35:10 4B7F9BE5 r (reader) tivusat [internal] THIS WAS A FAILED START ATTEMPT No 1 out of max alloted of 1
    2016/03/04 15:35:10 4B7F9BE5 r (reader) tivusat [internal] card initializing error
    2016/03/04 15:35:11 00000000 s (main) init for all local cards done
    2016/03/04 15:35:11 00000000 s (emmcache) loaded 0 emmcache records from /tmp/.oscam/oscam.emmcache in 0 ms
    2016/03/04 15:35:11 00000000 s (emmcache) loaded 0 emmstat records from /tmp/.oscam/oscam.emmstat in 0 ms
    2016/03/04 15:35:11 00000000 s (anticasc) anti cascading disabled

  • first thing i noticed is tha both cards are set as group 1 each card would need to have their own group.
    I would go oscam only wich would run better on black hole
    Plus you have n: lines set up in cccam.cfg but not in your oscam active no newcamd protocol active in oscam config.
    if you install ts panel on your box from there you could install oscam/cccam213 with config for TTV and you will need the key to open motorstv+mezzotv HD
    When you see the configs on that you will understand better how to set up other card.

  • Thank you very much Thijss for your advice.


    From what I understand, I'll need both oscam and cccam, isn't it? I thought that Oscam (with dvbapi) could have been enough...


    Anyway, I've installed TSpanel (enigma2-plugin-extensions-tspanel_7.5_all.ipk), look into Softcams menu and try to install oscam/cccam213 as you mentioned. Unfortunately I get an error.


    Any idea why?

  • try the one in the linuxsat support addons install the oscam /cccam213 for blackhole and then the oscam/cccam configs for ttv
    i know that tvv opens fine with just cccam 230 just the 2 channels mentioned before don't, but i have no experience with your other card.
    just oscam with dvbapi should work too but you would need the right configs .
    MasterG would be the main expert for the right configs .


    - - - Updated - - -


    did you have a look here will help you understand a bit better what configs should look like
    http://linuxsat-support.com/sh…2651&viewfull=1#post32651

  • Hi there.
    I knew that link but it seems I didn't have a look at it deeply enough.
    I've changed my config files like in attachment.


    Now, I can see TVV channels with the smartcard in the slot (Yuppi!!!!) :) , but I still no luck with Tivusat.


    I'll try something else in the following days and I'll keep you posted.
    Meanwhile any advice (to fix my tivusat or to improve the TVV config) is more than welcome!


    Cheers!

  • Hi,


    I have a gigablue quad plus with an official TVV and an official CD card and I use OSCAM ONLY. Both cards are working fine, only problem, when recording a lot (6 recordings) simultaneously, OSCAM (or de cards, not clear yet) get stuck and no image anymore and restarting oscam ( from the webif ) solves it ( sometimes a second restart is needed ). Anyway why are you working with cccam ?


    cheers!

  • Dear wijs,
    let's put some perspective... two month ago I didn't even know about the existence of a linux-base STB and know I'm "playing" with the softcams.
    It's a matter of learning :) And with a small baby home, not a lot of time to dedicate to this.


    Why do I work with cccam? Because, for now, it's the only way to make things works. Once I polish all my configuration files (and saved them!), then my idea is to go for Oscam only (to be more precise oscam+dvbapi).


    Have a great day

  • Hi dragoshenron,


    maybe this presentation on youtube may help (it is in dutch). It only shows how to setup oscam with the use of one (CD) card, but adding the second is easy. It did help me getting started with oscam after using cccam for some time but cccam crashed very often and as this is the only source of watching TV for my family, it should be stable. Google is your friend in tuning.
    https://www.youtube.com/watch?v=6ClmF_H2or4
    Hope this helps.


    Cheers.

OSCam Support Forum

Configs, discussion, downloads and guides for OSCam Softcam.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!