Re: [PATCH] Add support for sq905 based cameras to gspca

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

 





On Wed, 4 Feb 2009, kilgota@xxxxxxxxxxxxxxxxxxxxxx wrote:



On Wed, 4 Feb 2009, Adam Baker wrote:

On Wednesday 04 February 2009, kilgota@xxxxxxxxxxxxxxxxxxxxxx wrote:
<snip description of attempting to stream from 2 cameras at once>
4. After removing the first camera which was plugged in, I tried to start
the stream from the second one. The stream will not start. A message says
that

Cannot identify 'dev/video0': 2. No such file or directory.

This line points to an error in your test method.

You need to start the second stream with svv -d /dev/video1 to tell it to pick
the second camera.

Adam


Oops, right.

Well, in that case I have to report that two cameras work simultaneously just fine. No problem at all.

For completeness, I should add the following:

ps ax now shows two svv processes. One of them is svv -d /dev/video1 and is followed by [sq905] and the second one is svv followed by [sq905]. Why in reverse order? Well, probably it is that I now fired up the second camera first and the first one after that. The workqueue in the module is started with

dev->work_thread = create_singlethread_workqueue(MODULE_NAME);

so these are distinct instances of [sq905].

Now am I supposed to check what happens if I start jerking them off of their tethers without closing the capture windows? No thanks, not this time. Let's wait until that problem is solved with just one camera. :)


Theodore Kilgore
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux