HD-Digital / meta-gfutures

BSP branch for OpenPLi
3 stars 3 forks source link

[HD61 only] - Problem with dual system cards Seca/Nagra #63

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hi,

There is a problem with Seca/Nagra card from polish Canal+ platform. Card can be used in two systems:

However there is a problem to initialize card in Nagra 1813 and it's only occurs on hisilicon boxes (hd61 series) everything is working fine with older bcm boxes

The same problem applies to Zgemma H9 series (hisilicon) Something is wrong with card reader drivers.

If you need more info/more detailed log let me know. Thanks

Card successfully initialized in 1813:

2020/07/07 21:46:53 04F7C127 r (reader) Camel_1813 [internal] card detected 2020/07/07 21:46:55 04F7C127 r (reader) Camel_1813 [internal] ATR: XX ZZ 2020/07/07 21:46:57 5986E744 c (dvbapi) Demuxer 0 no enabled matching ecmpids -> decoding is waiting for matching readers! 2020/07/07 21:47:00 04F7C127 r (reader) Camel_1813 [internal] card needs reset before init 2020/07/07 21:47:01 04F7C127 r (reader) Camel_1813 [internal] ATR: ZZ XX 2020/07/07 21:47:02 5986E744 c (dvbapi) Demuxer 0 no enabled matching ecmpids -> decoding is waiting for matching readers! 2020/07/07 21:47:02 04F7C127 r (reader) Camel_1813 [internal] detected card in CAK6/Seca mode -> try switch to Nagra CAK7 2020/07/07 21:47:02 04F7C127 r (reader) Camel_1813 [internal] Initial AES: ZZ XX 2020/07/07 21:47:02 04F7C127 r (reader) Camel_1813 [internal] switch nagra layer OK 2020/07/07 21:47:02 5986E744 c (dvbapi) Demuxer 1 no enabled matching ecmpids -> decoding is waiting for matching readers! 2020/07/07 21:47:03 04F7C127 r (reader) Camel_1813 [internal] Initial AES: ZZ XX 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] Rom revision: DNASP400 RevI4G 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] Card has DT05_00 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] DT05_00 is correct 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] Card has DT05_10 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] OTP CSC No. of keys: 00 01 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] OTA CSC No. of keys: 00 00 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] card needs restart after 35999 CMDs 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] DT05_10 is correct 2020/07/07 21:47:05 04F7C127 r (reader) Camel_1813 [internal] Card is starting in GLOBAL mode 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [internal] New AES: ZZ XX 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [internal] ready for requests 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [internal] found card system nagra merlin 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [nagra merlin] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [nagra merlin] ROM: D N A S P 4 0 0 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [nagra merlin] REV: R e v I 4 G 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [nagra merlin] SER: ############ 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [nagra merlin] CAID: 1813 2020/07/07 21:47:06 04F7C127 r (reader) Camel_1813 [nagra merlin] Prv.ID: 00 00 01 A0 (sysid)

HD61 Series which won't switch to nagra 1813 and stays in seca:

2020/07/08 21:04:31 00FD88D8 h (webif) webif: decompressed 233058 bytes back into 491072 bytes 2020/07/08 21:04:31 00FD88D8 h (webif) HTTP Server running. ip=:: port=8888 2020/07/08 21:04:32 393C410D r (reader) czytnik [internal] card detected 2020/07/08 21:04:33 393C410D r (reader) czytnik [internal] ATR: 3B F7 11 00 01 40 96 70 70 0A 0E 6C B6 D6 2020/07/08 21:04:33 393C410D r (reader) czytnik [internal] detected card in CAK6/Seca mode -> try switch to Nagra CAK7 2020/07/08 21:04:33 393C410D r (reader) czytnik [internal] Initial AES: A0 37 73 4E B1 32 33 17 74 8F 61 D8 7C E8 AB 4C 2020/07/08 21:04:33 393C410D r (reader) czytnik [internal] switch nagra layer OK 2020/07/08 21:04:34 393C410D r (reader) czytnik [internal] ATR: 3B F7 11 00 01 40 96 70 70 0A 0E 6C B6 D6 2020/07/08 21:04:34 393C410D r (reader) czytnik [internal] Initial AES: A0 37 73 4E B1 32 33 17 74 8F 61 D8 7C E8 AB 4C 2020/07/08 21:04:36 393C410D r (reader) czytnik [internal] type: SECA, caid: 0100, serial: #########, card: Mediaguard v10.0 2020/07/08 21:04:36 393C410D r (reader) czytnik [internal] Maturity level [F]=no age limit 2020/07/08 21:04:36 393C410D r (reader) czytnik [internal] found card system seca 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] THIS WAS A SUCCESSFUL START ATTEMPT No 1 out of max allotted of 1 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] Request provider 1 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] FEDC provider 1 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] provider 1: 0000, valid: 1, name: CYFRA +, expiry date: 2020/09/03 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] SA: ######## 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] Request provider 2 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] FEDC provider 2 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] provider 2: 0068, valid: 1, name: CYFRA+ 1, expiry date: 2020/09/04 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] SA: ######## 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] Request provider 3 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] FEDC provider 3 2020/07/08 21:04:36 393C410D r (reader) czytnik [seca] provider 3: 0065, valid: 0, name: CYFRA+ 2, expiry date: 1992/01/01 2020/07/08 21:04:37 00000000 s (main) init for all local cards done

ghost commented 4 years ago

I have posted same issue on Zgemma page: https://github.com/zgemma-star/meta-zgemma/issues/79 with detailed log from oscam (debug all) in last post.

I'am waiting atm for debug all logs from hd61 users and will update this post.

edit: HD61 log: hd61_debug_all.log