frontend dm linux 3.2
pop_eye 2 Mar 2015
Hi,
I am trying to understand following portion of the front-end code and the effect its got to vtuner.
How does SYS-DVBS2 being sent to vtuner interface ?
std::map<fe_delivery_system_t, bool> m_delsys, m_delsys_whitelist;
/* old DVB API, fill delsys map with some defaults */
switch (fe_info.type)
{
case FE_QPSK:
{
m_delsys[SYS_DVBS] = true;
#ifdef FE_CAN_2G_MODULATION
if (fe_info.caps & FE_CAN_2G_MODULATION) m_delsys[SYS_DVBS2] = true;
#endif
break;
}
In linux 3.2 there is no DTV_ENUM_DELSYS.
what is the role of this ? To pass SYS-DVBS2 via DTV_DELIVERY_SYSTEM to dvb-core ?
Any explanation on this it is greatly appreciated it.
Thank you
pop_eye 5 Mar 2015
In a C app how do you normally assign SYS_DVBS2 by ioctl FE_SET_PROPERTY ?
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
c->delivery_system ?
I was tested this solution countless times but I don`t understand the implication of having the m_delsys[SYS_DVBS2] = true;
Using above always receiving FE_SE_PROPERTY: invalid argument.
It might be also to fill the dtv_property_cache with default value of SYS_DVBS2 but how does it go passed to vtuner ?
Edited by pop_eye, 5 March 2015 - 20:58.