[mythtv] Current SVN DVB-S zapping problems (diseqc?)

Lukas Kasprowicz lukas.kasprowicz at online.de
Thu Aug 31 12:24:45 UTC 2006


Am Donnerstag, 31. August 2006 14:00 schrieb Yeasah Pell:
> Lukas Kasprowicz wrote:
> > With no double lines it does work. How to add the delay prior to the
> > first tune?
>
> Excellent!
>
> You'll want to do this change to version 10132 (the broken one), in
> hopes that it will make it work without retuning.
>
> All you need to do is to put a sleep in on line 731 of dvbchannel.cpp --
> right before the block of code that does the tuning command (i.e. where
> the comment "// Adjust for Satelite recievers which offset the
> frequency." is)
>
> Start with "usleep( 10000 * 1000 );" -- that will be 10 seconds, an
> eternity, but it's the same as the retune timer so it has the best
> chance of working.

This does not work with 10132. Same like before changes.

Only to check if we were doing the same things:

--- libs/libmythtv/dvbchannel.cpp       2006-08-31 14:20:47.000000000 +0200
+++ libs/libmythtv/dvbchannel.cpp.new   2006-08-31 14:19:04.000000000 +0200
@@ -713,7 +713,8 @@
     drain_dvb_events(fd_frontend);

     // Send DisEq commands to external hardware if we need to.
-    if (has_diseq && !handle_diseq(tuning, diseqc, reset))
+    //if (has_diseq && !handle_diseq(tuning, diseqc, reset))
+    if (!force_reset && has_diseq && !handle_diseq(tuning, diseqc, reset))
     {
         VERBOSE(VB_IMPORTANT, LOC_ERR + "Tune(): "
                 "Failed to transmit DisEq commands");
@@ -728,6 +729,7 @@

     if (reset || !prev_tuning.equal(info.type, tuning, 500000))
     {
+       usleep( 10000 * 1000 );
         // Adjust for Satelite recievers which offset the frequency.
         params.frequency = tuned_frequency(tuning, info.type, NULL);




-------------

Lukas


More information about the mythtv-dev mailing list