[linux-dvb] [PATCH] for libdvbsec. Correcting calculation of Goto X diseqc commands

Michel Verbraak michel at verbraak.org
Thu May 3 21:01:55 CEST 2007

I allready send this patch back in november 2006 but it is still not yet 
implemented into the hg tree at linuxtv.org.

Following is a copy from my email from november 2006:

I'm testing the dvbsec api for the Goto X part to control my rotor and 
found it did not respond as it should be.

I pulled the DiseqC 1.2 spec from the Eutelsat website and found a bug 
in the dvbsec_api.c file. The first diff file solves the bug and makes 
the api follow the spec as it should be. But after testing I found out 
my rotor did not what it should do.

I looked into the source for MythTV and found that the Angle part of the 
DiseqC command is build differently from the spec. So I changed the 
dvbsec_api.c file again to act like the MythTV source. See the second 
diff file.

With the second diff file my rotor does what I tell it to do. When I say 
15.2 Degrees it goes to 15.2 degrees East.

I do not know why there is a difference to the Eutelsat Diseqc 1.2 specs 
for this. If somebody knows please tell?

Who is able to apply this patch to the hg repository on linuxtv.org.


Michel Verbraak

dvbsec_api.c2nd.diff Signed-off-by: Michel Verbraak <michel at verbraak.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvbsec_api.c.2nd.diff
Type: text/x-patch
Size: 817 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070503/85a44ce8/dvbsec_api.c.2nd-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dvbsec_api.c.diff
Type: text/x-patch
Size: 445 bytes
Desc: not available
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20070503/85a44ce8/dvbsec_api.c-0001.bin

More information about the linux-dvb mailing list