From: Nico S. <nic...@fa...> - 2007-05-05 19:42:34
|
Zoilo Gomez wrote: >>> The Diseqc-specs at >>> http://www.eutelsat.com/satellites/pdf/Diseqc/Reference%20docs/bus_spec.pdf >>> (table on page 13) confirm that dvbtune is in fact sending the wrong >>> command. >>> >>> With a patched dvbtune (pol-bit and band-bit both inverted) it works >>> OK, and is also according to the Eutelsat specs. >>> > > I have attached a patch for you. > > The problem is only in dvbtune (version 0.5); you may not have been > using dvbtune (dvbtools); dvbscan and szap (linuxtv-dvb-apps) do not > suffer from this problem. > > Z. > > > ------------------------------------------------------------------------ > > diff -Naur dvbtune-0.5.orig/tune.c dvbtune-0.5/tune.c > --- dvbtune-0.5.orig/tune.c 2004-02-06 15:00:36.000000000 +0100 > +++ dvbtune-0.5/tune.c 2007-04-30 21:22:53.000000000 +0200 > @@ -203,7 +203,7 @@ > * bits are: option, position, polarizaion, band > */ > cmd.cmd.msg[3] = > - 0xf0 | (((sat_no * 4) & 0x0f) | (hi_lo ? 1 : 0) | (pol ? 0 : 2)); > + 0xf0 | (((sat_no * 4) & 0x0f) | (hi_lo ? 0 : 1) | (pol ? 2 : 0)); > > diseqc_send_msg(secfd, pol, > &cmd, hi_lo, thus szap from mercurial doesn't work for you? I c&p the code from there |