[linux-dvb] DVB (dvb_dmxdev_filter_start): could not alloc feed
Johannes Stezenbach
js at linuxtv.org
Mon Oct 24 12:40:27 CEST 2005
On Mon, Oct 24, 2005 at 10:13:06AM +0200, bluedrops wrote:
> Hi to all,
>
> Here are the errors I'm getting with kernel 2.6.12 + 2.6.12 patchset
> when using dvbscan :
>
> When tuning a transponder, dvbscan sometimes reports several times :
> start_filter:1325: ERROR: ioctl DMX_SET_FILTER failed: 1 Operation not permitted
> start_filter:1325: ERROR: ioctl DMX_SET_FILTER failed: 16 Device or
> resource busy
...
> Is there a patch for this problem ?
dvbscan tries to use more filters that a FF card has (happens only
on TPs with many services, e.g. lots of radio channels).
Try this:
diff -u -p -r1.20 scan.c
--- scan.c 23 Oct 2005 22:54:04 -0000 1.20
+++ scan.c 24 Oct 2005 10:38:17 -0000
@@ -1235,7 +1235,7 @@ static int read_sections (struct section
static LIST_HEAD(running_filters);
static LIST_HEAD(waiting_filters);
static int n_running;
-#define MAX_RUNNING 32
+#define MAX_RUNNING 27
static struct pollfd poll_fds[MAX_RUNNING];
static struct section_buf* poll_section_bufs[MAX_RUNNING];
Johannes
More information about the linux-dvb
mailing list