Patch for DVB-T WideView WT-220U PenType Receiver (Typhoon/Freecom).

Message ID aa1e71820802230721t27b33famfd3ee100e3a6e334@mail.gmail.com
State New
Headers

Commit Message

Albert Gall Feb. 23, 2008, 3:21 p.m. UTC
  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.
  

Comments

oleg roitburd Feb. 25, 2008, 9:23 a.m. UTC | #1
2008/2/23, Albert Gall <ss3vdr@gmail.com>:
> This patch fixes the problem by changing the channel the same transponder:
>  Patch :

Thx. It works.

Regards
Oleg
  

Patch

--- 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;