Project

General

Profile

Bug #5316

Seca EMM not working as expected

Added by glenn ch about 6 years ago. Updated almost 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Descrambling
Target version:
-
Start date:
2018-11-06
Due date:
% Done:

0%

Estimated time:
Found in version:
master
Affected Versions:

Description

As discussed here:
https://github.com/tvheadend/tvheadend/pull/1183

I tried the code from here:
https://github.com/perexg/tvheadend/commit/ffb859cb6e85575875cd34f25f671185421bdc6a
But it's not compiling, "dlen2" is uninitialized in "descrambler_cat_data()"

History

#2

Updated by glenn ch about 6 years ago

Compiling is working now :-)

However, EMM is still not working as expected.
My card supports providers 00006A, 00006C and 000000

2018-11-06 20:52:28.294 [   INFO]:mpegts: 11856V in 23.5 - tuning on SAT>IP DVB-S Tuner #1 (192.168.1.100:9983@UDP)
2018-11-06 20:52:28.294 [  TRACE]:descrambler: newcamd-192.168.1.100:12345-0100: key state changed from INIT to READY for "23.5/11856V/VTM HD" 
2018-11-06 20:52:28.294 [  TRACE]:descrambler: service "23.5/11856V/VTM HD": 1 descramblers (0 ok 0 failed 0 fatal)
2018-11-06 20:52:28.294 [  TRACE]:descrambler: mux 0x55769e4c0bf0 open pid 0721 (1825) (flags 0x0000) for 0x7f62e8008160
2018-11-06 20:52:28.294 [  TRACE]:descrambler: mux 0x55769e4c0bf0 open pid 0785 (1925) (flags 0x0000) for 0x7f62e8008160
2018-11-06 20:52:28.294 [   INFO]:subscription: 0002: "HTTP" subscribing on channel "VTM HD", weight: 100, adapter: "SAT>IP DVB-S Tuner #1 (192.168.1.100:9983@UDP)", network: "23.5", mux: "11856V", provider: "M7 Group", service: "VTM HD", profile="matroska", hostname="127.0.0.1", client="VLC/2.2.2 LibVLC/2.2.2" 
2018-11-06 20:52:28.814 [  DEBUG]:descrambler: Obtained CSA keys from newcamd-192.168.1.100:12345-0100 for service "VTM HD" 
2018-11-06 20:52:28.814 [  TRACE]:descrambler: Obtained CSA keys 60630FD2F5E7AB87:68F248A2072F75AB pid 0000 from newcamd-192.168.1.100:12345-0100 for service "VTM HD" 
2018-11-06 20:52:28.814 [  TRACE]:descrambler: newcamd-192.168.1.100:12345-0100: key state changed from READY to RESOLVED for "23.5/11856V/VTM HD" 
2018-11-06 20:52:28.814 [  TRACE]:descrambler: service "23.5/11856V/VTM HD": 1 descramblers (1 ok 0 failed 0 fatal)
2018-11-06 20:52:28.814 [  DEBUG]:descrambler: info - service='VTM HD' caid=0100(Seca) provid=00006C ecmtime=376 hops=1 reader='' from='192.168.1.100:12345' protocol='newcamd'
2018-11-06 20:52:28.854 [  TRACE]:descrambler: stream key[0] changed to odd for service "VTM HD" 
2018-11-06 20:52:29.224 [  TRACE]:descrambler: CAT data (len 172)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 09 19 01 00 E0 B6 05 E0 B7 00 6A E0 B8 00 6B E0 ..........j...k.
2018-11-06 20:52:29.224 [  TRACE]:descrambler: B9 00 6C E0 BA 00 6D E0 BB 00 00 09 04 0D 96 FF ..l...m.........
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 40 09 04 06 24 FF 41 09 11 05 00 E0 AA 13 01 20 @...$.A........ 
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 14 03 05 19 00 14 03 05 19 10 09 07 18 17 E0 B6 ................
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 02 FE 22 09 07 18 18 E0 B6 02 FE 22 09 07 18 19 .."........"....
2018-11-06 20:52:29.224 [  TRACE]:descrambler: E0 B6 02 FE 22 09 07 18 17 E0 BC 02 00 6A 09 07 ...."........j..
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 18 18 E0 BC 02 00 6C 09 07 18 19 E0 BC 02 00 6D ......l........m
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 09 07 18 17 E0 BB 02 01 C0 09 07 18 18 E0 BB 02 ................
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 01 C0 09 07 18 19 E0 BB 02 01 C0 09 07 18 17 E0 ................
2018-11-06 20:52:29.224 [  TRACE]:descrambler: B7 02 00 6A 09 07 18 18 E0 B9 02 00 6C 09 07 18 ...j........l...
2018-11-06 20:52:29.224 [  TRACE]:descrambler: 19 E0 BA 02 00 6D 09 04 18 FE E0 BD             .....m......    
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 000000 (0) pid 00B6 (182)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: attach emm caid 0100 (256) prov 000000 (0) pid 00B6 (182)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: mux 0x55769e4c0bf0 open pid 00B6 (182) (flags 0x0000) for 0x7f62ec000c00
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: mux 0x55769e4c0bf0 open pid 00B7 (183) (flags 0x0000) for 0x7f62ec000c00
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.224 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:29.225 [  TRACE]:descrambler: descrambler_cat_entry(), attemp to attach emm caid 0100 (256) prov 00006A (106) pid 00B7 (183)
2018-11-06 20:52:32.541 [  TRACE]:descrambler: stream key[0] changed to even for service "VTM HD" 
2018-11-06 20:52:32.541 [  TRACE]:descrambler: update key[0] interval for "23.5/11856V/VTM HD" to 10000ms
2018-11-06 20:52:32.893 [  TRACE]:descrambler: Obtained CSA keys 60630FD2F5E7AB87:B15B9AA6C95DAED4 pid 0000 from newcamd-192.168.1.100:12345-0100 for service "VTM HD" 
2018-11-06 20:52:32.893 [  DEBUG]:descrambler: info - service='VTM HD' caid=0100(Seca) provid=00006C ecmtime=368 hops=1 reader='' from='192.168.1.100:12345' protocol='newcamd'

