Mailing List archive

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

[vdr] Re: Remote Control and LIRC trouble - should I use the Remote Control Plugin ?



On Dienstag, 14. September 2004 16:57, christian jacobsen wrote:
> I sometimes have trouble using my remote control with the build in LIRC
> support. It simply does not react anylonger :( If I start irw from the
> LIRC package I see that lircd gets the keypresses, so it must be
> something with VDR. And after some time VDR reacts again! It mostly
> happens when VDR was not used for some time. 
> 
> Maybe it is the problem that (IIRC) svdrp and lirc can't work at the
> same time !?
> 
> So I was wondering if it would be better if one used the LIRC support in
> the Remote control ?
> 
> Any experience ?

Sorry, there is no difference whether you use LIRC support of vdr or
the LIRC feature of the remote plugin.

> Can it be used while using svdrp at the same time ?
> 
> I get an error that the remote plugin could not connect to /dev/lircd
> (vdr was running as root so it is not rights related), what could be the
> trouble ? 

LIRC support is broken in Remote plugin 0.3.0, 0.3.1 and 0.3.1a
This patch should fix it:

--- /tmp/remote-0.3.1a/remote.c Fri Sep 10 13:05:46 2004
+++ remote.c    Sun Aug 29 03:10:01 2004
@@ -687,6 +692,15 @@ bool cPluginRemote::Start(void)
     {
         switch (devtyp[i])
         {
+#ifdef REMOTE_FEATURE_LIRC
+            case 'l':
+                fh[i] = access(devnam[i], R_OK);
+                break;
+#endif
+            case 'p':
+                fh[i] = 0;
+                break;
+
             case 'T':
                 fh[i] = open(devnam[i], O_RDWR);
                 break;
@@ -694,10 +708,6 @@ bool cPluginRemote::Start(void)
             default:
                 fh[i] = open(devnam[i], O_RDONLY);
                 break;
-
-            case 'p':
-                fh[i] = 0;
-                break;
         }

         if (fh[i] < 0)


This patch will be included in Remote 0.3.2.

HTH
Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://endriss.escape.bei.t-online.de/vdr/
--------------------------------------------------------




Home | Main Index | Thread Index