Denis Cheong wrote:

There is now a chicken-and-egg problem with the configuration of DVB channels - what is the correct procedure for creating them?


Let the scanner create the channels and then use a script or similar to set xmltvid, icon and whatever based on the serviceid. I made a spreadsheet with my channels, channel numbers, icons etc. and use that to generate SQL statements to fix up the channels table, but everyone has their own method.

What's worse though is that conditional access seems to be broken (using Irdeto 2 Foxtel Australia on a Hauppauge Nexus S full-function card, genuine smart card)


If you still want to get it going, please try the following:

Use dvbsnoop to get PMT:
$ dvbsnoop -n 1 0 | less
look for "Program_number: 1003" and check its Program_map_PID
$ dvbsnoop -n 1 [Program_map_PID] > pmt.txt

Recompile Myth with some more debugging:
$ cd mythtv-0.17-src
$ patch -p0 < cam_debug.patch
build & install as usual

rm mythbackend.log
start mythbackend
try to tune to sid 1003
stop mythbackend

Send pmt.txt and full backend log to dev list.

Index: libs/libmythtv/dvbcam.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/dvbcam.cpp,v
retrieving revision 1.16
diff -u -r1.16 dvbcam.cpp
--- libs/libmythtv/dvbcam.cpp   2 Feb 2005 21:01:02 -0000       1.16
+++ libs/libmythtv/dvbcam.cpp   16 Feb 2005 11:25:29 -0000
@@ -277,6 +277,8 @@
 {
     for (int s = 0; s < ciHandler->NumSlots(); s++)
     {
+        GENERAL(QString("CA: Processing slot %1").arg(s));
+
         const unsigned short *casids = ciHandler->GetCaSystemIds(s);
         if (!casids)
         {
Index: libs/libmythtv/dvbdev/dvbci.cpp
===================================================================
RCS file: /var/lib/mythcvs/mythtv/libs/libmythtv/dvbdev/dvbci.cpp,v
retrieving revision 1.6
diff -u -r1.6 dvbci.cpp
--- libs/libmythtv/dvbdev/dvbci.cpp     23 Jan 2005 22:45:30 -0000      1.6
+++ libs/libmythtv/dvbdev/dvbci.cpp     16 Feb 2005 11:25:30 -0000
@@ -54,8 +54,8 @@
 
 
 // Set these to 'true' for debug output:
-static bool DumpTPDUDataTransfer = false;
-static bool DebugProtocol = false;
+static bool DumpTPDUDataTransfer = true;
+static bool DebugProtocol = true;
 static bool _connected = false;
 
 #define dbgprotocol(a...) if (DebugProtocol) fprintf(stderr, a)
_______________________________________________
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

Reply via email to