I must a admit that I added the following for debugging purpose (descrambler.c):

static void descrambler_cat_entry
  ( mpegts_mux_t *mux, uint16_t caid, uint32_t prov, uint16_t pid )
{
  descrambler_emm_t *emm;
  caclient_caid_update(mux, caid, prov, pid, 1);
  pthread_mutex_lock(&mux->mm_descrambler_lock);
  TAILQ_FOREACH(emm, &mux->mm_descrambler_emms, link) {
++      tvhtrace(LS_DESCRAMBLER, "descrambler_cat_entry(), attemp to attach emm caid %04X (%i) prov %06X (%i) pid %04X (%i)",
++                               caid, caid, prov, prov, pid, pid);

With the code from the pull request I get (https://github.com/tvheadend/tvheadend/pull/1183):

018-11-06 20:36:21.711 [   INFO]:mpegts: 11856V in 23.5 - tuning on SAT>IP DVB-S Tuner #1 (192.168.1.100:9983@UDP)
2018-11-06 20:36:21.711 [  TRACE]:descrambler: newcamd-192.168.1.100:12345-0100: key state changed from INIT to READY for "23.5/11856V/VTM HD" 
2018-11-06 20:36:21.711 [  TRACE]:descrambler: service "23.5/11856V/VTM HD": 1 descramblers (0 ok 0 failed 0 fatal)
2018-11-06 20:36:21.711 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 0721 (1825) (flags 0x0000) for 0x7ff96c008150
2018-11-06 20:36:21.711 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 0785 (1925) (flags 0x0000) for 0x7ff96c008150
2018-11-06 20:36:21.712 [   INFO]:subscription: 0002: "HTTP" subscribing on channel "VTM HD", weight: 100, adapter: "SAT>IP DVB-S Tuner #1 (192.168.1.100:9983@UDP)", network: "23.5", mux: "11856V", provider: "M7 Group", service: "VTM HD", profile="matroska", hostname="127.0.0.1", client="VLC/2.2.2 LibVLC/2.2.2" 
2018-11-06 20:36:22.172 [  TRACE]:descrambler: CAT data (len 172)
2018-11-06 20:36:22.172 [  TRACE]:descrambler: 09 19 01 00 E0 B6 05 E0 B7 00 6A E0 B8 00 6B E0 ..........j...k.
2018-11-06 20:36:22.172 [  TRACE]:descrambler: B9 00 6C E0 BA 00 6D E0 BB 00 00 09 04 0D 96 FF ..l...m.........
2018-11-06 20:36:22.172 [  TRACE]:descrambler: 40 09 04 06 24 FF 41 09 11 05 00 E0 AA 13 01 20 @...$.A........ 
2018-11-06 20:36:22.172 [  TRACE]:descrambler: 14 03 05 19 00 14 03 05 19 10 09 07 18 17 E0 B6 ................
2018-11-06 20:36:22.172 [  TRACE]:descrambler: 02 FE 22 09 07 18 18 E0 B6 02 FE 22 09 07 18 19 .."........"....
2018-11-06 20:36:22.172 [  TRACE]:descrambler: E0 B6 02 FE 22 09 07 18 17 E0 BC 02 00 6A 09 07 ...."........j..
2018-11-06 20:36:22.172 [  TRACE]:descrambler: 18 18 E0 BC 02 00 6C 09 07 18 19 E0 BC 02 00 6D ......l........m
2018-11-06 20:36:22.172 [  TRACE]:descrambler: 09 07 18 17 E0 BB 02 01 C0 09 07 18 18 E0 BB 02 ................
2018-11-06 20:36:22.173 [  TRACE]:descrambler: 01 C0 09 07 18 19 E0 BB 02 01 C0 09 07 18 17 E0 ................
2018-11-06 20:36:22.173 [  TRACE]:descrambler: B7 02 00 6A 09 07 18 18 E0 B9 02 00 6C 09 07 18 ...j........l...
2018-11-06 20:36:22.173 [  TRACE]:descrambler: 19 E0 BA 02 00 6D 09 04 18 FE E0 BD             .....m......    
2018-11-06 20:36:22.173 [  TRACE]:descrambler: attach emm caid 0100 (256) pid 00B6 (182) dlen=25, prov 00E0B6 (57526)
2018-11-06 20:36:22.173 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 00B6 (182) (flags 0x0000) for 0x7ff974000c00
2018-11-06 20:36:22.173 [  TRACE]:descrambler: attach emm caid 0100 (256) pid 00B7 (183) dlen=20, prov 00006A (106)
2018-11-06 20:36:22.173 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 00B7 (183) (flags 0x0000) for 0x7ff974000c00
2018-11-06 20:36:22.173 [  TRACE]:descrambler: attach emm caid 0100 (256) pid 00B8 (184) dlen=16, prov 00006B (107)
2018-11-06 20:36:22.173 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 00B8 (184) (flags 0x0000) for 0x7ff974000c00
2018-11-06 20:36:22.173 [  TRACE]:descrambler: attach emm caid 0100 (256) pid 00B9 (185) dlen=12, prov 00006C (108)
2018-11-06 20:36:22.173 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 00B9 (185) (flags 0x0000) for 0x7ff974000c00
2018-11-06 20:36:22.173 [  TRACE]:descrambler: attach emm caid 0100 (256) pid 00BA (186) dlen=8, prov 00006D (109)
2018-11-06 20:36:22.173 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 00BA (186) (flags 0x0000) for 0x7ff974000c00
2018-11-06 20:36:22.173 [  TRACE]:descrambler: attach emm caid 0100 (256) pid 00BB (187) dlen=4, prov 000000 (0)
2018-11-06 20:36:22.173 [  TRACE]:descrambler: mux 0x5590c26eab30 open pid 00BB (187) (flags 0x0000) for 0x7ff974000c00
2018-11-06 20:36:22.409 [  DEBUG]:descrambler: Obtained CSA keys from newcamd-192.168.1.100:12345-0100 for service "VTM HD" 
2018-11-06 20:36:22.410 [  TRACE]:descrambler: Obtained CSA keys 35B2F9E09EC10766:4BF66BAC19026580 pid 0000 from newcamd-192.168.1.100:12345-0100 for service "VTM HD" 
2018-11-06 20:36:22.410 [  TRACE]:descrambler: newcamd-192.168.1.100:12345-0100: key state changed from READY to RESOLVED for "23.5/11856V/VTM HD" 
2018-11-06 20:36:22.410 [  TRACE]:descrambler: service "23.5/11856V/VTM HD": 1 descramblers (1 ok 0 failed 0 fatal)
2018-11-06 20:36:22.410 [  DEBUG]:descrambler: info - service='VTM HD' caid=0100(Seca) provid=00006C ecmtime=496 

And Oscam confirms that EMM is working now.

#5

Updated by Jaroslav Kysela almost 6 years ago

Could you show me a diff between your code and my code?

#6

Updated by glenn ch almost 6 years ago

Not a perfect diff, if you need a better one, et me know.
http://www.mergely.com/wUwCDlnH/

#7

Updated by Jaroslav Kysela almost 6 years ago

  • Status changed from New to Fixed

Applied to v4.3-1543-g39708112c

#8

Updated by glenn ch almost 6 years ago

Thanks Jaroslav

Also available in: Atom PDF