Re: [vdr] GOTOX patch for 1.7.5

2010-02-04 Thread Ales Jurik
On Thursday 04 of February 2010, Bikalexander wrote:
 Even with last patch does not do it:
 
 ###
 ## g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses
  -c -DREMOTE_KBD -DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\
  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
  -D_LARGEFILE64_SOURCE
 -DVIDEODIR=\/video\ -DCONFDIR=\/video\
 -DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\
 -I/usr/include/freetype2 diseqc.c
 g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD
 -DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\ -D_GNU_SOURCE
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
 -DVIDEODIR=\/video\ -DCONFDIR=\/video\
 -DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\
 -I/usr/include/freetype2 dvbdevice.c
 dvbdevice.c: In function ‘void HandleGotox(int, int)’:
 dvbdevice.c:227: error: ‘Skins’ was not declared in this scope
 dvbdevice.c:227: error: ‘mtWarning’ was not declared in this scope
 make: *** [dvbdevice.o] Fehler 1
 make: *** Warte auf noch nicht beendete Prozesse...
 #
 

Which exactly version of patch did you use? What was the output of patching? 
Was there any rejects? Did you try to patch vanilla version of vdr? Without 
these basic information people could only guess what happened in your vdr.

For me now it works without problem (latest patch is in 
http://www.linuxtv.org/pipermail/vdr/2010-January/022017.html).

Ales

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] GOTOX patch for 1.7.5

2010-02-03 Thread Bikalexander
Is there perhaps a patch for 1.7.12?
Thanks
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] GOTOX patch for 1.7.5

2010-02-03 Thread VDR User
On Wed, Feb 3, 2010 at 2:33 PM, Bikalexander bikalexan...@gmail.com wrote:
 Is there perhaps a patch for 1.7.12?

Did you at least try the current patch first?  Please don't set a big
font size when asking questions.  Or when even posting to this mailing
list.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] GOTOX patch for 1.7.5

2010-02-03 Thread Darren Salt
I demand that VDR User may or may not have written...

 On Wed, Feb 3, 2010 at 2:33 PM, Bikalexander bikalexan...@gmail.com
wrote:
 Is there perhaps a patch for 1.7.12?

 Did you at least try the current patch first?  Please don't set a big font
 size when asking questions.  Or when even posting to this mailing list.

Actually, *don't* duplicate the text in HTML *at* *all*. It's a pointless
waste of space and you get complained at (or flamed), or somebody who might
otherwise help may decide to ignore you for being a moron.

(Fortunately, I get to see the plain text version, but the presence of an
HTML copy is quite obvious.)

-- 
| Darren Salt| linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds,demon,co,uk| Northumberland | Army
| + http://www.youmustbejoking.demon.co.uk/  http://tlasd.wordpress.com/

+++ Out of Cheese Error +++

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] GOTOX patch for 1.7.5

2010-02-03 Thread Bikalexander
Sorry, my mistake. I got the wrong version of the patch.

2010/2/3 VDR User user@gmail.com

 On Wed, Feb 3, 2010 at 2:33 PM, Bikalexander bikalexan...@gmail.com wrote:
  Is there perhaps a patch for 1.7.12?

 Did you at least try the current patch first?  Please don't set a big
 font size when asking questions.  Or when even posting to this mailing
 list.

 ___
 vdr mailing list
 vdr@linuxtv.org
 http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] GOTOX patch for 1.7.5

2010-02-03 Thread Bikalexander
Even with last patch does not do it:

#
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD
-DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\ -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DVIDEODIR=\/video\ -DCONFDIR=\/video\
-DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\
-I/usr/include/freetype2 diseqc.c
g++ -g -O2 -Wall -Woverloaded-virtual -Wno-parentheses -c -DREMOTE_KBD
-DLIRC_DEVICE=\/dev/lircd\ -DRCU_DEVICE=\/dev/ttyS1\ -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DVIDEODIR=\/video\ -DCONFDIR=\/video\
-DPLUGINDIR=\./PLUGINS/lib\ -DLOCDIR=\./locale\
-I/usr/include/freetype2 dvbdevice.c
dvbdevice.c: In function ‘void HandleGotox(int, int)’:
dvbdevice.c:227: error: ‘Skins’ was not declared in this scope
dvbdevice.c:227: error: ‘mtWarning’ was not declared in this scope
make: *** [dvbdevice.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
#


GoToX.diff
Description: Binary data
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] GOTOX patch for 1.7.5

