Ticket #11482: 20191217-lna-on-off.patch

File 20191217-lna-on-off.patch, 847 bytes (added by Klaas de Waal, 6 years ago)

Switch LNA on, off or auto (requires recompliing to change setting)

  • mythtv/libs/libmythtv/recorders/dvbchannel.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/dvbchannel.cpp b/mythtv/libs/libmythtv/recorders/dvbchannel.cpp
    index 5ff4d8cedd..1de749446d 100644
    a b static struct dtv_properties *dtvmultiplex_to_dtvproperties(  
    601601        cmdseq->props[c++].u.data = tuning.m_guardInterval;
    602602        cmdseq->props[c].cmd      = DTV_HIERARCHY;
    603603        cmdseq->props[c++].u.data = tuning.m_hierarchy;
     604
     605        // KdW test for ticket #11482
     606        cmdseq->props[c].cmd      = DTV_LNA;
     607        cmdseq->props[c++].u.data = 1;      // LNA on
     608        // cmdseq->props[c++].u.data = 0;      // LNA off
     609        // cmdseq->props[c++].u.data = (~0U);  // LNA_AUTO
    604610    }
    605611
    606612    if (tuning.m_modSys == DTVModulationSystem::kModulationSystem_DVBS2)