[dvblast-devel] Fwd: Some trouble with choose right frequency on Hotbird

Kompan Kolia kompan at yandex.ru
Wed May 18 11:30:18 CEST 2011


I fix this problem.

Problem with setting uop dvb-tone with diseqc miniA miniB

When i use Diseqc MiniA or miniB (may be 1-4 too) dvblast don`t set FE_SET_TONE

And why you do
    /* Switch off continuous tone. */
    if ( ioctl( i_frontend, FE_SET_TONE, SEC_TONE_OFF ) < 0 )
    {
        msg_Err( NULL, "FE_SET_TONE failed (%s)", strerror(errno) );
        exit(1);
    }
    msleep(100000);
???

diff -u ./dvb.c ./dvb.c_work
--- ./dvb.c     2011-05-18 13:21:42.000000000 -0400
+++ ./dvb.c_work        2011-05-18 12:26:12.000000000 -0400
@@ -471,7 +471,6 @@
         msg_Err( NULL, "FE_SET_TONE failed (%s)", strerror(errno) );
         exit(1);
     }
-    msleep(100000);

     /* Configure LNB voltage. */
     if ( ioctl( i_frontend, FE_SET_VOLTAGE, fe_voltage ) < 0 )
@@ -524,6 +523,13 @@
             exit(1);
         }
         msleep(100000); /* ... */
+
+        if ( ioctl( i_frontend, FE_SET_TONE, fe_tone ) < 0 )
+            {
+            msg_Err( NULL, "FE_SET_TONE failed (%s)", strerror(errno) );
+            exit(1);
+            }
+        msleep(100000); /* ... */
     }

     else if ( ioctl( i_frontend, FE_SET_TONE, fe_tone ) < 0 )



18.05.2011, 00:04, "Kompan Kolia" <kompan at yandex.ru>:
> Hello All :)
>
> I have last dvblast from svn (189).
>
> Topology:
>
> Dish 1.2M
> LNB: Inverto IDLP-40IDQL with 4 independent outputs. Compatible for using with multiswitch
> Multiswitch
> PC with SkyStarHD2
> Linux Debian 2.6.32-5-686
> Driver for dvb card from Igor. Liplianinov. (http://mercurial.intuxication.org/hg/s2-liplianin/summary)
>
> Problem: I can`t to tune dvblast to frequency 12380V with Diseqc position miniB
>
> Command to run dvblast
> /dvblast -f 12380000 -s 27500 -S b -v 13
> result: No lock signal.
> Without multiswitch - Lock right frequency 12380.
>
> Command to run dvblast
> /dvblast -f 12090000 -s 27500 -S b -v 13
> result: Real lock of frequency equal to 11240V
>
> When i set frequency in dvblast to 12090 V on hotbird my dvbcard tune to real frequency is 11240. (shift 850Mhz)
> When i try to use VLC - everething is OK.
> When i try to use DVBlast without multiswitch - everething is OK.
> When i try to use reciever Topfield tf7700 - everething is OK.
>
> May be trouble in DVBlast with diseqc logical ?
> Frequency is shifted on 850Mhz.
>
> Ghmmmm....
>
> 11240 - 9750 = 1490
> 12090 - 10600 = 1490
>
> Do you have any ideas ?
>
> P.S. Sorry for bad English
> _______________________________________________
> dvblast-devel mailing list
> dvblast-devel at videolan.org
> http://mailman.videolan.org/listinfo/dvblast-devel


More information about the dvblast-devel mailing list