[mythtv-commits] Ticket #4202: 22kHz tone switches don't work with myth

MythTV mythtv at cvs.mythtv.org
Thu Nov 22 00:38:46 UTC 2007


#4202: 22kHz tone switches don't work with myth
------------------------------------------+---------------------------------
 Reporter:  akohlsmith-mythtv at mixdown.ca  |       Owner:  ijr       
     Type:  defect                        |      Status:  new       
 Priority:  minor                         |   Milestone:  unknown   
Component:  mythtv                        |     Version:  0.20-fixes
 Severity:  low                           |     Mlocked:  0         
------------------------------------------+---------------------------------
 I expanded my FTA setup and ended up using a 4x4 (2 dual-LNBs in, 4
 receivers out) which switches on 22kHz.  Pretty standard, no tone = look
 at LNB A (13V) or LNB B (18V), 22kHz tone = look at LNB C (13V) or LNB D
 (18V).

 I'm using two Twinhan 102G cards which have had no problem in the last
 year or so I've been playing with myth.

 I originally had two DiSEqC switches after a 3x4 which would allow me to
 switch between the LNBs but this proved to be not as useful, hence the use
 of a single 4x4 now.  The Twinhan had no problem with the DiSEqC gear.

 It seems that both dvbtune and mythtv have the same tuning bug; they will
 not tell the driver to emit a continuous 22kHz tone in order to activate
 these types of switches.

 The solution was simple: in DiSEqCDevSwitch::ExecuteTone(), change the
 call from mini_diseqc() to m_tree.SetTone(pos).

 It seems to work fine:
 #ifdef USING_DVB
         m_tree.SetTone(pos);
 //    if (mini_diseqc(m_tree.GetFD(), pos == 0 ? SEC_MINI_A : SEC_MINI_B))
         return true;
 #endif // USING_DVB

 The only time ExecuteTone() is run is when the switch type is set to tone,
 so this couldn't have possibly worked as it is written now.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/4202>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list