From patchwork Sun Nov 13 10:33:03 2005 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "C.Y.M" X-Patchwork-Id: 12087 Received: from c-24-10-6-146.hsd1.ca.comcast.net ([24.10.6.146] helo=nofear.bounceme.net) by www.linuxtv.org with esmtp (Exim 4.50) id 1EbF9l-000618-W7 for vdr@linuxtv.org; Sun, 13 Nov 2005 11:32:19 +0100 Received: from [10.1.1.66] (hades [10.1.1.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by nofear.bounceme.net (Postfix) with ESMTP id 8E74A73546 for ; Sun, 13 Nov 2005 02:31:40 -0800 (PST) Message-ID: <4377165F.3010105@syphir.sytes.net> Date: Sun, 13 Nov 2005 02:33:03 -0800 From: "C.Y.M" Organization: CooLNeT User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Vdr X-Enigmail-Version: 0.92.1.0 Subject: [vdr] Remote plugin breakage with 2.6.15-rc1+ kernel X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: syphir@syphir.sytes.net, VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Nov 2005 10:32:19 -0000 Status: O X-Status: X-Keywords: X-UID: 6057 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. --SNIP-- --- 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++)