[mythtv] DVB-S - mythchannels setup problems

Steve Brown sbrown at cortland.com
Mon Aug 11 21:38:09 EDT 2003


Built mythtv from cvs and added mythchannels.10 per 
mythchannels/README.setupDVB and the mythchannels web site.

Found the following:

1. I navigate setup->tv settings->channels setup->add dvb services->add 
dvb sources, and then select dvb-s & add.

The resulting screen has no provision for entry of dvb-s info, like 
pids, inversion, pol, etc. It looks like a dvb-t screen. Further, the 
entry created in channel_dvb is set up as QAM_64, but no symbol_rate.

2. If I correct the database w/ mysql, editing the channel still puts up 
the dvb-t screen. The code for the screen seems there, but the 
conditions may need a little work.

And cosmetics.

3. I had to force the channum to 3 in channel. I can't figure out where 
the default gets set. I changed DefaultTVChannel in settings from 3 to 
1, but it had no effect.

4. The code in tune.c for printing "DVB-S to L-Band ...." is in the 
wrong place. It belongs after the freq is set. Now it just prints 
garbage for the freq. I found the same bug today in dvbstream. A patch 
is attached.

5. The IF freq's are hardwired for the European HI/LO Ku LNB's. It would 
be nice to be able to deal with 10750 (Ku) and 5150 (C) LNB's over here 
without having to enter the freq's as IF's (< 2200 MHz). Not urgent.

Great software!

Thanks,

Steve
-------------- next part --------------
diff -u -r1.1 tune.c
--- libs/libdvbdev/tune.c       14 May 2003 02:43:28 -0000      1.1
+++ libs/libdvbdev/tune.c       12 Aug 2003 00:14:52 -0000
@@ -419,11 +419,6 @@
       fprintf(stderr,"tuning DVB-T (%s) to %d Hz\n",DVB_T_LOCATION,freq);
       break;
     case FE_QPSK:
-#ifdef NEWSTRUCT
-      fprintf(stderr,"tuning DVB-S to L-Band:%d, Pol:%c Srate=%d, 22kHz=%s\n",feparams.frequency,pol,srate,tone == SEC_TONE_ON ? "on" : "off");
-#else
-      fprintf(stderr,"tuning DVB-S to L-Band:%d, Pol:%c Srate=%d, 22kHz=%s\n",feparams.Frequency,pol,srate,tone == SEC_TONE_ON ? "on" : "off");
-#endif
       if ((pol=='h') || (pol=='H')) {
         voltage = SEC_VOLTAGE_18;
       } else {
@@ -462,6 +457,11 @@
        feparams.Frequency=freq;
 #endif
       }
+#ifdef NEWSTRUCT
+      fprintf(stderr,"tuning DVB-S to L-Band:%d, Pol:%c Srate=%d, 22kHz=%s\n",feparams.frequency,pol,srate,tone == SEC_TONE_ON ? "on" : "off");
+#else
+      fprintf(stderr,"tuning DVB-S to L-Band:%d, Pol:%c Srate=%d, 22kHz=%s\n",feparams.Frequency,pol,srate,tone == SEC_TONE_ON ? "on" : "off");
+#endif
                                                                                                                                                                      
 #ifdef NEWSTRUCT
       feparams.inversion=specInv;



More information about the mythtv-dev mailing list