From patchwork Sat Feb 23 15:21:55 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Albert Gall X-Patchwork-Id: 12606 Received: from py-out-1112.google.com ([64.233.166.178]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1JSwCQ-0007lQ-Pr for vdr@linuxtv.org; Sat, 23 Feb 2008 16:22:02 +0100 Received: by py-out-1112.google.com with SMTP id a29so862280pyi.0 for ; Sat, 23 Feb 2008 07:21:58 -0800 (PST) Received: by 10.65.59.11 with SMTP id m11mr1174934qbk.11.1203780116175; Sat, 23 Feb 2008 07:21:56 -0800 (PST) Received: by 10.64.125.12 with HTTP; Sat, 23 Feb 2008 07:21:55 -0800 (PST) Message-ID: Date: Sat, 23 Feb 2008 15:21:55 +0000 From: "Albert Gall" To: vdr@linuxtv.org MIME-Version: 1.0 Content-Disposition: inline Subject: [vdr] Patch for DVB-T WideView WT-220U PenType Receiver (Typhoon/Freecom). X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2008 15:22:03 -0000 Status: O X-Status: X-Keywords: X-UID: 15834 This patch fixes the problem by changing the channel the same transponder: ERROR: can't open filter handle on '/dev/dvb/adapter0/demux0' ERROR: /dev/dvb/adapter0/demux0: too many open files/Zu viele offene Dateien ERROR (dvbdevice.c,688): too many open files/Zu viele offene Dateien ERROR: can't set PID 257 on device 1 ERROR (dvbdevice.c,703): Ungültiger Dateideskriptor Patch : The original source of the patch is http://tafe.unkelhaeusser.de/vdr/dvbdevice.c.patch. Klaus, It is possible to solve this problem in future versions of VDR ? Greetings. --- dvbdevice.c.orig 2007-08-17 23:14:27.000000000 +0200 +++ dvbdevice.c 2007-08-17 23:11:01.000000000 +0200 @@ -705,6 +705,7 @@ int cDvbDevice::OpenFilter(u_short Pid, u_char Tid, u_char Mask) { const char *FileName = *cDvbName(DEV_DVB_DEMUX, CardIndex()); + usleep(100000); int f = open(FileName, O_RDWR | O_NONBLOCK); if (f >= 0) { dmx_sct_filter_params sctFilterParams;