[linux-dvb] TechniSat Skystar 1 CI (Twinhan clone) ca_zap not working

Paul Sokolovsky paul at maxnet.ru
Sat Jul 2 18:22:28 CEST 2005


Hello,

I have a TechniSat Skystar 1 CI card 
(http://www.technisat.com/?site=produkte/produkteview.php&kid=1,29&pid=1491).
I installed latest CVS drivers to play with ca_zap (huge thanks to Manu for 
that) but had no luck yet.
I have also a lot of problems with diseq and tuning - will post them later 
when I will finally understand any logic in this.
Right now I am more interested in making my CI/CAM to work.

I have a Viacess CAM (Redcam ? - don't know exactly but it is really red) 
and a Viaccess smartcard from NTV+ provider (on Eutelsat W4):
# ./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=[1280], Vendor 
Code=[1280]
dst_get_app_info: Application info=[Viaccess]
dst_get_app_info: 
==================================================================================================

The line in the channels.conf is looks lile:

Eurosport:12380:h:0:27500:320:400:10201

# ./szap -c channels.conf -n 1
reading channels from file 'channels.conf'
zapping to 1 'Eurosport':
sat 0, frequency = 12380 MHz H, symbolrate 27500000, vpid = 0x0140, apid = 
0x0190 sid = 0x27d9
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
status 1f | signal 0000 | snr 0000 | ber fffffffe | unc fffffffe | 
FE_HAS_LOCK

# ./ca_zap -c channels.conf -t sat -n "Eurosport"
Using Adpater=[/dev/dvb/adapter0]
 Frontend=[/dev/dvb/adapter0/frontend0]
 Demux=[/dev/dvb/adapter0/demux0]
 Slot=[/dev/dvb/adapter0/ca0]
Parsing channels.conf
Satellite frontend
parse_sat_channel_list: Channel=[Eurosport], Frequency=[12380], 
Satellite=[0], Symbol Rate=[27500], Video=[320], Audio=[400], 
Service=[10201]
Service ID=[10201]
parse_pat: ----------------->parse PAT section
parse_pat: PAT => Section Length=[65], TS ID=[2]
parse_si: PMT PID = [110]
parse_si: PAT: Close Demux /dev/dvb/adapter0/demux0
parse_pmt: PMT Words=[ 02 b0 3f 27 d9 ff 00 00 e1 40 f0 22 09 0f 05 00 f7 71 
10 01 00 13 01 20 14 03 02 07 10 09 0f 05 00 e7 d1 10 01 00 13 01 20 14 03 
02 07 00 02 e1 40 f0 03 52 01 01 04 e1 90 f0 03 52 01 02 b1 e3 8e 3d ]

parse_pmt: ----------->parse PMT section, PMT PID=[110], bytes=[66]
parse_pmt_header: Table ID=[2], Section Length=[63], Program Number=[10201], 
Section Number=[0], PCR PID=[320], Program info length=[34]
parse_pmt: Program info length=[34]
INFO:: Parsing descriptor: parse_ca_descriptor, Tag=[09], Length=[15]
parse_ca_descriptor: Tag=[09], Length=[0f], CA System=[500], CA PID=[1771]
parse_ca_descriptor: CA Private Data=[ 10 01 00 13 01 20 14 03 02 07 10 ]
parse_ca_descriptor: Pos=[29]
parse_pmt: Count=[29], Position=[29], Program descriptor count=[34]
INFO:: Parsing descriptor: parse_ca_descriptor, Tag=[09], Length=[15]
parse_ca_descriptor: Tag=[09], Length=[0f], CA System=[500], CA PID=[7d1]
parse_ca_descriptor: CA Private Data=[ 10 01 00 13 01 20 14 03 02 07 00 ]
parse_ca_descriptor: Pos=[46]
parse_pmt: Count=[76], Position=[46], Program descriptor count=[34]

        parse_streams: Elements=[ 02 e1 40 f0 03 52 01 01]
        parse_streams: Stream=[0], Stream Type=[2], Elementary PID=[320], ES 
info length=[3]
INFO:: Parsing descriptor: parse_hierarchy_descriptor, Tag=[04], 
Length=[225]

copy_en50221_pmt_object: Copying EN50221 Header
copy_en50221_pmt_object: Program Number=[10201], Program info length=[34]
copy_en50221_pmt_object: Program level descriptor count=[2]
copy_en50221_pmt_object: CA descriptor=[09] found, @ [0xbff8003c], 
descriptor length=[0f]
        copy_en50221_descriptor_object: Tag=[09], Length=[0f], CA system 
ID=[500], CA PID=[7d1]
copy_en50221_descriptor_object: Private bytes=[11] [ 10 01 00 13 01 20 14 03 
02 07 00 ]
copy_en50221_pmt_object: [0] CA descriptor copied
copy_en50221_pmt_object: CA descriptor=[00] found, @ [0xbff8003c], 
descriptor length=[00]
copy_en50221_stream_object: Stream Type=[2], Elementary PID=[320], ES 
length=[3], Number of descriptors=[0]
do_en50221_pmt_object: CA PMT List Management=[03]
set_pmt_command: Setting PMT Command
set_pmt_command: CA descriptor found @ PROGRAM Level, Setting CA PMT 
command=[01]
do_en50221_pmt_object: Object length=[232], Total length=[29]
asn_1_encode: Length=[29]
asn_1_encode: length indicator=[1d]
do_en50221_pmt_object: ASN.1 words=[1], Length Array=[  29 ]
en50221_encode_header: CA PMT List Mgmt=[3], Program Number=[10201], Program 
info length=[34]
write_en50221_pmt_object: EN50221 header encoded
write_en50221_pmt_object: Program level descriptor @ [0x8052088], count=[2], 
tag=[09], length=[0f]
encode_ca_pmt_command: Encoding SCRAMBLING @ PROGRAM Level, Command=[01]
en50221_encode_descriptor: Tag=[09], length=[0f], CA system id=[500], CA 
PID=[7d1]
en50221_encode_descriptor: Private Bytes=[11] [ 10 01 00 13 01 20 14 03 02 
07 00 ]
write_en50221_pmt_object: Program level descriptor @ [0x8052088], count=[2], 
tag=[00], length=[00]
write_en50221_pmt_object: Descriptor length=[0]
en50221_encode_streams: Stream type=[02], ES PID=[140], ES Info length=[03]
debug_message: CA MESSAGE=[ 9f 80 32 1d 03 27 d9 fd 10 22 01 09 0f 05 00 e7 
d1 10 01 00 13 01 20 14 03 02 07 00 02 e1 40 f0 00  ]

Is there anything wrong in this output?

And another question is: why there is only one element in parse_streams of 
type 2 (pid 320)? Where is the second one of type 4 (pid 400)? In some 
previous posts I saw all the elements in ca_zap's output.

Please advise.

Regards,

Paul Sokolovsky
-------------------
paul at maxnet.ru





More information about the linux-dvb mailing list