Klaus Schmidinger wrote:
Does the log really end at that point?
If there is no "Ca Pmt Reply" then the CAM doesn't reply to
the query.
That is, no reply in this point.
Because I got second confirmation from TechniSat Support about multiple
decryption possibility, I made small test changes in ci.c file (ci.diff).
After that multiple decryption works! I know, this is not right solution, but
now it proved that CAM works in principle. Why it doesn't reply to query at vdr
startup, i don't know, but later it does (log.txt).
Any ideas for an elegant solution?
Arthur
--- ci.c.orig 2008-04-15 14:55:59.000000000 +0300
+++ ci.c 2008-04-15 14:58:41.000000000 +0300
@@ -771,6 +771,7 @@
}
dbgprotocol("\n");
}
+ state = 6; //AK
break;
default: esyslog("ERROR: CAM %d: conditional access support: unknown tag %06X", Tc()->CamSlot()->SlotNumber(), Tag);
}
@@ -789,6 +790,7 @@
else if (state == 3 && timer.TimedOut()) {
dsyslog("CAM %d: doesn't reply to QUERY - only a single channel can be decrypted", Tc()->CamSlot()->SlotNumber());
state = 4; // normal operation
+ repliesToQuery = true; //AK
}
}
@@ -1888,7 +1890,7 @@
}
}
-#define QUERY_REPLY_WAIT 100 // ms to wait between checks for a reply
+#define QUERY_REPLY_WAIT 300 // ms to wait between checks for a reply //AK
bool cCamSlot::CanDecrypt(const cChannel *Channel)
{
root@vdr:~# runvdr
Slot 1: reset...ok.
Slot 1: module present
Slot 1: module ready
Slot 1: creating connection 0/1
-------------------------
MakePrimaryDevice: 1
=========================
SetVideoFormat: 0
SetVolumeDevice: 200
Slot 1: create connection 0/1
1: --> 00 01 82 01 01
1: <-- 00 01 83 01 01 80 02 01 00
. . . . . . . . .
Slot 1: connection created 0/1
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 07 01 91 04 00 01 00 41 80 02 01 00
. . . . . . . . . . A . . . .
Slot 1: open session 00010041
Slot 1: new Resource Manager (session id 1)
1: --> 00 01 A0 0A 01 92 07 00 00 01 00 41 00 01
Slot 1: ==> Profile Enq (1)
1: --> 00 01 A0 09 01 90 02 00 01 9F 80 10 00
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 09 01 90 02 00 01 9F 80 11 00 80 02 01 00
. . . . . . . . . . . . . . . . .
Slot 1: <== Profile (1)
Slot 1: ==> Profile Change (1)
1: --> 00 01 A0 09 01 90 02 00 01 9F 80 12 00
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 09 01 90 02 00 01 9F 80 10 00 80 02 01 00
. . . . . . . . . . . . . . . . .
Slot 1: <== Profile Enquiry (1)
Slot 1: ==> Profile (1)
1: --> 00 01 A0 1D 01 90 02 00 01 9F 80 11 14 00 01 00 41 00 02 00 41 00 03 00 41 00 24 00 41 00 40 00 41
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 07 01 91 04 00 02 00 41 80 02 01 00
. . . . . . . . . . A . . . .
Slot 1: open session 00020041
Slot 1: new Application Information (session id 2)
1: --> 00 01 A0 0A 01 92 07 00 00 02 00 41 00 02
Slot 1: ==> Application Info Enq (2)
1: --> 00 01 A0 09 01 90 02 00 02 9F 80 20 00
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 1E 01 90 02 00 02 9F 80 21 15 01 00 00 03 3D 0F 54 53 44 20 43 72 79 70 74 20 43 6F 6E 61 78 80 02 01 00
. . . . . . . . . . . ! . . . . . = . T S D C r y p t C o n a x . . . .
Slot 1: <== Application Info (2)
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 07 01 91 04 00 03 00 41 80 02 01 00
. . . . . . . . . . A . . . .
Slot 1: open session 00030041
Slot 1: new Conditional Access Support (session id 3)
1: --> 00 01 A0 0A 01 92 07 00 00 03 00 41 00 03
Slot 1: ==> Ca Info Enq (3)
1: --> 00 01 A0 09 01 90 02 00 03 9F 80 30 00
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 0B 01 90 02 00 03 9F 80 31 02 0B 00 80 02 01 00
. . . . . . . . . . . 1 . . . . . . .
Slot 1: <== Ca Info (3) 0B00
Slot 1: ==> Ca Pmt (3) 3 3
1: --> 00 01 A0 10 01 90 02 00 03 9F 80 32 07 03 00 00 01 00 01 03
Slot 1: ==> Ca Pmt (3) 4 1
1: --> 00 01 A0 1A 01 90 02 00 03 9F 80 32 11 04 04 42 01 00 01 01 02 08 C0 00 00 04 08 C1 00 00
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetVolumeDevice: 200
SetPlayMode: 1
frame: (0, 0)-(-1, -1), zoom: (1,00, 1,00)
SetPlayMode: 0
Slot 1: ==> Ca Pmt (3) 5 1
1: --> 00 01 A0 16 01 90 02 00 03 9F 80 32 0D 05 04 42 01 00 07 01 09 04 0B 00 E3 EC
Slot 1: ==> Ca Pmt (3) 4 1
1: --> 00 01 A0 20 01 90 02 00 03 9F 80 32 17 04 04 42 01 00 07 01 09 04 0B 00 E3 EC 02 08 C0 00 00 04 08 C1 00 00
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
video: synced early
vdr-xine: Client connecting ...
vdr-xine: Client connected!
=====> Recording started
=====> Switching to the next channel
SetPlayMode: 0
Slot 1: ==> Ca Pmt (3) 4 3
1: --> 00 01 A0 20 01 90 02 00 03 9F 80 32 17 04 04 78 01 00 07 03 09 04 0B 00 E3 EE 02 08 A2 00 00 04 08 A3 00 00
Slot 1: receive data 0/1
1: --> 00 01 81 01 01
1: <-- 00 01 A0 13 01 90 02 00 03 9F 80 33 0A 04 78 01 82 08 A2 82 08 A3 82 80 02 01 00
. . . . . . . . . . . 3 . . x . . . . . . . . . . . .
Slot 1: <== Ca Pmt Reply (3) 1144 01 82 2210=82 2211=82
Slot 1: ==> Ca Pmt (3) 4 1
1: --> 00 01 A0 20 01 90 02 00 03 9F 80 32 17 04 04 78 01 00 07 01 09 04 0B 00 E3 EE 02 08 A2 00 00 04 08 A3 00 00
SetAudioChannelDevice: 0
SetDigitalAudioDevice: 0
SetAudioChannelDevice: 0
SetPlayMode: 1
frame: (0, 0)-(720, 576), zoom: (1,00, 1,00)
video: synced early
=====> Got picture
_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr