<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=245080022-20112005>Hi
all,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=245080022-20112005>Over the last couple
of days, I have been able to get mythtv-stable to compile and actually display
live TV from satellite. The only thing I that's keeping me from buying on of
those big 24" Dell screens to watch TV through mythv is that I cannot access my
official Seca card. The card is for Canal Digitaal, which is a Dutch satellite
provider. The card resides in my Dreambox 7000-S. And no, it is not an option to
put the card in the Nexus-S CI, for several reasons.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=245080022-20112005>I have applied a
patch to dvbcam.c to call newcamd (using newcamd 6.04) on a channel change.
Newcamd does respond when switching channels (see below), but there's no
image, no sound. It does recognize an unencrypted channel,
though.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=245080022-20112005>Hopefully somebody
can help me here: I'd really like to put MythTV into my living
room!</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005>Cheers,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005>Koen</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=245080022-20112005></SPAN></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=245080022-20112005>[root@linux
~]#<BR>PAT - Sun Nov 20 23:05:52 CET
2005<BR>----------------------------------<BR>0000 : 00 b0 41 04 51 e1 00 00 00
00 e0 10 0f a5 e3 ed A Q<BR>0010 : 0f a6 e3 ee 0f a7 e3 ef 0f
a9 e3 f1 0f ab e3 f3<BR>0020 : 0f ac e3 f4 0f ad e3 f5 1c 1f e4 4c 05 dd e5
dc
L<BR>0030 : 0f af e3 f7 0f b4 e3 fc 0f be e4 06 0f c3 e4 0b<BR>0040 : 1b ff ec
21
!</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=245080022-20112005>[newcamd-v6.04 23:05:52] start decoding servid 0fac,
pmt 03f4.</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=245080022-20112005>PMT 03f4 -
Sun Nov 20 23:05:52 CET 2005<BR>---------------------------------------<BR>0000
: 02 b0 8f 0f ac f7 00 00 ff fe f0 06 09 04 06
22
"<BR>0010 : e5 68 c6 e1 98 f0 00 02 e2 06 f0 13 09 11 01 00
h<BR>0020 : e6 44 00 6a ff 00 00 00 00 00 00 02 14 1f 74 04 D
j t<BR>0030 : e0 5c f0 19
0a 04 64 75 74 00 09 11 01 00 e6 44 \
dut D<BR>0040 : 00 6a ff 00 00 00 00 00 00 02 14
1f 74 06 e0 23
j t #<BR>0050 : f0
07 56 05 64 75 74 09 00 c0 e0 d0 f0 21 c6 05 V
dut !<BR>0060 : 00 00 10 04 ff c2 18 4e 45 44 5f
5f 45 50 47 4e NED__EPGN<BR>0070
: 45 44 5f 5f 50 49 4c 4e 45 44 5f 5f 43 48 4c c1 ED__PILNED__CHL<BR>0080
: e0 fa f0 0a c2 08 50 49 4c 4f 54 45 00 00 3a
83 PILOTE :<BR>0090 : 53
09
S</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN
class=245080022-20112005>[newcamd-v6.04 23:05:52] channel using caid 0622,
provid 000000, ecm 0568 ...
no
t found<BR>[newcamd-v6.04 23:05:52] channel using caid 0100, provid 00006a, ecm
0644 ...
cw
s<BR>[newcamd-v6.04 23:05:52] trying caid 0100, ecm 0644, provid 00006a, cws
10.0.0.2
:10001</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV>
<DIV><FONT face="Courier New" size=2><SPAN class=245080022-20112005>ECM 0100 -
Sun Nov 20 23:05:52 CET 2005<BR>---------------------------------------<BR>0000
: 80 00 61 00 6a 00 00 fd 10 01 1d ec 94 e5 c9 43 a
j C<BR>0010 : 1d 67 ff 2b
1c 7a 8d b4 0e 4e d1 43 34 fa fa ed g + z N C4<BR>0020 :
c2 b7 6b 8b bf 9f 65 72 35 38 2d 5e 10 c2 9f fb k
er58-^<BR>0030 : 1c 3f db c3 42 d7 b2 9e 54 08 d4 7b 7e 99 96 48
? B T { H<BR>0040 : 4f 46 51 b9 a8 24 5a fa
2b bc 27 ed f5 d7 26 d1 OFQ $Z + ' &<BR>0050 : 7c b0
8b b7 c9 78 0a 14 8f 2b 25 8e 89 6a 83 58
x +% j X<BR>0060 : 0e 0b df 86</SPAN></FONT></DIV>
<DIV><FONT face="Courier New"></FONT> </DIV><FONT><SPAN
class=245080022-20112005>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT><BR><FONT
face="Courier New" size=2>ECM -> Card 0100 - Sun Nov 20 23:05:52 CET
2005<BR>-----------------------------------------------<BR>00: 80 00 61 00 6a 00
00 fd 10 01 1d ec 94 e5 c9 43 a
j C<BR>10: 1d 67 ff 2b 1c
7a 8d b4 0e 4e d1 43 34 fa fa ed g + z N C4<BR>20:
c2 b7 6b 8b bf 9f 65 72 35 38 2d 5e 10 c2 9f fb
k er58-^<BR>30: 1c 3f db c3 42 d7 b2 9e 54 08 d4 7b 7e 99 96
48 ? B T { H<BR>40: 4f 46
51 b9 a8 24 5a fa 2b bc 27 ed f5 d7 26 d1 OFQ $Z +
' &<BR>50: 7c b0 8b b7 c9 78 0a 14 8f 2b 25 8e 89 6a 83
58 x +% j X<BR>60:
0e 0b df 86</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>ECM <- Card 0100 - Sun Nov 20 23:05:53
CET 2005<BR>-----------------------------------------------<BR>00: 80 10 10 24
f9 96 b3 02 b6 66 1e 5e 06 9f 03 86
$ f ^<BR>10: 91 a2 b9<BR>[newcamd-v6.04 23:05:53]
using caid 0100, ecm 0644, provid 00006a, key
00000d,
cws 10.0.0.2:10001</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>CAT - Sun Nov 20 23:05:53 CET
2005<BR>----------------------------------<BR>0000 : 01 b0 2f ff ff c5 00 00 09
04 06 02 e1 2c 09 0d
/ ,<BR>0010 : 01 00 e0 b6
02 e0 b7 00 6a e0 b8 00 76 09 09
01 j v<BR>0020
: 01 e0 c9 01 e0 c8 00 12 09 04 06 22 e1 36 97
fc "
6<BR>0030 : 5a
84
Z</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT><BR><FONT
face="Courier New" size=2>ECM 0100 - Sun Nov 20 23:05:56 CET
2005<BR>---------------------------------------<BR>0000 : 81 00 61 00 6a 00 00
fd 10 01 08 64 a2 b3 f5 15 a j
d<BR>0010 : 88 31 d7 a7 f0 01 0b cd ec 8a 37 be 43 5a be 90
1 7 CZ<BR>0020 : d2 bb 86 eb 97 1f d8
3a 04 d1 73 22 d8 70 3a d6
: s" p:<BR>0030 : 37 41 59 69 d8 71 9a 53 11 37 7d 2b a9 9c b3 be
7AYi q S 7 +<BR>0040 : cc e9 bf 16 29 29 2b 93 69 f1 68 81 0d c4 5c
db ))+ i h \<BR>0050 : 7a b6 e2 df 6d
52 5a 8d 7e e4 f7 b1 2d 92 eb cb z mRZ
-<BR>0060 : d0 b6 50
86
P</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face=Arial></FONT><FONT face=Arial></FONT><FONT
face=Arial></FONT><BR><FONT face="Courier New" size=2>ECM -> Card 0100 - Sun
Nov 20 23:05:56 CET
2005<BR>-----------------------------------------------<BR>00: 81 00 61 00 6a 00
00 fd 10 01 08 64 a2 b3 f5 15 a
j d<BR>10: 88 31 d7 a7 f0 01 0b cd ec 8a 37 be 43
5a be 90 1 7
CZ<BR>20: d2 bb 86 eb 97 1f d8 3a 04 d1 73 22 d8 70 3a
d6 : s" p:<BR>30: 37
41 59 69 d8 71 9a 53 11 37 7d 2b a9 9c b3 be 7AYi q S 7 +<BR>40: cc
e9 bf 16 29 29 2b 93 69 f1 68 81 0d c4 5c db
))+ i h \<BR>50: 7a b6 e2 df 6d 52 5a 8d 7e e4 f7 b1 2d 92 eb
cb z mRZ -<BR>60: d0 b6 50
86
P</FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>ECM <- Card 0100 - Sun Nov 20 23:05:56
CET 2005<BR>-----------------------------------------------<BR>00: 81 10 10 05
cf c8 9c 7c b4 d0 00 5e 06 9f 03
86
^<BR>10: 91 a2 b9<BR>[newcamd-v6.04 23:05:58] pmt update filter
set<BR></FONT></DIV>
<DIV><FONT face="Courier New" size=2></FONT> </DIV>
<DIV><FONT face="Courier New"><SPAN class=245080022-20112005><FONT face=Arial
size=2>The patch I applied is pasted below (plz don't mind the line-numbers, I
did put this patch in the correct place (it's for a 17.1 mythtv
version).</FONT></SPAN></FONT></DIV>
<DIV><FONT face="Courier New"><SPAN class=245080022-20112005><FONT face=Arial
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=245080022-20112005><FONT face="Courier New">@@ -84,6
+84,9 @@ <BR> <BR> bool DVBCam::Start() <BR> { <BR>+
ciThreadRunning = true; // newcamd patch 20050217 <BR>+
return true; // newcamd patch 20050217 <BR>+
<BR> if (numslots == 0) <BR>
return false; <BR> <BR>@@ -109,6 +112,9 @@ <BR> <BR> bool
DVBCam::Stop() <BR> { <BR>+ ciThreadRunning =
false; // newcamd patch 20050217 <BR>+ return
true; // newcamd patch 20050217 <BR>+ <BR>
if (ciThreadRunning) <BR> { <BR>
exitCiThread = true; <BR>@@ -250,9 +256,103 @@ <BR>
GENERAL(QString("CA: CiHandler thread stopped")); <BR> } <BR>
<BR>+ <BR>+void camd_stop(unsigned int adapter) // newcamd patch
20050217 <BR>+{ <BR>+ struct sockaddr_un servaddr;
<BR>+ int camdSocket; <BR>+
unsigned char camdBuffer[6]; <BR>+ <BR>+
servaddr.sun_family = AF_UNIX; <BR>+
sprintf(servaddr.sun_path, "/<SPAN
style="COLOR: #ffa34f"><B>tmp</B></SPAN>/camd.socket%d", adapter); <BR>+
if ((camdSocket = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
<BR>+ { <BR>+
perror("[camdConnect] socket"); <BR>+
return; <BR>+ }
<BR>+ <BR>+ if (connect(camdSocket, (struct
sockaddr*) &servaddr, sizeof(servaddr)) < 0) <BR>+
{ <BR>+
perror("[camdConnect] connect"); <BR>+
close(camdSocket); <BR>+
return; <BR>+ } <BR>+ <BR>+
memset (camdBuffer+1, 0, 5); <BR>+
camdBuffer[0] = 0xff; <BR>+ <BR>+ if
(write(camdSocket, camdBuffer, 6) < 0) <BR>+ {
<BR>+
perror("[camdConnect] write"); <BR>+ } <BR>+
<BR>+ if (read(camdSocket, camdBuffer, 2) < 0)
<BR>+ { <BR>+
perror("[camdConnect] read reply"); <BR>+
} <BR>+ <BR>+ close(camdSocket); <BR>+}
<BR>+ <BR>+void camd_start(unsigned short servid, unsigned short pmtpid,
unsigned short apid, unsigned int adapter) // newcamd patch 20050217
<BR>+{ <BR>+ struct sockaddr_un servaddr; <BR>+
int camdSocket; <BR>+ unsigned
char camdBuffer[6]; <BR>+ unsigned short pid; <BR>+
<BR>+ servaddr.sun_family = AF_UNIX; <BR>+
sprintf(servaddr.sun_path, "/<SPAN
style="COLOR: #ffa34f"><B>tmp</B></SPAN>/camd.socket%d", adapter); <BR>+
if ((camdSocket = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
<BR>+ { <BR>+
perror("[camdConnect] socket"); <BR>+
return; <BR>+ }
<BR>+ <BR>+ if (connect(camdSocket, (struct
sockaddr*) &servaddr, sizeof(servaddr)) < 0) <BR>+
{ <BR>+
perror("[camdConnect] connect"); <BR>+
close(camdSocket); <BR>+
return; <BR>+ } <BR>+ <BR>+
pid = apid; <BR>+ <BR>+/* Use the following line, if you
want newcamd to demux and watch the <SPAN
style="COLOR: #ffa34f"><B>pmt</B></SPAN>, * <BR>+ * because zapit, enigma or vdr
don't do it
*/ <BR>+
camdBuffer[4] = (pid >> 8) & 0x1f; <BR>+ <BR>+/* Use the following
line, if newcamd isn't allowed to demux/watch the <SPAN
style="COLOR: #ffa34f"><B>pmt</B></SPAN>, * <BR>+ * because zapit, enigma or vdr
do it themself, this needs /<SPAN style="COLOR: #ffa34f"><B>tmp</B></SPAN>/<SPAN
style="COLOR: #ffa34f"><B>pmt</B></SPAN>.<SPAN
style="COLOR: #ffa34f"><B>tmp</B></SPAN>, * <BR>+ * when starting
newcamd
*/ <BR>+// camdBuffer[4]
= ((pid >> 8) & 0x1f) | 0x80; <BR>+ <BR>+
camdBuffer[5] = pid & 0xff; <BR>+ pid = pmtpid;
<BR>+ camdBuffer[0] = (pid >> 8) & 0x1f;
<BR>+ camdBuffer[1] = pid & 0xff; <BR>+
pid = servid; <BR>+
camdBuffer[2] = pid >> 8; <BR>+ camdBuffer[3] =
pid & 0xff; <BR>+ <BR>+ if (write(camdSocket,
camdBuffer, 6) < 0) <BR>+ { <BR>+
perror("[camdConnect] write");
<BR>+ } <BR>+ <BR>+ if
(read(camdSocket, camdBuffer, 2) < 0) <BR>+ {
<BR>+
perror("[camdConnect] read reply"); <BR>+ } <BR>+
<BR>+ close(camdSocket); <BR>+} <BR>+ <BR> void
DVBCam::SetPMT(PMTObject &<SPAN style="COLOR: #ffa34f"><B>pmt</B></SPAN>)
<BR> { <BR> GENERAL(QString("CA: SetPMT for
ServiceID=%1").arg(<SPAN style="COLOR: #ffa34f"><B>pmt</B></SPAN>.ServiceID));
<BR>+ camd_stop(cardnum);
// newcamd patch 20050217 <BR>+ camd_start(<SPAN
style="COLOR: #ffa34f"><B>pmt</B></SPAN>.ServiceID,0,0,cardnum);
// newcamd patch 20050217 <BR>
pthread_mutex_lock(&pmt_lock); <BR>
PMTList.clear(); <BR> PMTList += <SPAN
style="COLOR: #ffa34f"><B>pmt</B></SPAN>;
<BR></FONT></SPAN></DIV></FONT></SPAN></FONT></BODY><br />--
<br />Dit bericht is gescanned op virussen en andere gevaarlijke
<br />inhoud en lijkt schoon te zijn.
</HTML>