[mythtv] BIG DVB PATCH V3.4 - Problem with encrypted channels

Anders Hanson anders.hanson at speedo.nu
Sat Jan 8 14:25:17 EST 2005


Jesper Sörensen wrote:

> Anders Hanson skrev:
>
>> When I try to start livetv using an encrypted channel (Which I have 
>> access to with CAM) I get this error in mythbackend
>>
>> The strange log row is: 2005-01-07 16:14:00.777 DVB#0 ERROR - CA: 
>> GetCaSystemIds returned NULL!
>
>
>
> Yes, that is really strange. I think you're going to have to add some 
> more debug logging to determine what is going on...
>
> The first call to GetCaSystemIds obviously works, since it proceeds 
> and creates a CA PMT object for your CAM, but then, for some unknown 
> reason, it seems to call GetCaSystemIds again and fails - do you have 
> more than one CI slot? Add some debugging to see what 
> ciHandler->NumSlots() is and which slots it tries to process...
>

I only have one CI slot. I'm tried with DVB patch 3.5 rbut I get the 
same behavor. Here is the log from this run
I have added some debug logs that are tagged with ANDERS. It seems like 
the CA is thinks that I have 2 CI slot but I only have 1.
I'm using the dvb-kernel from. I will try to hardcode 1 in the loop at 
row 266 in dvbcam.cpp to see if that works.

This is the log when watching an FTA channel

---------------------------------------------------------------
2005-01-08 19:44:38.494 Using profile 'Live TV' to record
2005-01-08 19:44:38.496 DVB#0 Recorder: Card opened successfully.
2005-01-08 19:44:38.498 DVB#0 AutoPID selecting PID 4113, Video
2005-01-08 19:44:38.498 DVB#0 AutoPID selecting PID 4369, PCM
2005-01-08 19:44:38.498 DVB#0 AutoPID selecting PID 5137, PCM
2005-01-08 19:44:38.498 DVB#0 AutoPID selecting PID 4881, PCM
2005-01-08 19:44:38.498 DVB#0 AutoPID selecting PID 4625, PCM
2005-01-08 19:44:38.498 DVB#0 AutoPID skipping PID 1281, Unknown type: 5
2005-01-08 19:44:38.498 DVB#0 AutoPID Complete - PAT/PMT Loaded for service
2005-01-08 19:44:38.499 DVB#0 Service is FTA
2005-01-08 19:44:38.499 DVB#0 CA: SetPMT for ServiceID=1011
2005-01-08 19:44:38.499 DVB#0 Adding pid 4369
2005-01-08 19:44:38.499 DVB#0 Adding pid 4113
2005-01-08 19:44:38.501 2       ok
2005-01-08 19:44:38.501 DVB#0 Data read from DMX - This is for debugging 
with transform.c
2005-01-08 19:44:38.517 105      []:[] []:[] []:[] []:[] []:[] []:[]ppv 
nu[]:[]...
2005-01-08 19:44:38.595 DVB#0 CA: CiHandler needs CA_PMT
2005-01-08 19:44:38.596 DVB#0 ANDERS - CA: ciHandler->NumSlots() = 2
2005-01-08 19:44:38.596 DVB#0 ANDERS - CA: s = 0
2005-01-08 19:44:38.596 DVB#0 CA: Creating CA_PMT, ServiceID=1011
2005-01-08 19:44:38.596 DVB#0 CA: Adding stream: Video, PID=4113
2005-01-08 19:44:38.596 DVB#0 CA: Adding stream: PCM, PID=4369
2005-01-08 19:44:38.596 DVB#0 CA: Adding stream: PCM, PID=5137
2005-01-08 19:44:38.596 DVB#0 CA: Adding stream: PCM, PID=4881
2005-01-08 19:44:38.596 DVB#0 CA: Adding stream: PCM, PID=4625
2005-01-08 19:44:38.596 DVB#0 CA: Sending CA_PMT with CPLM_ONLY to CI 
slot #0
2005-01-08 19:44:38.776 DVB#0 ANDERS - CA: s = 1
2005-01-08 19:44:38.776 DVB#0 ANDERS - CA: GetCaSystemIds returned NULL!
---------------------------------------------------------------

And this is when trying to watch an ecrypted channel

---------------------------------------------------------------
2005-01-08 19:46:50.352 Using profile 'Live TV' to record
2005-01-08 19:46:50.355 DVB#0 Recorder: Card opened successfully.
2005-01-08 19:46:50.357 DVB#0 AutoPID selecting PID 4102, Video
2005-01-08 19:46:50.357 DVB#0 AutoPID selecting PID 4358, PCM
2005-01-08 19:46:50.357 DVB#0 AutoPID selecting PID 4614, AC3
2005-01-08 19:46:50.357 DVB#0 AutoPID selecting PID 7942, Teletext
2005-01-08 19:46:50.357 DVB#0 AutoPID Complete - PAT/PMT Loaded for service
2005-01-08 19:46:50.357 DVB#0 Service has Conditional Access
2005-01-08 19:46:50.357 DVB#0 CA: SetPMT for ServiceID=1022
2005-01-08 19:46:50.357 DVB#0 Adding pid 4358
2005-01-08 19:46:50.359 DVB#0 Adding pid 4102
2005-01-08 19:46:50.360 2       ok
2005-01-08 19:46:50.368 DVB#0 Data read from DMX - This is for debugging 
with transform.c
2005-01-08 19:46:50.375 103      []:[] []:[] []:[] []:[] []:[] 
[]:[]SVT1[]:[]no...
2005-01-08 19:46:50.434 DVB#0 CA: CiHandler needs CA_PMT
2005-01-08 19:46:50.434 DVB#0 ANDERS - CA: ciHandler->NumSlots() = 2
2005-01-08 19:46:50.434 DVB#0 ANDERS - CA: s = 0
2005-01-08 19:46:50.434 DVB#0 CA: Creating CA_PMT, ServiceID=1022
2005-01-08 19:46:50.435 DVB#0 CA: Adding CA descriptor: CASID=0x500, ECM 
PID=774
2005-01-08 19:46:50.435 DVB#0 CA: Adding stream: Video, PID=4102
2005-01-08 19:46:50.435 DVB#0 CA: Adding stream: PCM, PID=4358
2005-01-08 19:46:50.435 DVB#0 CA: Adding stream: AC3, PID=4614
2005-01-08 19:46:50.435 DVB#0 CA: Adding stream: Teletext, PID=7942
2005-01-08 19:46:50.435 DVB#0 CA: Sending CA_PMT with CPLM_ONLY to CI 
slot #0
2005-01-08 19:46:50.614 DVB#0 ANDERS - CA: s = 1
2005-01-08 19:46:50.614 DVB#0 ANDERS - CA: GetCaSystemIds returned NULL!
2005-01-08 19:46:50.623 DVB#0 WARNING - Uncorrectable error in packet, 
dropped.
2005-01-08 19:46:51.055 DVB#0 WARNING - Uncorrectable error in packet, 
dropped.
2005-01-08 19:46:51.667 JobQueue::ProcessQueue() started
2005-01-08 19:46:51.668 JobQueue::RecoverQueue: Checking for unfinished 
jobs to recover.
2005-01-08 19:46:51.669 JobQueue::GetJobsInQueue: findJobs search 
bitmask 4, found 0 total jobs
2005-01-08 19:46:51.671 JobQueue::GetJobsInQueue: findJobs search 
bitmask 4, found 0 total jobs
2005-01-08 19:46:52.390 DVB#0 WARNING - Uncorrectable error in packet, 
dropped.
2005-01-08 19:46:52.856 DVB#0 CAM: Menu Title: Viaccess Module
2005-01-08 19:46:52.856 DVB#0 CAM: Menu SubTitle:
2005-01-08 19:46:52.856 DVB#0 CAM: Menu BottomText: OK to return to the 
Main menu
2005-01-08 19:46:52.856 DVB#0 CAM: Menu Entry: No right
2005-01-08 19:46:52.856 DVB#0 CAM: Selecting first entry
2005-01-08 19:46:54.500 DVB#0 WARNING - Uncorrectable error in packet, 
dropped.
---------------------------------------------------------------

/Anders Hanson


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 2005-01-06



More information about the mythtv-dev mailing list