[mythtv] dvb cam problems with version 0.18

Phil Vid phil.vid at gmail.com
Thu Apr 21 10:27:12 UTC 2005


Hi,
I've been having some issues with the dvb cam operation changes from
version 0.16 to 0.18.

Turning on logging reveals the following -
from 0.16

3: <== Ca Info 0601 0602 0603 0604 0605 0606 0607 0608 0621 0622 0623
0624 0625 0626 0627 0628
Found CA Descriptor (CASID=090B, CAPID=F394)
Found CA Descriptor (CASID=0624, CAPID=F3C6)
Adding CA Descriptor (CASID=0624, CAPID=F3C6)
Found CA Descriptor (CASID=0604, CAPID=F3C6)
Adding CA Descriptor (CASID=0604, CAPID=F3C6)
ERROR: adding CA descriptor without Pid!
Found CA Descriptor (CASID=090B, CAPID=F394)
Found CA Descriptor (CASID=0624, CAPID=F3C6)
Adding CA Descriptor (CASID=0624, CAPID=F3C6)
ERROR: adding CA descriptor without Pid!
Found CA Descriptor (CASID=0604, CAPID=F3C6)
Adding CA Descriptor (CASID=0604, CAPID=F3C6)
ERROR: adding CA descriptor without Pid!
Found CA Descriptor (CASID=090B, CAPID=F394)
Found CA Descriptor (CASID=0624, CAPID=F3C6)
Adding CA Descriptor (CASID=0624, CAPID=F3C6)
ERROR: adding CA descriptor without Pid!
Found CA Descriptor (CASID=0604, CAPID=F3C6)
Adding CA Descriptor (CASID=0604, CAPID=F3C6)
ERROR: adding CA descriptor without Pid!
2005-04-20 22:30:05:560 1117793200 DVB#1 CAM - Sending PMT to slot 1.
--> 01 01 A0 20 01 90 02 00 03 9F 80 32 17 01 03 F0 01 00 07 01 09 04
06 24 F3 C6 00 04 3A 00 00 00 04 39 00 00
<-- 01 01 80 02 01 80 
    .  .  .  .  .  . 
--> 01 01 81 01 01 
<-- 01 01 A0 07 01 91 04 00 24 00 41 80 02 01 00 
    .  .     .  .  .  .  .  $  .  A  .  .  .  . 
OpenSession 00240041


from 0.18

2005-04-21 20:42:00.651 DVB#1 CA: CiHandler needs CA_PMT
2005-04-21 20:42:00.657 DVB#1 ERROR - CA: GetCaSystemIds returned NULL!
2005-04-21 20:42:00.663 DVB#1 CA: Creating CA_PMT, ServiceID=1008
2005-04-21 20:42:00.669 DVB#1 CA: Adding stream: MPEG-2 Video, PID=1081
2005-04-21 20:42:00.676 DVB#1 CA: Adding CA descriptor: CASID=0x604,ECM PID=5062
2005-04-21 20:42:00.682 DVB#1 CA: Adding CA descriptor: CASID=0x624,ECM PID=5062
2005-04-21 20:42:00.688 DVB#1 CA: Adding stream: MPEG-2 Audio (eng, PID=1082
2005-04-21 20:42:00.694 DVB#1 CA: Adding CA descriptor: CASID=0x604,ECM PID=5062
2005-04-21 20:42:00.700 DVB#1 CA: Adding CA descriptor: CASID=0x624,ECM PID=5062
2005-04-21 20:42:00.706 DVB#1 CA: Sending CA_PMT with CPLM_ONLY to CI slot #1
--> 01 01 A0 35 01 90 02 00 03 9F 80 32 2C 03 03 F0 01 00 00 02 04 39 00 0E 01 0
9 04 06 04 13 C6 01 09 04 06 24 13 C6 04 04 3A 00 0E 01 09 04 06 04 13 C6 01 09 
04 06 24 13 C6 
<-- 01 01 80 02 01 00 


By analysing the ca_pmt tables sent to the card, it appears the changes are:
- 0.16 uses CPLM_FIRST rather than CPLM_ONLY
- 0.16 puts a single ca system id, 0x624 in the program level and the
ecm pid (with the high 3 bits of the first byte incorrectly set)
- 0.16 sends the audio and video stream pids at the elementary level
with no ca_descriptor table and a null byte for the stream type
- 0.18 puts nothing at the program level, however the elementary level
contains both audio and video stream pids with a full ca_descriptor
table containing both ca_system_ids in each

Does anyone understand why this would cause a problem? According to
the standard, it seems like either way should work, even though 0.18
passes far more information in the ca_pmt message.

This is being used to decode foxtel (original not digital) in
Australia using a Nova-S CI card with Irdeto cam.

phil


More information about the mythtv-dev mailing list