I would love to see support for this as well.
Beiträge von jjrock44
-
-
Hello,
I was hoping you could also add support for NA users that have a DishPro LNB setup (Satelite Equipment). Genpix has introduced a patch that will support DishPro LNB support in enigma2 boxes (Tested on DM800). Below is the patch he provided.
Diff
Alles anzeigen--- trunk/lib/dvb/sec.cpp.orig 2009-03-13 23:32:37.000000000 -0700 +++ trunk/lib/dvb/sec.cpp 2009-03-20 15:14:58.000000000 -0700 @@ -97,10 +97,20 @@ fe->getData(eDVBFrontend::LINKED_PREV_PTR, linked_prev_ptr); fe->getData(eDVBFrontend::SATPOS_DEPENDS_PTR, satpos_depends_ptr); - if ( sat.frequency > lnb_param.m_lof_threshold ) - band |= 1; - if (!(sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical)) - band |= 2; + // if threshhold = 1000, LNB type = DishPro (bandstacking) + if ( lnb_param.m_lof_threshold == 1000 ) + { + if (!(sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical)) + band |= 1; + band |= 2; // for DishPro, Voltage is always 18V + } + else + { + if ( sat.frequency > lnb_param.m_lof_threshold ) + band |= 1; + if (!(sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical)) + band |= 2; + } if (di_param.m_diseqc_mode >= eDVBSatelliteDiseqcParameters::V1_0) { @@ -371,10 +381,20 @@ if (lastcsw == lastucsw && lastToneburst == lastucsw && lastucsw == -1) needDiSEqCReset = true; - if ( sat.frequency > lnb_param.m_lof_threshold ) - band |= 1; - if (!(sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical)) - band |= 2; + // if threshhold = 1000, LNB type = DishPro (bandstacking) + if ( lnb_param.m_lof_threshold == 1000 ) + { + if (!(sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical)) + band |= 1; + band |= 2; // for DishPro, Voltage is always 18V + } + else + { + if ( sat.frequency > lnb_param.m_lof_threshold ) + band |= 1; + if (!(sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical)) + band |= 2; + } int lof = (band&1)?lnb_param.m_lof_hi:lnb_param.m_lof_lo; @@ -389,7 +409,10 @@ parm.FREQUENCY = (local - (local % 125)) + ((local % 125)>62 ? 125 : 0); frontend.setData(eDVBFrontend::FREQ_OFFSET, sat.frequency - parm.FREQUENCY); - if ( voltage_mode == eDVBSatelliteSwitchParameters::_14V + // if threshhold = 1000, LNB type = DishPro (bandstacking) + if (lnb_param.m_lof_threshold == 1000) + voltage = VOLTAGE(18); + else if ( voltage_mode == eDVBSatelliteSwitchParameters::_14V || ( sat.polarisation & eDVBFrontendParametersSatellite::Polarisation_Vertical && voltage_mode == eDVBSatelliteSwitchParameters::HV ) ) voltage = VOLTAGE(13);
All you have to do is select (for every DP LNB you have):
LO/low = 11250
LO/high = 14350
threshold = 00001If you have linear bandstacked LNBs, adjust frequencies accordingly (10750 and 13850).
when SEC finds LNB with threshold = 1 (1000kHz), it treats it as DishPro LNB:
LOF is selected based on polarization (make sure you use correct one), and LNB voltage is always set to 18V.This insures that all frequencies found in the NIT would work with scan engine and DP setup.