Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-14-2006, 01:07 AM   #1
Registered: Jul 2003
Posts: 73

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, 01:16 AM   #2
Registered: Jan 2006
Distribution: Red Hat EL5, Fedora 7
Posts: 259

Rep: Reputation: 30
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, 02:00 AM   #3
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, 03:31 AM   #4
Registered: Jul 2003
Posts: 73

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)


<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, 04:11 AM   #5
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:09 PM
Webcam and TV card simultaneously? Adrohak Linux - Hardware 4 03-01-2005 01:59 PM
Touchpad and USB mouse simultaneously? Pathian Linux - Hardware 0 01-07-2004 01:18 AM
running sata and ide simultaneously ewillens Linux - Newbie 0 08-04-2003 01:22 AM
USB mouse + touchpad working simultaneously stevenhasty Slackware 1 07-26-2003 08:11 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:04 PM.

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