I cannot make OScam and CCcam work on the same machine
CCcam works fine for local tuner, I have the correct keys
Below the output of oscam
Code
2012/08/19 16:53:00 552E70 p connecting to dreambox on 192.168.1.2:12000
2012/08/19 16:53:00 552E70 p 192.168.1.2: resolved ip=192.168.1.2
2012/08/19 16:53:00 552E70 p socket open for cccam fd=12
2012/08/19 16:53:00 552E70 p connect succesfull cccam fd=12
2012/08/19 16:53:00 552E70 p proxy dreambox initialized (server=192.168.1.2:12000)
2012/08/19 16:53:03 0 s init for all local cards done
2012/08/19 16:53:03 0 s anti cascading disabled
2012/08/19 16:53:03 559F80 c client connected to 678 port
2012/08/19 16:53:03 559F80 c encrypted newcamd:678-client 192.168.1.99 granted (usertvheadend, au=auto (4 reader))
2012/08/19 16:53:03 559F80 c user usertvheadend authenticated successfully (Tvheadend)
2012/08/19 16:53:03 559F80 c AU disabled for user usertvheadend (is this a problem?)
2012/08/19 16:53:19 559F80 c usertvheadend (1801&007301/2335/4A:C3AB): timeout (13300 ms) by dreambox (of 1 avail 1)
2012/08/19 16:53:24 559F80 c usertvheadend (1801&007301/2335/4A:8568): timeout (10006 ms) by dreambox (of 1 avail 1)
2012/08/19 16:53:24 559F80 c usertvheadend (1801&007301/2335/4A:8568): timeout (5204 ms) by dreambox (of 1 avail 1)
2012/08/19 17:04:24 0 s start client thread action 23
2012/08/19 17:04:24 559F80 c data from add_job action=23
2012/08/19 17:04:24 559F80 c nmr(): len=2, errno=0
2012/08/19 17:04:24 559F80 c received 76 bytes from client
2012/08/19 17:04:24 559F80 23 34 81 30 47 07 45 73 01 96 00 08 1B 43 E0 F1
2012/08/19 17:04:24 559F80 6B 73 53 CC 59 2A 0D 71 77 DD B7 75 78 3F 62 53
2012/08/19 17:04:24 559F80 02 8E 1F B1 EA E1 A3 46 50 4E 94 82 6B C3 2D 8F
2012/08/19 17:04:24 559F80 B9 E4 C5 DB A0 3C F3 E9 B3 75 1A 87 94 10 2F BF
2012/08/19 17:04:24 559F80 62 E3 88 11 AA 7B 86 74 CF 8F 67 00
2012/08/19 17:04:24 559F80 c ncd_process_ecm: er->cpti=1, cl_msgid=1049, 81
2012/08/19 17:04:24 559F80 c trying user 'usertvheadend' filter 1801:007301
2012/08/19 17:04:24 559F80 c 1801:007301 allowed by user 'usertvheadend' filter 1801:007301
2012/08/19 17:04:24 559F80 c trying server filter 1801:007301
2012/08/19 17:04:24 559F80 c 1801:007301 allowed by server filter 1801:007301
2012/08/19 17:04:24 559F80 c request_cw1 to reader dreambox fd=0 ecm=9BD0
2012/08/19 17:04:24 559F80 c start reader thread action 5
2012/08/19 17:04:24 0 fallback for usertvheadend 1801&007301/2334
2012/08/19 17:04:24 559F80 c ending thread
2012/08/19 17:04:24 552E70 p data from add_job action=5
2012/08/19 17:04:24 0 request_cw1 to reader dreambox fd=0 ecm=DEA1
2012/08/19 17:04:24 552E70 p ---- ecm_task 1, idx 138, sflag=1, level=0
2012/08/19 17:04:24 0 add reader job action 5
2012/08/19 17:04:24 552E70 p casc ecm:
2012/08/19 17:04:24 0 timeout for usertvheadend 1801&007301/2335
2012/08/19 17:04:24 552E70 81 30 47 07 45 73 01 96 00 08 1B 43 E0 F1 6B 73
2012/08/19 17:04:24 0 start client thread action 24
2012/08/19 17:04:24 552E70 53 CC 59 2A 0D 71 77 DD B7 75 78 3F 62 53 02 8E
2012/08/19 17:04:24 559F80 c data from add_job action=24
2012/08/19 17:04:24 552E70 1F B1 EA E1 A3 46 50 4E 94 82 6B C3 2D 8F B9 E4
2012/08/19 17:04:24 559F80 c ncd_send_dcw: er->cpti=2, cl_msgid=1047, 81
2012/08/19 17:04:24 552E70 C5 DB A0 3C F3 E9 B3 75 1A 87 94 10 2F BF 62 E3
2012/08/19 17:04:24 559F80 c send 15 bytes to client
2012/08/19 17:04:24 552E70 88 11 AA 7B 86 74 CF 8F 67 00
2012/08/19 17:04:24 559F80 00 0D 04 17 00 00 00 00 00 00 00 00 81 00 00
2012/08/19 17:04:24 552E70 p cccam: ecm trylock: got lock
2012/08/19 17:04:24 552E70 p cccam: ecm-task 138
2012/08/19 17:04:24 552E70 p cccam(r) dreambox: no ecm pending!
2012/08/19 17:04:24 552E70 p start next job from list action=5
2012/08/19 17:04:24 552E70 p ---- ecm_task 2, idx 139, sflag=1, level=1
2012/08/19 17:04:24 559F80 c usertvheadend (1801&007301/2335/4A:F275): timeout (10089 ms) by dreambox (of 1 avail 1)
2012/08/19 17:04:24 552E70 p casc ecm:
2012/08/19 17:04:24 559F80 c cw:
2012/08/19 17:04:24 552E70 80 30 47 07 45 73 01 96 00 88 EA 77 A2 05 4C 12
2012/08/19 17:04:24 559F80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
2012/08/19 17:04:24 552E70 B3 48 EF D2 72 6E 69 5F 3D 63 EF 55 8C AA 5F 1A
2012/08/19 17:04:24 559F80 c ending thread
2012/08/19 17:04:24 552E70 91 C9 16 04 98 7B 51 B6 3B 17 4A A0 8F 34 60 D0
2012/08/19 17:04:24 552E70 09 EE 33 AB 1E F6 C2 E6 21 81 1F 5E 28 36 9E 05
2012/08/19 17:04:24 552E70 23 F6 86 BA B9 F3 6C 6C 3B 0D
2012/08/19 17:04:24 552E70 p cccam: ecm trylock: got lock
2012/08/19 17:04:24 552E70 p cccam: ecm-task 139
2012/08/19 17:04:24 552E70 p cccam(r) dreambox: no ecm pending!
2012/08/19 17:04:24 552E70 p ending thread
2012/08/19 17:04:30 551660 h WebIf: Received stale header from 192.168.1.99.
Display More
the output of tvheadend
Code
Aug 19 16:58:32 cwc: Sending ECM section=0/0, for service France 2 HD (seqno: 994) PID 89Aug 19 16:58:32 cwc: Got unexpected ECM reply (seqno: 992)
The setup below works fine (CCcam decrypt correctly on the dreambox, and also for Tvheadend)
The setup below doesn't work (CCcam decrypt correctly on the dreambox, but not for the Tvheadend)
CCcam.cfg
F: oscam oscam1
oscam.conf (newcamd for tvheadend)
Code
[newcamd]
port = 678@1801:007301,002601,002701,007300,007201,FFFFFF
key = 0102030405060708091011121314
mgclient = 1
oscam.server (user/password&port matches CCcam.cfg and connects fine in both scenarios)
Code
[reader]
label = dreambox
protocol = cccam
device = 192.168.1.2,12000
user = oscam
password = oscam1
group = 1,2
cccwantemu = 1
oscam.user