[dvblast-devel] wishlist

Dan Lita dan.lita at b1tv.ro
Mon Nov 9 09:41:27 CET 2015


On 11/9/2015 10:26 AM, Zoran Turalija wrote:
> On Sun, Nov 08, 2015 at 08:35:40PM +0200, Dan Lita wrote:
>> raw diseqc is when you specify yourself the command string like this one:
>>
>> e0 31 6b 0a
>>
>> or this one:
>> e0 10 39 F6
>>
>>
>>
>> I'm using now:
>>
>> scan-s2 -a 1 -X -x 2 -S 6 -o zap 'jtv' > channels.conf -s 1
>> and immediately then:
>> dvblast -a 1 -n 0  -c jtv  -f 12694000 -s 3333000  -v 13 -u -U -t 1
>>
>> I never managed to do this directly from dvblast since S=6 equivalent in -k
>> dvblast cannot be 6 ... (1-4 interval)
>> I have a 10 port diseqc switch which uses uncommited=6 to switch correctly.
>> scan-s2 allows me to send that command.
> Regarding uncommitted support >4...
>
> You can try this totally untested patch (unfortunately, I cannot check
> nor test it):
>
> diff --git a/dvb.c b/dvb.c
> index d1c8409..b711670 100644
> --- a/dvb.c
> +++ b/dvb.c
> @@ -548,12 +548,10 @@ static int FrontendDoDiseqc(void)
>                             | (fe_voltage == SEC_VOLTAGE_13 ? 0 : 2)
>                             | (fe_tone == SEC_TONE_ON ? 1 : 0);
>   
> -        if ( i_uncommitted > 0 && i_uncommitted < 5 )
> +        if ( i_uncommitted > 0 && i_uncommitted < 17 )
>           {
>              uncmd.msg[3] = 0xf0 /* reset bits */
> -                             | ((i_uncommitted - 1) << 2)
> -                             | (fe_voltage == SEC_VOLTAGE_13 ? 0 : 2)
> -                             | (fe_tone == SEC_TONE_ON ? 1 : 0);
> +                             | (i_uncommitted - 1);
>              if( ioctl( i_frontend, FE_DISEQC_SEND_MASTER_CMD, &uncmd ) < 0 )
>              {
>                  msg_Err( NULL, "ioctl FE_SEND_MASTER_CMD failed (%s)",
>
>
>> raw diseqc or better multiple raw diseqc introduction may solve these problems.
> Patch welcome...
>
>
Thank you,
I'll try the patch today.

Dan


More information about the dvblast-devel mailing list