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

Kompan Kolia kompan at yandex.ru
Wed May 18 15:41:26 CEST 2011



18.05.2011, 13:30, "Kompan Kolia" <kompan at yandex.ru>:
> 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);
> ???

Why you use

if ( ioctl(  i_frontend, FE_SET_TONE, SEC_TONE_OFF) < 0 )

instead

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


More information about the dvblast-devel mailing list