Remote plugin breakage with 2.6.15-rc1+ kernel

Message ID
State New

Commit Message

C.Y.M Nov. 13, 2005, 10:33 a.m. UTC
  As of 2.6.15-rc1 (actually the change was originally made in 2.6.14-git8), there
is no more /dev/input/event0 node.  The nodes now start at event1 and up.  This
breaks the autodetect feature in the remote plugin for VDR.  I was able to
kludge a fix by hacking the default to the event I am currently using, but a
real fix should be made instead.

This is *hacked* fix for a remote that is using event3.  This only a kludge.



--- remote-0.3.3/remote.c.orig       2005-11-13 01:59:30.000000000 -0800
+++ remote-0.3.3/remote.c    2005-11-13 02:19:18.000000000 -0800
@@ -706,7 +706,7 @@ 

         // use default device if nothing could be identified
         if (devtyp[i] == 'i' && strcmp(devnam[i], "autodetect") == 0)
-            devnam[i] = "/dev/input/event0";
+            devnam[i] = "/dev/input/event3";
     } // for i

     for (int i = 0; i < devcnt; i++)