[mythtv] Simple DISEQC switches and current SVN?

belcampo belcampo at zonnet.nl
Mon Oct 17 08:30:48 UTC 2005


On Sunday 16 October 2005 22:25, Allan Stirling wrote:
> I was having an issue with my switch (I believe it's 1.0) never changing
> inputs. Looking at the DISEQC commands from szap (which work) and comparing
> them to the Myth output, they appear to be different.
>
> The following patch brings them more into line (and works with the switch I
> have):
>
> Index: libs/libmythtv/dvbdiseqc.cpp
> ===================================================================
> --- libs/libmythtv/dvbdiseqc.cpp        (revision 7496)
> +++ libs/libmythtv/dvbdiseqc.cpp        (working copy)
> @@ -396,7 +396,7 @@
>               {{CMD_FIRST, MASTER_TO_LSS, WRITE_N0, 0xf0, 0x00, 0x00}, 4};
>
>           cmd.msg[DATA_1] = 0xF0
> -                          | (((tuning.diseqc_port) * 4) & 0x0F)
> +                          | (((tuning.diseqc_port+1) * 4) & 0x0F)
>
>                             | ((tuning.voltage == SEC_VOLTAGE_18) ? 2 : 00)
>                             | ((tuning.tone == SEC_TONE_ON) ? 1 : 0);
>
> I'm not opening a bug yet, because I'm not sure if this is just another
> misunderstanding. Does anyone else have simple DISEQC switches working?
Yes for a long time, more then 4 months. The problem I had was that dvb-apps 
order of diseqc-channels is different from myth. Therefore I couldn't get it 
going in the beginning.

Henk Schoneveld
>
> Cheers,
>
> Allan.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


More information about the mythtv-dev mailing list