Difference between revisions of "Mdklirc-patch"

From VDR Wiki
Jump to: navigation, search
(Preparation)
 
(initial)
Line 21: Line 21:
 
==Problems==
 
==Problems==
  
==Links==
+
==Patch==
{|
+
<pre>
| [1]
+
diff -Nru vdr-1.2.5/vdr.c vdr-1.2.5_MDK/vdr.c
| http://
+
--- vdr-1.2.5/vdr.c    2003-09-14 11:36:54.000000000 +0200
| Patch homepage
+
+++ vdr-1.2.5_MDK/vdr.c 2003-10-11 09:54:26.000000000 +0200
|}
+
@@ -416,6 +416,9 @@
 +
  new cRcuRemote("/dev/ttyS1");
 +
#elif defined(REMOTE_LIRC)
 +
  new cLircRemote("/dev/lircd");
 +
+#elif defined(REMOTE_LIRC_MDK)
 +
+  /* 2003-09-31 <mk> for LIRC from Mandrake 9.1 RPMs */
 +
+  new cLircRemote("/tmp/.lircd");
 +
#endif
 +
#if defined(REMOTE_KBD)
 +
  if (!DaemonMode && HasStdin)
 +
</pre>
  
 
[[Category:Patches]]
 
[[Category:Patches]]
  
 
<!-- Link to german wiki page -->
 
<!-- Link to german wiki page -->
[[de:-patch]]
+
[[de:MDK-Lirc-patch]]

Revision as of 22:50, 15 November 2004

Description

Hardware requirements

Software requirements

  • patch

Installation

If the patch is compressed you have to unpack it bevor

gunzip patch

Now you can install it with

cd $SOURCEDIR/VDR
patch -p 1 < /path/to/patch

Note, VDR has to be recompiled now, see VDR installation.

Problems

Patch

diff -Nru vdr-1.2.5/vdr.c vdr-1.2.5_MDK/vdr.c
--- vdr-1.2.5/vdr.c     2003-09-14 11:36:54.000000000 +0200
+++ vdr-1.2.5_MDK/vdr.c 2003-10-11 09:54:26.000000000 +0200
@@ -416,6 +416,9 @@
   new cRcuRemote("/dev/ttyS1");
 #elif defined(REMOTE_LIRC)
   new cLircRemote("/dev/lircd");
+#elif defined(REMOTE_LIRC_MDK)
+  /* 2003-09-31 <mk> for LIRC from Mandrake 9.1 RPMs */
+  new cLircRemote("/tmp/.lircd");
 #endif
 #if defined(REMOTE_KBD)
   if (!DaemonMode && HasStdin)