Re: two CPIA cameras at once

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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: Peter_Pregler@xxxxxxxxx
>
> _______________________________________________
> Video4linux-list mailing list
> Video4linux-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/video4linux-list





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux