[mythtv] DisEqC and dvbchannel-v5.patch

Allan Stirling Dibblahmythml0015 at pendor.org
Tue Aug 30 10:06:57 UTC 2005


Daniel Kristjansson wrote:
> On Tue, 2005-08-30 at 00:46 +0100, Mark Weaver wrote:
> 
>>Without this, changing channels fairly frequently locks up -- the 
>>attached backtrace & backend log with -v siparser,channel,record are 
>>attached.
> 
> I've been waiting on confirmation from someone with DisEqC before
> applying this patch. It seems to help OFDM and ATSC users, but it
> significantly changes how DisEqC works so I'd really like someone
> to confirm that it actually works...
> 
> -- Daniel
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
Doesn't seem work with DVB-s. Specific problems (which also appear to be 
slightly different, but still present) are:

Frequency is calculated incorrectly when input from "Full Scan (Tuned)". 
Specifically, looking at the FE_GET_FRONTEND from a hacked femon shows:

 From a good lock with szap:

963657   22000000 FEC_5_6  stat:1f sig:7979 snr:b6b6 ber:00000000 :unc 
00000000 LOCK

Tuning to the same channel, inputting the frequency as kHz (10714):
9739286   22000000 FEC_5_6  stat:03 sig:2b2b snr:6060 ber:00194790 :unc 
ffffffff
9740832   22000000 FEC_5_6  stat:00 sig:0000 snr:3d3d ber:00194790 :unc 
ffffffff

ie the frequency is approx 10x too high. If I input in MHz:
967781   22000000 FEC_5_6  stat:01 sig:5353 snr:6868 ber:00193f20 :unc 
ffffffff

Everything appears OK, but I get no lock (I guess this is a diseqc 
switch issue, though).

I'm getting a dump from szap to see what it's doing different to 
generate the diseqc command.

kHz input used to work - As otherwise channels.conf import would not 
have worked for dvb-s cards.

Looking at the code, shouldn't the stuff compensating for the LOF be 
outside the retry loop in handle_diseq? Also, should the code in 
CheckOptions not be removed or special-cased for when handle_diseqc is 
doing it?

Cheers,

Allan.


More information about the mythtv-dev mailing list