LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2006, 12:07 AM   #1
aherrys
Member
 
Registered: Jul 2003
Posts: 85

Rep: Reputation: 15
running 2 USB webcam simultaneously


Hi all,

I am trying to capture images from two USB webcam simultaneously.

However everytime I run two instances of streamer like this:

streamer -c /dev/video0 -f rgb24 -r 1 -t 00:00:60 -o /home/mine/video0.avi
streamer -c /dev/video1 -f rgb24 -r 1 -t 00:00:60 -o /home/mine/video1.avi

on two different terminals, I got a kernel panic.

I have tried running the above commands as a background process (adding & at the end), so I can use a single terminal, but the result is the same: a kernel panic.

Does anybody know whether capturing images from two different USB webcams simultaneously is actually possible at all ?

Thanks for any help

BTW: my distro is slackware 10.2 with kernel 2.4.31 and my box is an AMD athlon 900 MHz and the webcam I am using are (from lsusb):

Bus 003 Device 002: ID 0553:0002 STMicroelectronics Imaging Division (VLSI Vision) CPiA WebCam
Bus 003 Device 003: ID 046d:0920 Logitech, Inc. QuickCam Express

and they are running great if I am running the streamer one by one.

Thanks again.
 
Old 01-14-2006, 12:16 AM   #2
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi,
I dont think its possible to capture images from 2 USB webcams simultaneously.its similar to not able to play music from 2 different music players
 
Old 01-14-2006, 01:00 AM   #3
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
what is the kernel panic message you get?
 
Old 01-14-2006, 02:31 AM   #4
aherrys
Member
 
Registered: Jul 2003
Posts: 85

Original Poster
Rep: Reputation: 15
dear dr_zayus,

The kernel panic message I get is like this:

Unable to handle kernel paging request at virtual address d0fe5000

and then some stack dump info follows (like *pte and *pde that would have a different number on each occurance)

then

<0> kernel panic: Aiee, killing interrupt handler
Ininterrupt handler - not syncing


dear paragn,

I would think that running two instances of streamer would be no problem, (just like running two instances of vi for example). As long as they don't try to occupy/use the same resource (e.g. file, device etc.). In my case the v4l devices they are using are different anyway (video0 & video1) and the output are also different.

unless they are using the same some internal kernel stuff (like to do paging as the kernel panic message shows).

In any case I need to know whether anybody has tried to do the same before and get the same result.

Thanks guys.
 
Old 01-14-2006, 03:11 AM   #5
paragn
Member
 
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
hi aherrys,
oops i didnt notice that you are using two different devices. then it must not create any problem. i am checking what can be possible reasons for kernel panic
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Install A Usb Webcam [Genius WebCam on Suse 9.1 Personal] ofvergara SUSE / openSUSE 4 11-29-2006 12:09 PM
Webcam and TV card simultaneously? Adrohak Linux - Hardware 4 03-01-2005 12:59 PM
Touchpad and USB mouse simultaneously? Pathian Linux - Hardware 0 01-07-2004 12:18 AM
running sata and ide simultaneously ewillens Linux - Newbie 0 08-04-2003 12:22 AM
USB mouse + touchpad working simultaneously stevenhasty Slackware 1 07-26-2003 07:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration