[linux-dvb] [ANNOUNCE] CA_ZAP

Oivind oivindg at gmail.com
Thu Jun 23 15:14:45 CEST 2005


Here is PMT, PAT and dst info. Probably looks like hell with this
editor.. Can't see anything wrong here.


 # ./dst_test -a
main: App Info
dst_comms: Msg=[9f 80 20 ]
dst_comms: Msg=[9f 80 21 ]
dst_get_app_info: ================================ CI Module
Application Info ======================================
dst_get_app_info: Application Type=[1], Application Vendor=[2816],
Vendor Code=[1201]
dst_get_app_info: Application info=[Conax 4.00e]
dst_get_app_info:
==================================================================================================


PMT table from dvbsnoop:

------------------------------------------------------------
SECT-Packet: 00000001   PID: 263 (0x0107), Length: 134 (0x0086)
Time received: Thu 2005-06-23  16:03:26.127
------------------------------------------------------------
  0000:  02 b0 83 05 e4 c1 00 00  e2 02 f0 06 09 04 0b 00   ................
  0010:  e5 05 02 e2 02 f0 05 02  03 1a 48 5f 04 e2 9c f0   ..........H_....
  0020:  09 03 01 67 0a 04 6e 6f  72 00 04 e2 9d f0 09 03   ...g..nor.......
  0030:  01 67 0a 04 75 6e 64 00  06 e2 42 f0 07 56 05 6e   .g..und...B..V.n
  0040:  6f 72 09 00 c0 e3 50 f0  31 c6 05 00 00 05 01 ff   or....P.1.......
  0050:  c2 28 53 43 41 5f 45 50  47 32 53 43 41 5f 5f 53   .(SCA_EPG2SCA__S
  0060:  45 53 53 43 41 5f 45 50  47 31 53 43 41 5f 5f 43   ESSCA_EPG1SCA__C
  0070:  48 4c 45 50 47 5f 4c 4f  41 44 0b e8 fb f0 03 52   HLEPG_LOAD.....R
  0080:  01 02 ba 2e ab 2a                                  .....*

PID:  263 (0x0107)
Guess table from table id...
PMT-decoding....
Table_ID: 2 (0x02)  [= Program Map Table (PMT)]
section_syntax_indicator: 1 (0x01)
(fixed '0'): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 131 (0x0083)
Program_number: 1508 (0x05e4)
reserved_2: 3 (0x03)
Version_number: 0 (0x00)
current_next_indicator: 1 (0x01)  [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)
reserved_3: 7 (0x07)
PCR PID: 514 (0x0202)
reserved_4: 15 (0x0f)
Program_info_length: 6 (0x0006)

        MPEG-DescriptorTag: 9 (0x09)  [= CA_descriptor]
        Descriptor_length: 4 (0x04)
        CA_system_ID: 2816 (0x0b00)  [= Norwegian Telekom (Conax)]
        reserved: 7 (0x07)
        CA_PID: 1285 (0x0505)

Stream_type loop:

    Stream_type: 2 (0x02)  [= ITU-T Rec. H.262 | ISO/IEC 13818-2 Video
| ISO/IEC 11172-2 constr. parameter video stream]
    reserved_1: 7 (0x07)
    Elementary_PID: 514 (0x0202)
    reserved_2: 15 (0x0f)
    ES_info_length: 5 (0x0005)

            MPEG-DescriptorTag: 2 (0x02)  [= video_stream_descriptor]
            Descriptor_length: 3 (0x03)
            multiple_frame_rate_flag: 0 (0x00)
            frame_rate_code: 3 (0x0003)
            MPEG_1_only_flag: 0 (0x00)
            constrained_parameter_flag: 1 (0x01)
            still_picture_flag: 0 (0x00)


    Stream_type: 4 (0x04)  [= ISO/IEC 13818-3 Audio]
    reserved_1: 7 (0x07)
    Elementary_PID: 668 (0x029c)
    reserved_2: 15 (0x0f)
    ES_info_length: 9 (0x0009)

            MPEG-DescriptorTag: 3 (0x03)  [= audio_stream_descriptor]
            Descriptor_length: 1 (0x01)
            free_format_flag: 0 (0x00)
            ID: 1 (0x01)
            layer: 2 (0x02)
            variable_rate_audio_indicator: 0 (0x00)
            reserved_1: 7 (0x07)

            MPEG-DescriptorTag: 10 (0x0a)  [= ISO_639_language_descriptor]
            Descriptor_length: 4 (0x04)
               ISO639_language_code:  nor
               Audio_type: 0 (0x00)  [= undefined]



    Stream_type: 4 (0x04)  [= ISO/IEC 13818-3 Audio]
    reserved_1: 7 (0x07)
    Elementary_PID: 669 (0x029d)
    reserved_2: 15 (0x0f)
    ES_info_length: 9 (0x0009)

            MPEG-DescriptorTag: 3 (0x03)  [= audio_stream_descriptor]
            Descriptor_length: 1 (0x01)
            free_format_flag: 0 (0x00)
            ID: 1 (0x01)
            layer: 2 (0x02)
            variable_rate_audio_indicator: 0 (0x00)
            reserved_1: 7 (0x07)

            MPEG-DescriptorTag: 10 (0x0a)  [= ISO_639_language_descriptor]
            Descriptor_length: 4 (0x04)
               ISO639_language_code:  und
               Audio_type: 0 (0x00)  [= undefined]



    Stream_type: 6 (0x06)  [= ITU-T Rec. H.222.0 | ISO/IEC 13818-1 PES
packets containing private data]
    reserved_1: 7 (0x07)
    Elementary_PID: 578 (0x0242)
    reserved_2: 15 (0x0f)
    ES_info_length: 7 (0x0007)

            DVB-DescriptorTag: 86 (0x56)  [= teletext_descriptor]
            Descriptor_length: 5 (0x05)
               ISO639_language_code:  nor
               Teletext_type: 1 (0x01)  [= initial teletext page]
               Teletext_magazine_number: 1 (0x01)
               Teletext_page_number: 0 (0x00)



    Stream_type: 192 (0xc0)  [= User private]
    reserved_1: 7 (0x07)
    Elementary_PID: 848 (0x0350)
    reserved_2: 15 (0x0f)
    ES_info_length: 49 (0x0031)

            DVB-DescriptorTag: 198 (0xc6)  [= User defined]
            Descriptor_length: 5 (0x05)
            Descriptor-data:
                 0000:  00 00 05 01 ff                                     .....

            DVB-DescriptorTag: 194 (0xc2)  [= User defined]
            Descriptor_length: 40 (0x28)
            Descriptor-data:
                 0000:  53 43 41 5f 45 50 47 32  53 43 41 5f 5f 53 45
53   SCA_EPG2SCA__SES
                 0010:  53 43 41 5f 45 50 47 31  53 43 41 5f 5f 43 48
4c   SCA_EPG1SCA__CHL
                 0020:  45 50 47 5f 4c 4f 41 44                       
    EPG_LOAD


    Stream_type: 11 (0x0b)  [= ISO/IEC 13818-6 DSM-CC U-N Messages]
    reserved_1: 7 (0x07)
    Elementary_PID: 2299 (0x08fb)
    reserved_2: 15 (0x0f)
    ES_info_length: 3 (0x0003)

            DVB-DescriptorTag: 82 (0x52)  [= stream_identifier_descriptor]
            Descriptor_length: 1 (0x01)
            component_tag: 2 (0x02)

CRC: 3123620650 (0xba2eab2a)
==========================================================





------------------------------------------------------------
SECT-Packet: 00000001   PID: 0 (0x0000), Length: 112 (0x0070)
Time received: Thu 2005-06-23  16:06:02.566
------------------------------------------------------------
  0000:  00 b0 6d 00 0f c3 00 00  00 00 e0 10 05 dd e1 00   ..m.............
  0010:  05 de e1 01 05 df e1 02  05 e0 e1 03 05 e1 e1 04   ................
  0020:  05 e3 e1 06 05 e4 e1 07  05 e5 e1 08 05 e6 e1 0a   ................
  0030:  05 e7 e1 0c 05 ea e1 11  05 eb e1 12 05 ec e1 13   ................
  0040:  05 ed e1 14 01 ff e1 15  00 76 e1 05 05 ee e1 16   .........v......
  0050:  05 f0 e1 17 05 f1 e1 18  05 f2 e1 19 05 f3 e1 1a   ................
  0060:  05 f4 e1 1b 05 f7 e1 1c  05 f9 e1 1d da a5 7f bf   ................

PID:  0 (0x0000)  [= assigned for: ISO 13818-1 Program Association Table (PAT)]
Guess table from table id...
PAT-decoding....
Table_ID: 0 (0x00)  [= Program Association Table (PAT)]
section_syntax_indicator: 1 (0x01)
(fixed): 0 (0x00)
reserved_1: 3 (0x03)
Section_length: 109 (0x006d)
Transport_Stream_ID: 15 (0x000f)
reserved_2: 3 (0x03)
Version_number: 1 (0x01)
current_next_indicator: 1 (0x01)  [= valid now]
Section_number: 0 (0x00)
Last_Section_number: 0 (0x00)

    Program_number: 0 (0x0000)
    reserved: 7 (0x07)
    Network_PID: 16 (0x0010)

    Program_number: 1501 (0x05dd)
    reserved: 7 (0x07)
    Program_map_PID: 256 (0x0100)

    Program_number: 1502 (0x05de)
    reserved: 7 (0x07)
    Program_map_PID: 257 (0x0101)

    Program_number: 1503 (0x05df)
    reserved: 7 (0x07)
    Program_map_PID: 258 (0x0102)

    Program_number: 1504 (0x05e0)
    reserved: 7 (0x07)
    Program_map_PID: 259 (0x0103)

    Program_number: 1505 (0x05e1)
    reserved: 7 (0x07)
    Program_map_PID: 260 (0x0104)

    Program_number: 1507 (0x05e3)
    reserved: 7 (0x07)
    Program_map_PID: 262 (0x0106)

    Program_number: 1508 (0x05e4)
    reserved: 7 (0x07)
    Program_map_PID: 263 (0x0107)

    Program_number: 1509 (0x05e5)
    reserved: 7 (0x07)
    Program_map_PID: 264 (0x0108)

    Program_number: 1510 (0x05e6)
    reserved: 7 (0x07)
    Program_map_PID: 266 (0x010a)

    Program_number: 1511 (0x05e7)
    reserved: 7 (0x07)
    Program_map_PID: 268 (0x010c)

    Program_number: 1514 (0x05ea)
    reserved: 7 (0x07)
    Program_map_PID: 273 (0x0111)

    Program_number: 1515 (0x05eb)
    reserved: 7 (0x07)
    Program_map_PID: 274 (0x0112)

    Program_number: 1516 (0x05ec)
    reserved: 7 (0x07)
    Program_map_PID: 275 (0x0113)

    Program_number: 1517 (0x05ed)
    reserved: 7 (0x07)
    Program_map_PID: 276 (0x0114)

    Program_number: 511 (0x01ff)
    reserved: 7 (0x07)
    Program_map_PID: 277 (0x0115)

    Program_number: 118 (0x0076)
    reserved: 7 (0x07)
    Program_map_PID: 261 (0x0105)

    Program_number: 1518 (0x05ee)
    reserved: 7 (0x07)
    Program_map_PID: 278 (0x0116)

    Program_number: 1520 (0x05f0)
    reserved: 7 (0x07)
    Program_map_PID: 279 (0x0117)

    Program_number: 1521 (0x05f1)
    reserved: 7 (0x07)
    Program_map_PID: 280 (0x0118)

    Program_number: 1522 (0x05f2)
    reserved: 7 (0x07)
    Program_map_PID: 281 (0x0119)

    Program_number: 1523 (0x05f3)
    reserved: 7 (0x07)
    Program_map_PID: 282 (0x011a)

    Program_number: 1524 (0x05f4)
    reserved: 7 (0x07)
    Program_map_PID: 283 (0x011b)

    Program_number: 1527 (0x05f7)
    reserved: 7 (0x07)
    Program_map_PID: 284 (0x011c)

    Program_number: 1529 (0x05f9)
    reserved: 7 (0x07)
    Program_map_PID: 285 (0x011d)

CRC: 3668279231 (0xdaa57fbf)
==========================================================

Oivind


On 6/23/05, Manu Abraham <manu at kromtek.com> wrote:
> Oivind wrote:
> > Hi.
> >
> > What is that ASIC bug below??
> 
> Oh, that's a workaround.. Just to know that the workaround is in place
> .. A firmware bug, not all cards do have the bug, my DSTMCI has it,
> hence i have it only for the DSTMCI..
> 
> > Though it reports success, it doesn't look like unscrambling works.
> > I have a VisionPlus VisionDST SAT-CI card with Conax CI.
> >
> > dst_ca_ioctl: Sending message
> > ca_send_message
> > ca_send_message:Command=[0x9f8032]
> > Command = SEND_CA_PMT
> > asn_1_decode: Length field=[12]
> > asn_1_decode: Length=[12]
> > ca_set_pmt: CA Message length=[18]
> > ca_set_pmt: ASN.1  String=[ 03 05 e4 01 10 06 01 09 04 0b 00 e5 05 02
> > e2 02 f0 05 ]
> > copy_string: Copying [ 03 05 e4 01 10 06]
> > ca_set_pmt: Probably an ASIC bug !!!
> > String=[ 19 40 03 00 03 12 00 03 05 e4 01 00 06 00 00 0000 00 00 ]
> > ca_set_pmt: Program info length=[06]
> > copy_string: Copying [ 01 09 04 0b 00 e5 05]
> > copy_string: Copying [ 02 e2 02 f0 05]
> > ca_set_pmt: ES info length=[500]
> > ca_set_pmt: Descriptors @ STREAM level...!!!
> > String=[ 19 40 03 00 03 12 00 03 05 e4 01 00 07 01 09 040b 00 e5 05 02
> > e2 02 00 05 ad ]
> 
> can you get a dump of the PMT  ? with dvbsnoop or test_sections or
> something .. ?
> 
> Do you get a proper CAM application_info dst_test -a does that ..
> 
> 
> 
> Manu
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb
>




More information about the linux-dvb mailing list