Hi Peter

In the meantime I changed the alternate setting from 3 to 1 in the
cpia_usb_open function. Now, both cameras are able to set the alternate
setting (interface = 1), but xawtv (gqcam as well) is still not able to
display both streams!
I think that there is enough USB bandwidth since I changed the alternate
setting to 1. Am I right? That means that video4linux has troubles handling
both cameras simultaneously?

Thanks,
Philipp

Peter Pregler wrote:

> Hi,
>
> the second capture fails because the first one allocates all the
> bandwidth on the USB-bus. The resource that is busy is not the camera
> but the USB-bus.
>
> -Peter
>
> > > I've been unable to get two USB CPIA cameras to work reliably on
> > > the same machine at more or less the same time. Either camera >
> > > (/dev/video0 or /dev/video1) will work fine by itself when the
> > > other camera is not being used--the problem arises when trying to
> > > use them at or near the same time. While it is possible to open
> > > /dev/video0 and /dev/video1 simultaneously, if one device is in the
> > > middle of a VIDIOCMCAPTURE > then opening the other device fails
> > > with a "device or resource busy error".
> >
>
> --
> Feeling amorous, she looked under the sheets and cried, "Oh, no,
> it's Microsoft!"
> -------------------------------
> Email: [EMAIL PROTECTED]
>
> _______________________________________________
> Video4linux-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/video4linux-list



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to