Chris Bare
2014-01-09 15:26:26 UTC
I have 2 Logitech C910 USB wecams and a logitech orb attached to my
computer.
I can display 640x480 images from 1 C910 and the orb at the same time, but
cannot access both 910's at the same time.
Even if I drop the resolution to 320x240, the second 910 gives me an error.
Is this a driver limitation, or do i need to set up special rules for udev?
/dev/video1 and /dev/video2 are both created and work if I access them one
at a time.
I am using the following vlc command:
vlc -I dummy v4l2:///dev/video1:width=320:height=240:fps=30
:v4l2-chroma=MJPG :v4l2-fps=30
when I run:
vlc -I dummy v4l2:///dev/video2:width=320:height=240:fps=30
:v4l2-chroma=MJPG :v4l2-fps=30
while /dev/video1 is running, I get the following error:
[0x7f7bd40010e8] v4l2 demux error: VIDIOC_STREAMON failed
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
[0x7f7bd4007e18] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd4007e18] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd0000b28] main input error: open of
`v4l2:///dev/video2:width=320:height=240:fps=30' failed
[0x7f7bd0000b28] main input error: Your input can't be opened
[0x7f7bd0000b28] main input error: VLC is unable to open the MRL
'v4l2:///dev/video2:width=320:height=240:fps=30'. Check the log for details.
[0x7f7bd4005348] v4l2 demux error: cannot set input 0: Device or resource
busy
[0x7f7bd4005348] v4l2 demux error: cannot set input 0: Device or resource
busy
[0x7f7bd4007c08] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd4007c08] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd0006038] main input error: open of
`v4l2:///dev/video2:width=320:height=240:fps=30' failed
[0x7f7bd0006038] main input error: Your input can't be opened
computer.
I can display 640x480 images from 1 C910 and the orb at the same time, but
cannot access both 910's at the same time.
Even if I drop the resolution to 320x240, the second 910 gives me an error.
Is this a driver limitation, or do i need to set up special rules for udev?
/dev/video1 and /dev/video2 are both created and work if I access them one
at a time.
I am using the following vlc command:
vlc -I dummy v4l2:///dev/video1:width=320:height=240:fps=30
:v4l2-chroma=MJPG :v4l2-fps=30
when I run:
vlc -I dummy v4l2:///dev/video2:width=320:height=240:fps=30
:v4l2-chroma=MJPG :v4l2-fps=30
while /dev/video1 is running, I get the following error:
[0x7f7bd40010e8] v4l2 demux error: VIDIOC_STREAMON failed
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
[0x7f7bd4007e18] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd4007e18] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd0000b28] main input error: open of
`v4l2:///dev/video2:width=320:height=240:fps=30' failed
[0x7f7bd0000b28] main input error: Your input can't be opened
[0x7f7bd0000b28] main input error: VLC is unable to open the MRL
'v4l2:///dev/video2:width=320:height=240:fps=30'. Check the log for details.
[0x7f7bd4005348] v4l2 demux error: cannot set input 0: Device or resource
busy
[0x7f7bd4005348] v4l2 demux error: cannot set input 0: Device or resource
busy
[0x7f7bd4007c08] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd4007c08] v4l2 access error: cannot set input 0: Device or resource
busy
[0x7f7bd0006038] main input error: open of
`v4l2:///dev/video2:width=320:height=240:fps=30' failed
[0x7f7bd0006038] main input error: Your input can't be opened