Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m429vsV8016386 for ; Fri, 2 May 2008 05:57:54 -0400 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx3.redhat.com (8.13.8/8.13.8) with SMTP id m429vg7G021015 for ; Fri, 2 May 2008 05:57:43 -0400 Date: Fri, 2 May 2008 11:57:47 +0200 (CEST) From: Guennadi Liakhovetski To: Stefan Herbrechtsmeier In-Reply-To: <481AE400.8090709@hni.uni-paderborn.de> Message-ID: References: <4811F4EE.9060409@hni.uni-paderborn.de> <481AE400.8090709@hni.uni-paderborn.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: video4linux-list@redhat.com Subject: Re: pxa_camera with one buffer don't work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: On Fri, 2 May 2008, Stefan Herbrechtsmeier wrote: > Guennadi Liakhovetski schrieb: > > On Fri, 25 Apr 2008, Stefan Herbrechtsmeier wrote: > > > > > > > Hi, > > > > > > is it normal, that the pxa_camera driver don`t work with one buffer?. The > > > DQBUF blocks if only one buffer is in the query. > > > > > > > Well, in v4l2-apps/test/capture_example.c we see: > > > > if (req.count < 2) { > > fprintf (stderr, "Insufficient buffer memory on %s\n", > > dev_name); > > exit (EXIT_FAILURE); > > } > > > > so, they seem to refuse to run with fewer than 2 buffers. But if I remove > > this restriction and enforce 1 buffer, it works. 2.5 times slower, but > > works. > If I do the same thing, I get a select timeout. With the same capture_example.c? > > Can there be a problem with your application? What kernel sources are you > > using? Try using the latest v4l-dvb/devel git. > > > At the moment I use the kernel 2.6.24 and the V4L kernel modules from > mercurial. How new are the modules? > After I have port my robot platform to the current kernel, I will test it > again. > What do you mean by latest v4l-dvb/devel git: > git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git? Yes, its "devel" branch. Thanks Guennadi --- Guennadi Liakhovetski -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list