On Mon, Apr 22, 2013 at 11:46:34AM +0300, Teemu Suikki wrote:
2013/4/21 Klaus Schmidinger Klaus.Schmidinger@tvdr.de:
I'm currently implementing support for steerable dishes, loosely based on https://linuxtv.org/patch/12911. In doing so, I'm defining a virtual base class cPositioner, which defines all the functions necessary to control the positioner. An implementation of cDiseqcPositioner will allow control of "DiSEqC 1.2" and "USALS" motors. A plugin can derive from cPositioner and implement its very own way of controlling a positioner (like through a serial or USB port or whatever).
The question I have now is: will it be enough to have *one* single positioner in any given setup, or are there actually users who have more than one positioner? Supporting only a single positioner (as is done in the aforementioned patch) of course simplifies things quite a bit. So I wouldn't want to add this level of complexity unless there is a real need for it.
Thank you Klaus for working on the positioner support. :)
Hmm, I guess most only have single positioner. But this might change if VDR actually supported more than one. :)
However, it would be nice to be able to use twin or quad LNB in positioner, even if using diseqc switches.. I have no idea how to configure this. :)
An example, my system has four tuners. Each one has 4-to-1 diseqc switch. They are configured like this:
...
My positioner actually has twin LNB. I'd like to connect the other output to tuner2 input 2, but there is no way this would work even with heavy patching of VDR..
I think I would be interested to have possibility for multiple positioners later, if VDR would only support it.
Currently I have only one dish, which is motorised. There I have a Quad LNB. VDR has three DVB-S2 tuners (+ unrelated DVB-T(2) tuners).
Tuner 1: Connected directly to LNB Tuner 2: Connected directly to LNB Tuner 3: Connected to LNB via motor
Tuner 3 is used for motor control only, no actual signal is being received there, even it would be and is possible, but this tuner is horrible with weak transponders, yet it's the only tuner I have that can supply 18V to motor+LNB.
I have made VEEERY ugly patching to VDR (as I'm not really a software developer and don't know how things should be done, and I have done some unnecessary things "just in case"), but I think sharing it will give some people some ideas. But atleast it is working perfectly in my environemnt. :) I don't know what kind of unwanted things it may cause elsewhere.
So basicly what I did, I took fd_frontend of tuner 3 (identified by subsystemId), and use it as dfd_frontend. Then I made some changes to device bonding, to restrict devices to same satellite source, instead of same band/polarisation. All devices are set in VDR configuration to "connected to cable 1".
And there I have it, somehow working motorised multi-tuner setup. :)
Patch assumes that VDR is patched with GOTOXX patch.