jasmin-j / vdr-plugin-ddci2

Support for stand alone CI by Digital Devices for VDR 2.1.7 and higher.
GNU General Public License v2.0
5 stars 2 forks source link

CAM 1: doesn't reply to QUERY - only a single channel can be decrypted #4

Closed sundalon closed 7 years ago

sundalon commented 7 years ago

Hi there,

every once in a while I'm getting this error: CAM 1: doesn't reply to QUERY - only a single channel can be decrypted

Hardware setup as follows: 1x DD Cine S2, 1x DD Duoflex S2, 1x DD Single CI, AC light 2.2 with o4a 2.4. Software: VDR 2.3.7, DDCI2 current GIT, dddvb-dkms 0.9.29

Jun 13 11:12:35 htpc vdr: [19080] CAM 1: replies to QUERY - multi channel decryption (MCD) possible
Jun 13 11:37:44 htpc vdr: [20165] CAM 1: replies to QUERY - multi channel decryption (MCD) possible
Jun 13 11:40:02 htpc vdr: [20369] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:40:30 htpc vdr: [20505] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:40:55 htpc vdr: [20637] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:41:37 htpc vdr: [20782] CAM 1: replies to QUERY - multi channel decryption (MCD) possible
Jun 13 11:42:09 htpc vdr: [20918] CAM 1: replies to QUERY - multi channel decryption (MCD) possible
Jun 13 11:42:37 htpc vdr: [21054] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:44:19 htpc vdr: [21054] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:47:40 htpc vdr: [21295] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:48:08 htpc vdr: [21429] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:48:41 htpc vdr: [21569] CAM 1: replies to QUERY - multi channel decryption (MCD) possible
Jun 13 11:50:22 htpc vdr: [21733] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:51:07 htpc vdr: [21876] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:51:36 htpc vdr: [22015] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:52:59 htpc vdr: [22161] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted
Jun 13 11:54:27 htpc vdr: [22305] CAM 1: replies to QUERY - multi channel decryption (MCD) possible

Any hints on this one?

[EDIT1] LOG during faulty initialization:

Jun 13 14:50:15 htpc vdr: [3143] CAM 1: module ready
Jun 13 14:50:17 htpc vdr: [3143] CAM 1: AlphaCrypt, 01, 4A20, 4A22
Jun 13 14:50:18 htpc vdr: [3143] CAM 1: system ids: 098C 0648 1702 1722 1762 4A20 0500 0B00 0100 1833 1834 0D05 0D95 09C4 093E 0963 0919 09C7
Jun 13 14:50:21 htpc vdr: [3143] CAM 1: doesn't reply to QUERY - only a single channel can be decrypted

LOG during successful initialization:

Jun 13 14:55:06 htpc vdr: [3371] CAM 1: module ready
Jun 13 14:55:09 htpc vdr: [3371] CAM 1: AlphaCrypt, 01, 4A20, 4A22
Jun 13 14:55:10 htpc vdr: [3371] CAM 1: system ids: 098C 0648 1702 1722 1762 4A20 0500 0B00 0100 1833 1834 0D05 0D95 09C4 093E 0963 0919 09C7
Jun 13 14:55:11 htpc vdr: [3371] CAM 1: replies to QUERY - multi channel decryption (MCD) possible
Jun 13 14:55:11 htpc vdr: [3371] CAM 1: supports multi transponder decryption (MTD)
Jun 13 14:55:11 htpc vdr: [3371] CAM 1: activating MTD support

[EDIT2] Just changed the DD kernel modules to version 0.9.28 - same problem. It appears that the error gets triggered more often while restarting the vdr. Issuing stop and start reduces the probability but not entirely.

\ sundalon

jasmin-j commented 7 years ago

ddci2 is only an interface for the DD CI cards, a transport extension for VDR, if you like. This is a VDR issue introduces with VDR version 2.3.5 AFAIK. I was part of an eMail conversation between Klaus and Daniel, who found this one week ago. They are currently trying to fix that. As a quick workarround, you can set QUERY_WAIT_TIME in ci.c to two seconds.

BR, Jasmin