2009-04-28 Thread Ales Jurik
On Monday 27 of April 2009, Goga777 wrote:
 Приветствую, Ales

  On Monday 20 of April 2009, ThE-GuRuZ wrote:
   Hi to all, does anybody know if there is a patch for gotox like
   vdr-1.7.0?
  
  
   ___
   vdr mailing list
   vdr@linuxtv.org
   http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
 
  Patch gotox for vdr-1.7.0 is also working for vdr-1.7.5. Did you ever try
  it?

 yes, this patch is working well with gotox protocol

 could you implement the feature - during of dish moving is it possible to
 write on screen - please waiting for. The dish is moving to xxx position

 Goga


See attached new version - it is possible to apply this patch to vanilla vdr 
from vdr-1.7.0 to vdr-1.7.6 without rejects.

Once more thanks to Seppo I. for his first version of this patch.

Regards,

Ales
diff -ruNp vdr-1.7.0.orig/config.c vdr-1.7.0/config.c
--- vdr-1.7.0.orig/config.c	2008-02-17 14:39:00.0 +0100
+++ vdr-1.7.0/config.c	2008-09-02 11:08:39.633819400 +0200
@@ -229,6 +229,11 @@ cSetup::cSetup(void)
   LnbFrequLo =  9750;
   LnbFrequHi = 10600;
   DiSEqC = 0;
+  UseGotox = 0;
+  GotoxSpeed = 100;
+  GotoxRepeat = 0;
+  GotoxSN = 0; GotoxLat = 613; GotoxEW = 1; GotoxLong = 236; // Somewhere at Tampere, Finland :^)
+  GotoxPrevSource = 0;
   SetSystemTime = 0;
   TimeSource = 0;
   TimeTransponder = 0;
