minisatip icon indicating copy to clipboard operation
minisatip copied to clipboard

Request: Enforce (or limit) LNB values

Open lars18th opened this issue 4 years ago • 3 comments

Hi,

I need to configure minisatip in one OpenATV STB with a "FIXED LNB value". So I want that the voltage will be constant and no 22KHz signal is sended at any time. With a regular STB it's quite easy: you disable diseqc, configure the LNB with only one LO frequency, and enforce V or H. But I don't know how to achieve this with minisatip.

I feel it's necessary to enhance the configuration, with new parameters. For example with:

  • -d --diseqc: New value to DISABLE any command over the specified tuner.
  • -L --lnb: Adding a new modificator to DISABLE some bands, and then the 22KHz tone is fixed (or not present, or not used).

Examples:

  • -d 0:0-0 -L *:~@9750-10600-~11700: This implies that the tuner 0 has no diseqc commands (-d with all types 0), and in the LOW band the VERTICAL (~) is disabled and the HORIZONTAL (@) too, but for HIGH only the VERTICAL (~) is disabled. So the LNB when enabled it uses HIGH-HORIZONTAL (18V with 22-Tone).

What you think about this idea? An y other more simple solution?

lars18th avatar Jun 15 '21 16:06 lars18th

Hi @catalinii ,

Some commets about the current implementation:

  • With the option -d 0:*0-*0 the idea is that for any Diseqc command in the tuner 0 no commands are sended, right? But in my tests the device continues to send the Diseqc 1.0 commands. It's this a bug?
  • Perhaps for the subband it will be more easy something like -L *:9750-10600-11700-hv that indicates hv High-Vertical only (values then be "hv", "hh", "lv" and "lh").

I hope you can implement somethig to configure an STATIC LNB. Regards.

lars18th avatar Jun 15 '21 16:06 lars18th

  1. The issue is here: https://github.com/catalinii/minisatip/blob/master/src/dvb.c#L479 You can submit a PR to remove that.

For both those items, the question is how is the adapter supposed to act once you set it up that one (for example 9750 - H) You will be able to tune that adapter just to that band ?

catalinii avatar Jun 17 '21 22:06 catalinii

Hi @catalinii ,

  1. The issue is here: https://github.com/catalinii/minisatip/blob/master/src/dvb.c#L479 You can submit a PR to remove that.

Thank you! I see now where is the code that enforces disecq commands. So, one question: You will confortable if I remove that? What's the original sense of this check?

For both those items, the question is how is the adapter supposed to act once you set it up that one (for example 9750 - H) You will be able to tune that adapter just to that band ?

Yes. The idea of enforcing a LNB is to use only one band... a subband with a regular universal LNB or a polarization when using a wideband LNB. In this case the tuner can't change the LNB mode. This configuration has sense when multiple tuners are sharing a single cable but without filters/injectors.

With this objective: Any suggestion about the best mode to configure the tuner? Perhaps my suggestion is quite verbose. In fact we only need to control (fix) the 22KHz Tone and the Power voltage (13 or 18v). So you agree with -L *:9750-10600-11700-18t syntax? Where 18 is the voltage, and t enforces to use the 22KHz (in contrast to not use any t that removes the tone). So options could be: -13, -13t, -18 and -18t.

Regards.

lars18th avatar Jun 18 '21 06:06 lars18th