Mailing List archive

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

[vdr] Re: Rotor plugin




> -----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