@@ -402,6 +407,14 @@ bool cSetup::Parse(const char *Name, con
   else if (!strcasecmp(Name, LnbFrequLo))  LnbFrequLo = atoi(Value);
   else if (!strcasecmp(Name, LnbFrequHi))  LnbFrequHi = atoi(Value);
   else if (!strcasecmp(Name, DiSEqC))  DiSEqC = atoi(Value);
+  else if (!strcasecmp(Name, UseGotox))UseGotox   = atoi(Value);
+  else if (!strcasecmp(Name, GotoxSpeed))  GotoxSpeed = atoi(Value);
+  else if (!strcasecmp(Name, GotoxRepeat)) GotoxRepeat= atoi(Value);
+  else if (!strcasecmp(Name, GotoxSN)) GotoxSN= atoi(Value);
+  else if (!strcasecmp(Name, GotoxLat))GotoxLat   = atoi(Value);
+  else if (!strcasecmp(Name, GotoxEW)) GotoxEW= atoi(Value);
+  else if (!strcasecmp(Name, GotoxLong))   GotoxLong  = atoi(Value);
+  else if (!strcasecmp(Name, GotoxPrevSource)) GotoxPrevSource= atoi(Value);
   else if (!strcasecmp(Name, SetSystemTime))   SetSystemTime  = atoi(Value);
   else if (!strcasecmp(Name, TimeSource))  TimeSource = cSource::FromString(Value);
   else if (!strcasecmp(Name, TimeTransponder)) TimeTransponder= atoi(Value);
@@ -485,6 +498,14 @@ bool cSetup::Save(void)
   Store(LnbFrequLo, LnbFrequLo);
   Store(LnbFrequHi, LnbFrequHi);
   Store(DiSEqC, DiSEqC);
+  Store(UseGotox,   UseGotox);
+  Store(GotoxSpeed, GotoxSpeed);
+  Store(GotoxRepeat,GotoxRepeat);
+  Store(GotoxSN,GotoxSN);
+  Store(GotoxLat,   GotoxLat);
+  Store(GotoxEW,GotoxEW);
+  Store(GotoxLong,  GotoxLong);
+  Store(GotoxPrevSource,GotoxPrevSource);
   Store(SetSystemTime,  SetSystemTime);
   Store(TimeSource, cSource::ToString(TimeSource));
   Store(TimeTransponder,TimeTransponder);
diff -ruNp vdr-1.7.0.orig/config.h vdr-1.7.0/config.h
--- vdr-1.7.0.orig/config.h	2008-04-12 15:02:10.0 +0200
+++ vdr-1.7.0/config.h	2008-09-02 11:08:39.633819400 +0200
@@ -215,6 +215,14 @@ public:
   int LnbFrequLo;
   int LnbFrequHi;
   int DiSEqC;
+  int GotoxRepeat;
+  int GotoxSN;
+  int GotoxEW;
+  int GotoxSpeed;
+  int GotoxLat;
+  int GotoxLong;
+  int UseGotox;
+  int GotoxPrevSource;
   int SetSystemTime;
   int TimeSource;
   int TimeTransponder;
diff -ruNp vdr-1.7.0.orig/diseqc.c vdr-1.7.0/diseqc.c
--- vdr-1.7.0.orig/diseqc.c	2008-02-10 15:09:27.0 +0100
+++ vdr-1.7.0/diseqc.c	2008-09-02 11:08:39.633819400 +0200
@@ -114,6 +114,7 @@ cDiseqc::eDiseqcActions cDiseqc::Execute
   case 'V': return daVoltage18;
   case 'A': return daMiniA;
   case 'B': return daMiniB;
+	  case 'G': return daGotoX;
   case 'W': *CurrentAction = Wait(*CurrentAction); break;
   case '[': *CurrentAction = Codes(*CurrentAction); return *CurrentAction ? daCodes : daNone;
   default: return daNone;
diff -ruNp vdr-1.7.0.orig/diseqc.h vdr-1.7.0/diseqc.h
--- vdr-1.7.0.orig/diseqc.h	2002-12-07 14:54:02.0 +0100
+++ vdr-1.7.0/diseqc.h	2008-09-02 11:08:39.637817080 +0200
@@ -22,6 +22,7 @@ public:
 daVoltage18,
 daMiniA,
 daMiniB,
+daGotoX,
 daCodes,
 };
   enum { MaxDiseqcCodes = 6 };
diff -ruNp vdr-1.7.0.orig/dvbdevice.c vdr-1.7.0/dvbdevice.c
--- vdr-1.7.0.orig/dvbdevice.c	2008-04-13 16:15:35.0 +0200
+++ vdr-1.7.0/dvbdevice.c	2008-09-02 11:14:19.0 +0200
@@ -17,6 +17,7 @@
 #include linux/dvb/video.h
 #include sys/ioctl.h
 #include sys/mman.h
+#include math.h
 #include channels.h
 

Re: [vdr] GOTOX patch for 1.7.5

2009-04-27 Thread Goga777
Приветствую, Ales
 On Monday 20 of April 2009, ThE-GuRuZ wrote:
  Hi to all, does anybody know if there is a patch for gotox like vdr-1.7.0?
 
 
  ___
  vdr mailing list
  vdr@linuxtv.org
  http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
 
 Patch gotox for vdr-1.7.0 is also working for vdr-1.7.5. Did you ever try it?

yes, this patch is working well with gotox protocol 

could you implement the feature - during of dish moving is it possible to write 
on screen - please waiting for. The dish
is moving to xxx position 

Goga


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] GOTOX patch for 1.7.5

2009-04-20 Thread ThE-GuRuZ
Hi to all, does anybody know if there is a patch for gotox like vdr-1.7.0?


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr