Re: pxa_camera with one buffer don't work
- Date: Fri, 02 May 2008 11:50:56 +0200
- From: Stefan Herbrechtsmeier <hbmeier@xxxxxxxxxxxxxxxxxxxx>
- Subject: Re: pxa_camera with one buffer don't work
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.
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.
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?
Regards
Stefan
--
Dipl.-Ing. Stefan Herbrechtsmeier
Heinz Nixdorf Institute
University of Paderborn
System and Circuit Technology
Fürstenallee 11
D-33102 Paderborn (Germany)
office : F0.415
phone : + 49 5251 - 60 6342
fax : + 49 5251 - 60 6351
mailto : hbmeier@xxxxxxxxxx
www : http://wwwhni.upb.de/sct/mitarbeiter/hbmeier
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list