[linux-dvb] Why Parameter 'INVERSION' is really needed?

wk handygewinnspiel at gmx.de
Wed Sep 17 19:18:46 CEST 2008


Andreas Oberritter wrote:
> handygewinnspiel at gmx.de wrote:
>   
>> What is the *real need* for giving applications the possibility of I-Q-Inversion? Why this strange one is included in next API's?
>>
>> If i understand this parameter correctly it swaps I and Q inputs of an qam capable receiver. But otherwise that means that somewhere in the reception chain some real mistake was made, either on hardware or driver side.
>>
>> And if some inversion is needed it should be corrected inside the dvb frontend, since for such piece of hardware *always* this inversion is needed. Correcting this later on application level is terrible, since somebody may use hardware with different inversion settings inside the same application with the very same channel definition.
>>     
>
> If you find two devices which need different inversion settings in the
> same network, then it's a driver bug, which can easily be corrected.
>
>   
How can this be a drivers bug, if in the dvb api documentation no 
*default value* for inversion was ever defined?
Seems to be a bug inside API (linux-dvb-api-1.0.0.pdf, see 
http://www.linuxtv.org/docs.php).

> Spectral inversion depends on the transmitter, too. It can change
> anytime a broadcaster decides to change it. It happens, although not
> very often.
>
> Specifying the inversion parameter can speed up the tuning process,
> especially for devices which don't support automatic swapping in
> hardware. But I would not recommend to store this parameter in a service
> list.
>
> If we decide to keep the parameter, we should probably use four options:
>  INVERSION_OFF, INVERSION_ON, INVERSION_AUTO_OFF_FIRST,
> INVERSION_AUTO_ON_FIRST, which matches the capabilities of most
> demodulators. A typical application would then probably use only the
> last two options, while the first two options would rather be used for
> diagnostics and to read back the detected inversion.
>
>
>   
May be. But since the application cannot get any information about 
transmitters inversion only AUTO makes sense here, neither ON or OFF.
No information field is reserved for inversion inside terrestrial 
delivery system descriptor and cable delivery system descriptor,
so applications are not able to figure out useful settings from NIT.
Please try to see this from the application side, not from hardware 
point of view.

Regards,
Winfried



More information about the linux-dvb mailing list