Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only one camera is created #221

Closed
xav12358 opened this issue May 9, 2019 · 1 comment
Closed

Only one camera is created #221

xav12358 opened this issue May 9, 2019 · 1 comment
Labels
invalid not an issue; or the description doesn't make it clear what the actual problem is; or... wontfix issues that shouldn't/won't be fixed in the `v4l2loopback` code.

Comments

@xav12358
Copy link

xav12358 commented May 9, 2019

Hello,

I have installed v4l2loopback with on ubuntu sources. I have a ubuntu 16.04 desktop.

sudo modprobe v4l2loopback

Then I try to create virtual cameras:

sudo modprobe v4l2loopback video_nr=2,3,4

But only one camera is create which is /dev/video1 ( I already have my webcam on /dev/video0)

Here are more informations on install:

  • v4l2loopback version: _____
    [ 232.789839] v4l2loopback driver version 0.9.1 loaded

  • kernel version: _____
    Ubuntu 16.04
    Linux xavier-OMEN-by-HP-Laptop 4.15.0-47-generic Set correct output buffer type in vidioc_dqbuf #50~16.04.1-Ubuntu SMP Fri Mar 15 16:06:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  • Distribution (+version): _____
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 16.04.3 LTS
    Release: 16.04
    Codename: xenial

I don't know why only one virtual camera is created.

@umlaeute umlaeute added invalid not an issue; or the description doesn't make it clear what the actual problem is; or... wontfix issues that shouldn't/won't be fixed in the `v4l2loopback` code. labels May 9, 2019
@umlaeute
Copy link
Owner

umlaeute commented May 9, 2019

the kernel won't load a module that is already loaded.
so you need to unload the module, before you can re-load it with different module parameters:

# rmmod v4l2loopback

@umlaeute umlaeute closed this as completed May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid not an issue; or the description doesn't make it clear what the actual problem is; or... wontfix issues that shouldn't/won't be fixed in the `v4l2loopback` code.
Projects
None yet
Development

No branches or pull requests

2 participants