[linux-dvb] Twinhan DTV Cab-CI support? SUCCESS (or kind of ;)!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rickard Borgm?ster wrote:
> On ons, 2005-09-21 at 02:09 +0159, Per Dal?n wrote:
> 
> 
>># cat /dev/dvb/adapter0/dvr0 > test04.mpeg
>>
>>SUCCESSS!!
>>The file test04.mpeg works and can be found here:
>>http://gd-willy.kicks-ass.org/per/dvb-tests/
>>
>>Thank you very much Manu for taking time to help me.
> 
> 
> Hej Per,
> 
> What Cable provider do you use? And do you have a proper CAM and program
> card to test if you can receive encrypted channels?

My Cabel provider is ComHem in Karlstad. I have a proper CAM and a
Viaccess Conax (do not remember whitch version) and it work in Window$.

When I said success I only ment for the uncrypted channels in Linux.

I use MythTV, but I am willing to test VDR if they have better support
for the CAM for my Twinhan card.

For the moment it is the utils in dvb-apps that I use. I made a little
patch to be able to do the test described in
dvb-kernel/linux/Documentation/dvb/ci.txt.

I do not know how to understand the results, but here is what I got:

root@darkstar:~# ./dvb-apps/util/szap/czap -c mychannels.conf SVT1 -x
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file 'mychannels.conf'
186 SVT1:290000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:4102:4358:1097
186 SVT1: f 290000000, s 6875000, i 2, fec 0, qam 3, v 0x1006, a 0x1106
status 00 | signal 0000 | snr 0000 | ber 00000004 | unc 00000000 |
status 1f | signal 8000 | snr 5f00 | ber 00000004 | unc 00000000 |
FE_HAS_LOCK
root@darkstar:~# ./dvb-apps/util/ca_zap/ca_zap -c ~/mychannels.conf -t
cab -s 0 -f 0 -n SVT1 -a 0
Using Adpater=[/dev/dvb/adapter0]
 Frontend=[/dev/dvb/adapter0/frontend0]
 Demux=[/dev/dvb/adapter0/demux0]
 Slot=[/dev/dvb/adapter0/ca0]
Parsing /root/mychannels.conf
Cable frontend
Service ID=[1097]
parse_pat: ----------------->parse PAT section
parse_pat: PAT => Section Length=[33], TS ID=[45]
parse_si: PMT PID = [262]
parse_si: PAT: Close Demux /dev/dvb/adapter0/demux0
parse_pmt: PMT Words=[ 02 b0 4e 04 49 df 00 00 f0 06 f0 17 09 04 0b 00
e3 76 09 0f 05 00 e3 06 10 01 00 13 01 40 14 03 00 88 00 02 f0 06 f0 00
03 f1 06 f0 06 0a 04 73 77 65 00 06 ff 06 f0 07 56 05 73 77 65 09 00 06
f2 06 f0 09 6a 01 00 0a 04 73 77 65 00 1d 64 66 72 ]

parse_pmt: ----------->parse PMT section, PMT PID=[262], bytes=[81]
parse_pmt_header: Table ID=[2], Section Length=[78], Program
Number=[1097], Section Number=[0], PCR PID=[4102], Program info length=[23]
parse_pmt: Program info length=[23]
INFO:: Parsing descriptor: parse_ca_descriptor, Tag=[09], Length=[4]
parse_ca_descriptor: Tag=[09], Length=[04], CA System=[b00], CA PID=[376]
parse_ca_descriptor: CA Private Data=[ ]
parse_ca_descriptor: Pos=[18]
parse_pmt: Count=[18], Position=[18], Program descriptor count=[23]
INFO:: Parsing descriptor: parse_ca_descriptor, Tag=[09], Length=[15]
parse_ca_descriptor: Tag=[09], Length=[0f], CA System=[500], CA PID=[306]
parse_ca_descriptor: CA Private Data=[ 10 01 00 13 01 40 14 03 00 88 00 ]
parse_ca_descriptor: Pos=[35]
parse_pmt: Count=[54], Position=[35], Program descriptor count=[23]

        parse_streams: Elements=[ 02 f0 06 f0 00]
        parse_streams: Stream=[0], Stream Type=[2], Elementary
PID=[4102], ES info length=[0]

        parse_streams: Elements=[ 03 f1 06 f0 06 0a 04 73 77 65 00]
        parse_streams: Stream=[1], Stream Type=[3], Elementary
PID=[4358], ES info length=[6]
INFO:: Parsing descriptor: parse_iso_639_language_descriptor, Tag=[0a],
Length=[4]

copy_en50221_pmt_object: Copying EN50221 Header
copy_en50221_pmt_object: Program Number=[1097], Program info length=[23]
copy_en50221_pmt_object: Program level descriptor count=[2]
copy_en50221_pmt_object: CA descriptor=[09] found, @ [0xbfc74804],
descriptor length=[0f]
        copy_en50221_descriptor_object: Tag=[09], Length=[0f], CA system
ID=[500], CA PID=[306]
copy_en50221_descriptor_object: Private bytes=[11] [ 10 01 00 13 01 40
14 03 00 88 00 ]
copy_en50221_pmt_object: [0] CA descriptor copied
copy_en50221_pmt_object: CA descriptor=[00] found, @ [0xbfc74804],
descriptor length=[00]
copy_en50221_stream_object: Stream Type=[2], Elementary PID=[4102], ES
length=[0], Number of descriptors=[0]
copy_en50221_stream_object: Stream Type=[3], Elementary PID=[4358], ES
length=[6], 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=[272], Total length=[34]
asn_1_encode: Length=[34]
asn_1_encode: length indicator=[22]
do_en50221_pmt_object: ASN.1 words=[1], Length Array=[  34 ]
en50221_encode_header: CA PMT List Mgmt=[3], Program Number=[1097],
Program info length=[23]
write_en50221_pmt_object: EN50221 header encoded
write_en50221_pmt_object: Program level descriptor @ [0x80520d0],
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=[306]
en50221_encode_descriptor: Private Bytes=[11] [ 10 01 00 13 01 40 14 03
00 88 00 ]
write_en50221_pmt_object: Program level descriptor @ [0x80520d0],
count=[2], tag=[00], length=[00]
write_en50221_pmt_object: Descriptor length=[0]
en50221_encode_streams: Stream type=[02], ES PID=[1006], ES Info length=[00]
en50221_encode_streams: Stream type=[03], ES PID=[1106], ES Info length=[06]
debug_message: CA MESSAGE=[ 9f 80 32 22 03 04 49 fd 10 17 01 09 0f 05 00
e3 06 10 01 00 13 01 40 14 03 00 88 00 02 f0 06 f0 00 03 f1 06 f0 00  ]


> 
> My orderplacing of this card just got a bit closer :-)

I'm not sure that I would recommend this card, but I havent tested any
other DVB card before, only analogue cards (mainly PVR 350).
I think that someone that has tested more DVB cards on Linux should make
that recommendation.
The result of the uncrypted channels in Linux is nice, but I do not have
anything else to compare it with.

> 
> Best regards,
> Rickard Borgm?ster

/Per

> 
> 
> _______________________________________________
> 
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvb-apps.patch
Type: text/x-patch
Size: 3060 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20050922/feac5a7b/dvb-apps-0001.bin

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux