[linux-dvb] Another Twinhan VP20310 problem: me too!: SUCCES!!! sort of...

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

 



Bas, Manu,

I have the fta channels working with the new drivers.
Now I have also a problem using the ca_zap tool for viewing encrypted
channels.

I have used the cvs video4linux tools.

Thanks for any help!

Using this command, and output with debug info:

./ca_zap -c /root/.mplayer/channels.conf -n "RTL 4" -t cab  

Using Adpater=[/dev/dvb/adapter0]
 Frontend=[/dev/dvb/adapter0/frontend0]
 Demux=[/dev/dvb/adapter0/demux0]
 Slot=[/dev/dvb/adapter0/ca0]
Parsing /root/.mplayer/channels.conf
Cable frontend
parse_cab_channel_list: Channel=[RTL 4], Frequency=[340000000],
Video=[2010], Audio=[2011], Service=[2010]
Service ID=[2010]
parse_pat: ----------------->parse PAT section
parse_pat: PAT => Section Length=[45], TS ID=[2]
parse_si: PMT PID = [2000]
parse_si: PAT: Close Demux /dev/dvb/adapter0/demux0
parse_pmt: PMT Data=[ 02 b0 40 07 da ff 00 00 e7 da f0 17 09 0f 05 00 e7 3b
10 01 00 13 01 20 14 03 00 a1 10 09 04 06 02 e7 3d 02 e7 da e0 00 04 e7 db
e0 06 0a 04 64 75 74 00 06 e7 ee f0 07 56 05 64 75 74 09 00 11 38 6e a1 ]

parse_pmt: PMT PID=[2000], length=[67]
parse_pmt_header: Table ID=[2], Section Length=[64], Program Number=[2010],
Section Number=[0], PCR PID=[2010], Program info length=[23]
parse_pmt: Program info length=[23]
-->parse_descriptor: Descriptor: Tag=[0x09], Length=[15]
--->parse_ca_descriptor: Parsing CA Descriptor
--->parse_ca_descriptor: CA System=[500], CA PID=[73b]
--->parse_ca_descriptor: CA Private Data=[ 10 01 00 13 01 20 14 03 00 a1 10
]
-->parse_descriptor: Descriptor: Tag=[0x09], Length=[4]
--->parse_ca_descriptor: Parsing CA Descriptor
--->parse_ca_descriptor: CA System=[602], CA PID=[73d]
--->parse_ca_descriptor: CA Private Data=[ ]
parse_pmt: Parsing stream 0:
->parse_streams: Elements=[ 02 e7 da e0 00]
->parse_streams: Stream=[0], Stream Type=[2], Elementary PID=[2010], ES info
length=[0]
parse_pmt: Parsing stream 1:
->parse_streams: Elements=[ 04 e7 db e0 06 0a 04 64 75 74 00]
->parse_streams: Stream=[1], Stream Type=[4], Elementary PID=[2011], ES info
length=[6]
->parse_streams: Parsing descriptor 1:
-->parse_descriptor: Descriptor: Tag=[0x0a], Length=[4]
--->parse_iso_639_language_descriptor: Parsing ISO 639 Language Descriptor
parse_pmt: Parsing stream 2:
->parse_streams: Elements=[ 06 e7 ee f0 07 56 05 64 75 74 09 00]
->parse_streams: Stream=[2], Stream Type=[6], Elementary PID=[2030], ES info
length=[7]
->parse_streams: Parsing descriptor 1:
-->parse_descriptor: Descriptor: Tag=[0x56], Length=[5]
--->parse_teletext_descriptor: Parsing Teletext Descriptor

copy_en50221_pmt_object: Copying EN50221 Header
copy_en50221_pmt_object: Program Number=[2010]
copy_en50221_pmt_object: Program level descriptor count=[2]
copy_en50221_pmt_object: CA descriptor=[09] found, @ [0xbff32884],
descriptor length=[0f]
	copy_en50221_descriptor_object: Tag=[09], Length=[0f], CA system
ID=[500], CA PID=[73b]
copy_en50221_descriptor_object: Private bytes=[11] [ 10 01 00 13 01 20 14 03
00 a1 10 ]
copy_en50221_pmt_object: [0] CA descriptor copied
copy_en50221_pmt_object: CA descriptor=[09] found, @ [0xbff32884],
descriptor length=[04]
	copy_en50221_descriptor_object: Tag=[09], Length=[04], CA system
ID=[602], CA PID=[73d]
copy_en50221_descriptor_object: Private bytes=[0] [ ]
copy_en50221_pmt_object: [1] CA descriptor copied
copy_en50221_stream_object: Stream Type=[2], Elementary PID=[2010], ES
length=[0], Number of descriptors=[0]
copy_en50221_stream_object: Stream Type=[4], Elementary PID=[2011], ES
length=[6], Number of descriptors=[1]
copy_en50221_stream_object: Stream Type=[6], Elementary PID=[2030], ES
length=[7], Number of descriptors=[1]
do_en50221_pmt_object: CA PMT List Management=[03]
set_pmt_command: Setting PMT Command
set_pmt_command: CA descriptor(s) found @ PROGRAM Level, Setting CA PMT
command=[01]
do_en50221_pmt_object: Object length=[360], Total length=[45]
asn_1_encode: Length=[45]
asn_1_encode: length indicator=[2d]
do_en50221_pmt_object: ASN.1 words=[1], Length Array=[  45 ]
en50221_encode_header: CA PMT List Mgmt=[3], Program Number=[2010], Program
info length=[24]
write_en50221_pmt_object: EN50221 header encoded
encode_ca_pmt_command: Encoding SCRAMBLING @ PROGRAM Level, Command=[01]
write_en50221_pmt_object: Program level descriptor @ [0x8054088], count=[2],
tag=[09], length=[0f]
en50221_encode_descriptor: Tag=[09], length=[0f], CA system id=[500], CA
PID=[73b]
en50221_encode_descriptor: Private Bytes=[11] [ 10 01 00 13 01 20 14 03 00
a1 10 ]
write_en50221_pmt_object: Program level descriptor @ [0x8054088], count=[2],
tag=[09], length=[04]
en50221_encode_descriptor: Tag=[09], length=[04], CA system id=[602], CA
PID=[73d]
en50221_encode_descriptor: Private Bytes=[0] [ ]
en50221_encode_streams: Stream type=[02], ES PID=[7da], ES Info length=[00]
en50221_encode_streams: Stream type=[04], ES PID=[7db], ES Info length=[06]
en50221_encode_streams: Stream type=[06], ES PID=[7ee], ES Info length=[07]
debug_message: CA MESSAGE=[ 9f 80 32 2d 03 07 da ff 30 18 01 09 0f 05 00 e7
3b 10 01 00 13 01 20 14 03 00 a1 10 09 04 06 02 e7 3d 02 e7 da e0 00 04 e7
db e0 00 06 e7 ee f0 00  ] 


-----Original Message-----
From: Bas Neggers [mailto:Dr_bazz@xxxxxxx] 
Sent: dinsdag 10 januari 2006 23:30
To: abraham.manu@xxxxxxxxx
Cc: linux-dvb@xxxxxxxxxxx
Subject: [linux-dvb] Another Twinhan VP20310 problem: me too!: SUCCES!!!
sort of...

Sorry folks for the confusion: it now works! Encrypted channels on TwinHan
VP 2031!

I had to use 

./ca_zap -c ~/.xine/channels.conf -n "ZDF" -t cab 

(forgot the -n)

works smoothly, I now am gonna try MythTV with it (don't want my girl to be
hackin around in terminal ;-) ).

Great work,

Bas





> Dear Manu,

> I tested if dst_test recognizes my CI module as follows:

------
[root@mediapc dst-utils]# ./dst_test -c
main: Capabilities
APP: Slots=[1]
APP: Type=[1]
APP: Descrambler keys=[1]
APP: Type=[1]
[root@mediapc dst-utils]# ./dst_test -i
main: Info
APP: Number=[1]
APP: Type=[1]
APP: flags=[1]
APP: CI High level interface
APP: CA/CI Module Present
[root@mediapc dst-utils]# ./dst_test -p
main: PID
dst_set_pid: ioctl failed ..
[root@mediapc dst-utils]# ./dst_test -t
main: Session test
Debugging open session request
[root@mediapc dst-utils]# ./dst_test -g
main: Get Desc
dst_get_descr: ioctl failed ..
------

Then I tuned to a channel:

----
root@mediapc szap]# ./czap -r -c ~/.xine/channels.conf "ZDF"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
reading channels from file '/root/.xine/channels.conf'
102 ZDF:420000000:INVERSION_AUTO:6875000:FEC_NONE:QAM_64:5910:5911:12009
102 ZDF: f 420000000, s 6875000, i 2, fec 0, qam 3, v 0x1716, a 0x1717
status 00 | signal 0000 | snr 0000 | ber bff50e18 | unc bff50ebc | status 1f
| signal 8000 | snr 6200 | ber bff50e18 | unc bff50ebc | FE_HAS_LOCK status
1f | signal 8000 | snr 6200 | ber bff50e18 | unc bff50ebc | FE_HAS_LOCK
status 1f | signal 8000 | snr 6200 | ber bff50e18 | unc bff50ebc |
FE_HAS_LOCK status 1f | signal 8000 | snr 6200 | ber bff50e18 | unc bff50ebc
| FE_HAS_LOCK status 1f | signal 8000 | snr 6200 | ber bff50e18 | unc
bff50ebc | FE_HAS_LOCK status 1f | signal 8000 | snr 6200 | ber bff50e18 |
unc bff50ebc | FE_HAS_LOCK status 1f | signal 8000 | snr 6200 | ber bff50e18
| unc bff50ebc | FE_HAS_LOCK status 1f | signal 8000 | snr 6200 | ber
bff50e18 | unc bff50ebc | FE_HAS_LOCK status 1f | signal 8000 | snr 6200 |
ber bff50e18 | unc bff50ebc | FE_HAS_LOCK status 1f | signal 8000 | snr 6200
| ber bff50e18 | unc bff50ebc | FE_HAS_LOCK status 1f | signal 8000 | snr
6200 | ber bff50e18 | unc bff50ebc | FE_HAS_LOCK status 1f | signal 8000 |
snr 6200 | ber bff50e18 | unc bff50ebc | FE_HAS_LOCK status 1f | signal 8000
| snr 6200 | ber bff50e18 | unc bff50ebc | FE_HAS_LOCK status 1f | signal
8000 | snr 6200 | ber bff50e18 | unc bff50ebc | FE_HAS_LOCK
-------

I then (in another xterm) tried ca_zap as follows:

-----
./ca_zap -c ~/.xine/channels.conf "ZDF" -t cab Using
Adpater=[/dev/dvb/adapter0]  Frontend=[/dev/dvb/adapter0/frontend0]
 Demux=[/dev/dvb/adapter0/demux0]
 Slot=[/dev/dvb/adapter0/ca0]
Parsing /root/.xine/channels.conf
Cable frontend
Service ID=[3009]
parse_pat: ----------------->parse PAT section
parse_pat: PAT => Section Length=[45], TS ID=[12]
parse_si: PAT: Close Demux /dev/dvb/adapter0/demux0
------

Tried mplayer as follows (this way I can see FTA channels) on an encrypted
channel, without success:

---
[root@mediapc ~]# mplayer - < /dev/dvb/adapter0/dvr0 MPlayer
1.0pre7try2-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping:
1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0


Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory Can't
init input joystick Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing -.
Reading from stdin...
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1, PROBING UP TO
2000000, PROG: 0 NO VIDEO! NO AUDIO!  NO SUBS (yet)!
Opened TS demuxer, audio: ffffffff(pid -1), video: ffffffff(pid -1)...POS=0
No stream found.


Exiting... (End of file)
----


So apparently ca_zap is not able to tell my CI module to decrypt the stream
... do I need a very recent version of dvb-apps? Or is my module not
recognized correctly?

Thanks again!

Bas
 

> --- Urspr?ngliche Nachricht ---
> Von: "Neggers, S.F.W.  \(Bas\)" <S.F.W.Neggers@xxxxxxxxx>
> An: <dr_bazz@xxxxxxx>
> Betreff: FW: [linux-dvb] Another Twinhan VP20310 problem: me too!:
> SUCCES!!! sort	of...
> Datum: Tue, 10 Jan 2006 23:00:38 +0100
> 
> 
> 
> -----Oorspronkelijk bericht-----
> Van: Manu Abraham [mailto:abraham.manu@xxxxxxxxx]
> Verzonden: di 10-1-2006 15:41
> Aan: Bas Neggers
> CC: linux-dvb@xxxxxxxxxxx
> Onderwerp: Re: [linux-dvb] Another Twinhan VP20310 problem: me too!:
> SUCCES!!! sort	of...
>  
> Bas Neggers wrote:
> 
> >Update: 
> >
> >as seen before on
> >http://www.linuxtv.org/pipermail/linux-dvb/2005-September/004871.html
> >, tuning, scanning and viewing of FTA channels now seem to work 
> >(using
> Xine).
> >But now the encrypted channels seem to be unavailable, xine does not 
> >show them (buffering 100% > 0% > game over). We have about 10 FTA on 
> >cable
> here,
> >rest is encrypted :(
> >I have a CI module (AlphaCrypt 3.05) and Smart Card, they work under
> windows
> >(with Software and drivers from TwinHan only) since I can watch all 
> >encrypted channels.
> >
> >So apparently the CI module isn't working properly in linux, or am I
> missing
> >something? 
> >
> 
> To view scrambled channels, you need to use a userspace application to 
> enable the descrambling, you can try ca_zap out for that. Before that 
> you can check whether your module is recognized by using the dst_test 
> application to get the module status.
> 
> You can also go through the the documentation,

>
http://www.linuxtv.org/cgi-bin/viewcvs.cgi/dvb-kernel/linux/Documentation/dv
b/ci.txt?rev=1.4&view=markup
> 
> 
> Manu
> 
> 
> 

--
------------------------------------------------------------
?Dr. S.F.W. Neggers
?Helmholtz Institute, dept. of Psychonomics ?Utrecht University
?Heidelberglaan 2, 3584 CS, Utrecht, the Netherlands
?Tel: (+32) 30 2534582  Fax: (+31) 30-2534511
?E-mail: B.neggers@xxxxxxxxx
?WWW: http://www.fss.uu.nl/psn/pionier
------------------------------------------------------------

Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

--
------------------------------------------------------------
?Dr. S.F.W. Neggers
?Helmholtz Institute, dept. of Psychonomics ?Utrecht University
?Heidelberglaan 2, 3584 CS, Utrecht, the Netherlands
?Tel: (+32) 30 2534582  Fax: (+31) 30-2534511
?E-mail: B.neggers@xxxxxxxxx
?WWW: http://www.fss.uu.nl/psn/pionier
------------------------------------------------------------

Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie



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

  Powered by Linux