Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Rotor plugin



Yes, I just thought of that about an hour ago and starting digging through
the code and made those changes, just before I saw this email now.  I also
hardcoded a frequency value that was common to the 5 birds I am trying to
track.  I should have mentioned earlier that I am using a circular lnb.

The signal meters now display proper signal information.   I am able to
track in on the two closest satellites right now, and an working on the
fringe ones.  

A couple of questions.

The 4 boxes under the two signal bars - what do they represent?

The gotoXX.X function, which I believe is implemented, so if I choose 61.5W
on the rotor screen, it attempts to turn the rotor 61.5 degrees to the west,
even though I have configured longitude as 79 in the rotor config.  From my
location orbital position 61.5W is actually East of me, not west.

rotor.AdressByte = 49
rotor.DVB-Karte = 0
rotor.EastWest = 0
rotor.Latitude = 43
rotor.Longitude = 79
rotor.SouthNorth = 0
rotor.Wiederholen = 0

sk.
> -----Original Message-----
> From: vdr-bounce@linuxtv.org
> [mailto:vdr-bounce@linuxtv.org]On Behalf Of
> Sameer Khosla
> Sent: Friday, May 07, 2004 5:23 PM
> To: vdr@linuxtv.org
> Subject: [vdr] Rotor plugin
>
>
> Hi all,
>
> First post to the list, but I've been reading for several
> months and quietly
> playing with my vdr setup here.
>
> The problem I am running into is this - I had a working setup
> with a 4-port
> diseqc aimed at 4 birds.  Everything worked beautifully.
>
> Yesterday I replaced the diseqc switch with an SG2100 rotor.
> I figured out how to configure my diseqc.conf to issue goto
> stored positions
> on the rotor as follows:
>
> S119.0W 99999 V 11250 t v W15 [E0 31 6B 30]
> S119.0W 99999 H 11250 t V W15 [E0 31 6B 30]
> S91.0W 99999 V 11250 t v W15 [E0 31 6B 31]
> S91.0W 99999 H 11250 t V W15 [E0 31 6B 31]
> S110.0W 99999 V 11250 t v W15 [E0 31 6B 32]
> S110.0W 99999 H 11250 t V W15 [E0 31 6B 32]
> S61.5W 99999 V 11250 t v W15 [E0 31 6B 33]
> S61.5W 99999 H 11250 t V W15 [E0 31 6B 33]
>

I just realized that your lof = 11250. The plugin uses other values. In
the next version I will add an entry in the setup menu for selecting
other values.
But this patch should work for you:

diff -ruNbw rotor-0.0.5/rotor.c rotor-0.0.5-patch/rotor.c
--- rotor-0.0.5/rotor.c 2004-02-17 11:03:58.000000000 +0100
+++ rotor-0.0.5-patch/rotor.c   2004-05-08 10:55:58.000000000 +0200
@@ -760,14 +760,14 @@
 {
   dvb_frontend_parameters Frontend;
   memset(&Frontend, 0, sizeof(Frontend));
-  if (Frequenz < 11700) {
-     Frontend.frequency=abs(Frequenz-9750) * 1000UL;
-     CHECK(ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF));
-        }
-   else {
-    Frontend.frequency=abs(Frequenz-10600) * 1000UL;
+//  if (Frequenz < 11700) {
+//     Frontend.frequency=abs(Frequenz-9750) * 1000UL;
+//     CHECK(ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_OFF));
+//        }
+//   else {
+    Frontend.frequency=abs(Frequenz-11250) * 1000UL;
     CHECK(ioctl(fd_frontend, FE_SET_TONE, SEC_TONE_ON));
-            }
+//            }
   if (Pol=="H") {
     CHECK(ioctl(fd_frontend,FE_SET_VOLTAGE,SEC_VOLTAGE_18)); }
   else CHECK(ioctl(fd_frontend,FE_SET_VOLTAGE,SEC_VOLTAGE_13));





-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index