Project

General

Profile

Bug #2655

EMM is not sent from tvh to oscam

Added by Raymond Paulsen almost 10 years ago. Updated over 9 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
Descrambling
Target version:
-
Start date:
2015-02-01
Due date:
% Done:

0%

Estimated time:
Found in version:
3.9.2400~gaca5c6b~wheezy
Affected Versions:

Description

Seems tvh has stoped sending EMM updates to oscam for both 0b00 and 093e.

--trace descrambler,cwc,capmt -- Log is attached


Files

tvheadend (253 KB) tvheadend --trace descrambler,cwc,capmt Raymond Paulsen, 2015-02-01 15:03
tvheadend (5.22 MB) tvheadend Raymond Paulsen, 2015-02-01 19:39
tvheadend (299 KB) tvheadend Raymond Paulsen, 2015-02-02 23:30

History

#1

Updated by Jaroslav Kysela almost 10 years ago

Provide also the log for the start-of-streaming

#2

Updated by Raymond Paulsen almost 10 years ago

I have added a full log, it contains some start and stops

#3

Updated by Raymond Paulsen almost 10 years ago

Darn, i reverted to a older build of oscam, very old and it seems that emm is now coming :-O
but its way lower count then it supposed to, even thoug i one-mux is not selected. i am supposed to get emm from all channels in the open mux.

i see the naming of the emm setting in tvh CAs setting has changed. one-channel has changed to one-mux?
is the function of this changed?

#4

Updated by Jaroslav Kysela almost 10 years ago

The descrambler trace lines are missing.. Unfortunately for cwc traces - there is no log to see the EMMs which are sent outside.

The One Mux / Update One field functionality should be same - it means - accept EMMs (may be multiple) from one mux in the 25 second interval. EMMs are not tied with service (channel).

Recent TVH does not send duplicate EMM data, so you may see less EMM requests in the oscam's skipped statistics, but it does not mean that the EMMs are not processed correctly.

You have probably an EMM filter set in oscam.

#5

Updated by Raymond Paulsen almost 10 years ago

let me see if i can fix new trace.

i have reverted oscam to a know good version, 10078 is good and has had card updates before.
filter is set for unknown and global. shared and uniq should pass only.

problem is i do not recive the emms needed for updating cards, something is not right with tvh.
only a few emms has come from tvh, and only 6 has been writen to the card, i expect around 54 to be written with this settings.

#6

Updated by Raymond Paulsen almost 10 years ago

updated tvh: 3.9.2457~gfacee6f~wheezy

added new trace log with a fine crash at the end :-S

i hope you can get something form this, if not let me know and i try againb with a tvh build with your recent addition to emm logging

#7

Updated by Jaroslav Kysela almost 10 years ago

I see only four EMM in the log.

2015-02-02 23:11:22.122 [  TRACE]:cwc: sending message sid 0 len 210 enq 1
2015-02-02 23:11:34.516 [  TRACE]:cwc: sending message sid 0 len 210 enq 1
2015-02-02 23:19:33.577 [  TRACE]:cwc: sending message sid 0 len 210 enq 1
2015-02-02 23:19:46.431 [  TRACE]:cwc: sending message sid 0 len 210 enq 1

Could you upgrade to latest and add this debug code to print each received EMM?

diff --git a/src/descrambler/descrambler.c b/src/descrambler/descrambler.c
index 850b0af..02ad3d3 100755
--- a/src/descrambler/descrambler.c
+++ b/src/descrambler/descrambler.c
@@ -533,6 +533,10 @@ descrambler_table_callback

   if (len < 6)
     return 0;
+  if (emm) {
+    tvhtrace("decrambler", "EMM pid %i len %i", mt->mt_pid, len);
+    tvhlog_hexdump("descrambler", ptr, len);
+  }
   pthread_mutex_lock(&mt->mt_mux->mm_descrambler_lock);
   TAILQ_FOREACH(ds, &dt->sections, link) {
     if (!emm) {
#8

Updated by Raymond Paulsen almost 10 years ago

So i have looked into this, it seems that there are some changes in updating time for conax 1w card, entitelments are normaly valid for 1 month at a time, from begining of the month 1.1.2015 to 31.1.2015, updates have been known to come on 1.2.2015 at latest.
this month updates have been severly delayed resulting in the card has been deactivated for 2 days.

i did update tvheadend and run 2 different muxes 24/7 to look after emms, today i recived some updates that resultet in the card has been updated. normaly i recive 54 emms that is writen to the card for normal update, this time the amount of emms written to do the updated is only 14. it indicates that something has changed. either from the provider, tvh or oscam.

anyway the card has updated fine and is now working again, this ticket can be closed as non valid as the problem is not likly to be related with tvh.

Thanks for your time jaroslav

#9

Updated by Jaroslav Kysela over 9 years ago

  • Status changed from New to Fixed

OK, I'm closing this right now.

Also available in: Atom PDF