Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: How to setup diseqc in vdr-1.1.12



Klaus Schmidinger wrote:
> Oliver Endriss wrote:
> > Well, each line needs an *unique* Fx code
> > Typically, you would use F0..FB for 3 satellites.
> > Different satellites need different mini commands, but it doesn't
> > make much sense to include the voltage/continuous tone/mini
> > commands, since mini DiSEqC cannot be used for more than two
> > satellites.
> > See my other posting.
>
> I wonder how he was able then to use VDR 1.0.4 with just setting the
> diseqc parameter of his channels to 0, 1 and 2, respectively. In that
> case the resulting effect should have been just the sequence of
> actions as I posted. Well, anyway, if it works for him with unique Fx
> codes, that just fine.

vdr-1.0.4, dvbapi.c:
  scmd.u.diseqc.params[0] = 0xF0 | ((Diseqc * 4) & 0x0F) | (tone == SEC_TONE_ON ? 1 : 0) | (volt == SEC_VOLTAGE_18 ? 2 : 0);
Voltage and continous tone were encoded in bits 0 and 1, while
the DiSEqC parameter goes into bits 2 and 3. 
These are exactly the Fx parameters I posted.

Oliver



-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index