[mythtv] [PATCH] Experimental full DVB-T scan

Andrew Dennison andrew-lists at optusnet.com.au
Sun Apr 10 04:38:38 UTC 2005


John Pullan wrote:
> All,
> 	The attached patch attempts to do a full scan for channels, i.e no
> entering of tuning parameters. I've got it working for the UK, on my box
> using a Nova-T :). I've also tried to enter some information for Finland
> and Sweden, but I'm looking for information/feedback for more countries.

With the attached patch for Australian frequencies fullscan worked for me.

The patch should cover all AU frequencies, including the +125kHz offset 
that some channels use. I've left most parameters as AUTO except QAM 
(due to cut'n'paste:) as that worked for me. FYI all transports I can 
see are also TRANSMISSION_MODE_8K.

Both my cards (old Nova-T and DVICO lite) seem to be happy with auto 
everything - infact If I remember correctly the driver for my old nova-T 
card igmores any parameters you specify and just uses auto anyway.

Only issue I had was scanning on my second card failed - seemed like it 
was  still trying the first card which wasn't working at the time? 
Console messages indicated it was using the second card but the scan 
never progressed.

Once I got the first card working again the scan completed successfully.
-------------- next part --------------
--- libs/libmythtv/siscan.cpp.orig	2005-04-10 08:35:08.000000000 +1000
+++ libs/libmythtv/siscan.cpp	2005-04-10 09:31:06.000000000 +1000
@@ -49,12 +49,20 @@
    {0,0,0,INVERSION_AUTO,BANDWIDTH_AUTO,FEC_AUTO,FEC_AUTO,QAM_AUTO,TRANSMISSION_MODE_AUTO,GUARD_INTERVAL_AUTO,HIERARCHY_AUTO,0,0},
 };
 
+FrequencyTable frequenciesAU[]=
+{
+   {177500000,228500000,7000000,INVERSION_OFF,BANDWIDTH_7_MHZ,FEC_AUTO,FEC_AUTO,QAM_64,TRANSMISSION_MODE_AUTO,GUARD_INTERVAL_AUTO,HIERARCHY_NONE,125000,0},
+   {529500000,809500000,7000000,INVERSION_OFF,BANDWIDTH_7_MHZ,FEC_AUTO,FEC_AUTO,QAM_64,TRANSMISSION_MODE_AUTO,GUARD_INTERVAL_AUTO,HIERARCHY_NONE,125000,0},
+   {0,0,0,INVERSION_AUTO,BANDWIDTH_AUTO,FEC_AUTO,FEC_AUTO,QAM_AUTO,TRANSMISSION_MODE_AUTO,GUARD_INTERVAL_AUTO,HIERARCHY_AUTO,0,0},
+};
+
 
 FrequencyTable *frequencies[]=
 {
    frequenciesUK,
    frequenciesFI,
    frequenciesSE,
+   frequenciesAU,
 };
 
 //Helper functions, need classing up
--- libs/libmythtv/scanwizard.h.orig	2005-04-10 09:08:08.000000000 +1000
+++ libs/libmythtv/scanwizard.h	2005-04-10 09:13:12.000000000 +1000
@@ -91,7 +91,7 @@
 class ScanCountry: public ComboBoxSetting,TransientStorage
 {
 public:
-    enum Lang{UK,FI,SE};
+    enum Lang{UK,FI,SE,AU};
 
     ScanCountry()
     {
@@ -100,7 +100,7 @@
 //        addSelection(tr("Germany"),QString::number(DE));
         addSelection(QObject::tr("Finland"),QString::number(FI));
         addSelection(QObject::tr("Sweden"),QString::number(SE));
-//        addSelection(tr("Australia"),QString::number(AU));
+        addSelection(tr("Australia"),QString::number(AU));
     }
 };
 


More information about the mythtv-dev mailing list