Project

General

Profile

Bug #4988

Irdeto - unsupported card system

Added by LubosD - over 6 years ago. Updated over 6 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2018-03-05
Due date:
% Done:

100%

Estimated time:
Found in version:
git
Affected Versions:

Description

I have an Irdeto card that requires seeing at least one valid EMM before it allows processing ECMs.

It seems, however, that Tvheadend just went crazy and refuses to forward them:

2018-03-05 10:30:57.843 [   INFO]:cwc: 127.0.0.1:10006: Attemping to connect to server
2018-03-05 10:30:57.843 [  DEBUG]:cwc: 127.0.0.1:10006: Connected
2018-03-05 10:30:57.844 [   INFO]:cwc: 127.0.0.1:10006: Connected as user tvheadend to a Irdeto-card-00000000 [CAID:0624 : 00.00.00.00.10.0a.82.b5] with 5 providers
2018-03-05 10:30:57.844 [  DEBUG]:cwc: 127.0.0.1:10006: Provider ID #1: 0x0624:0x000000 00.00.00.00.00.0a.82.ff
2018-03-05 10:30:57.844 [  DEBUG]:cwc: 127.0.0.1:10006: Provider ID #2: 0x0624:0x000001 00.00.00.00.01.ff.ff.ff
2018-03-05 10:30:57.844 [  DEBUG]:cwc: 127.0.0.1:10006: Provider ID #3: 0x0624:0x000002 00.00.00.00.01.ff.ff.ff
2018-03-05 10:30:57.844 [  DEBUG]:cwc: 127.0.0.1:10006: Provider ID #4: 0x0624:0x000003 00.00.00.00.01.ff.ff.ff
2018-03-05 10:30:57.844 [  DEBUG]:cwc: 127.0.0.1:10006: Providers: ID:00000000 CAID:0624:[0x000004]
2018-03-05 10:30:57.844 [   INFO]:cwc: 127.0.0.1:10006: Will not forward EMMs (unsupported CA system)

Why would Irdeto be unsupported?

It looks like I'm hitting a strange bug, because CAID 0x0624 shoud lead to CARD_IRDETO.

History

#1

Updated by saen acro over 6 years ago

is with DVBAPI same situation?

#2

Updated by LubosD - over 6 years ago

I don't know, but the problem is that inside cc_new_card() this:

cc_emm_set_allowed(cc, 1);

is called before this:

  if (allocated)
    LIST_INSERT_HEAD(&cc->cc_cards, pcard, cs_card);

Which is obviously wrong, because cc_emm_set_allowed() expects the card to be there.

#4

Updated by Jaroslav Kysela over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Applied in changeset commit:tvheadend|323de9af748908b2ead3bf5251323548ebd142fd.

Also available in: Atom PDF