Jump to content

Recommended Posts

Posted
sudo apt install v4l2loopback-dkms
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności... Gotowe
Odczyt informacji o stanie... Gotowe   
v4l2loopback-dkms is already the newest version (0.12.7-2).
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 8 nieaktualizowanych.
root@orangepi3-lts:~# sudo modprobe v4l2loopback
modprobe: FATAL: Module v4l2loopback not found in directory /lib/modules/6.12.35-current-sunxi64


 

Posted (edited)

I can't build it from GitHub, or rather I've built it but it doesn't work because the kernel headers don't seem to match and it can't be loaded. I guess you have to compile the entire kernel with this module  🙂  ..uppss

Quote

modinfo /lib/modules/6.12.35-current-sunxi64/updates/v4l2loopback.ko | grep vermagic
vermagic:       6.12.35-current-sunxi64 SMP mod_unload aarch64
modinfo /lib/modules/$(uname -r)/updates/v4l2loopback.ko
filename:       /lib/modules/6.12.35-current-sunxi64/updates/v4l2loopback.ko
alias:          char-major-10-255
license:        GPL
version:        0.15.1
author:         Vasily Levin, IOhannes m zmoelnig <zmoelnig@iem.at>,Stefan Diewald,Anton Novikovet al.
description:    V4L2 loopback video device
srcversion:     45D4A1AED5D88ED1EEB4704
depends:        videodev
name:           v4l2loopback
vermagic:       6.12.35-current-sunxi64 SMP mod_unload aarch64
parm:           debug:debugging level (higher values == more verbose) (int)
parm:           max_buffers:how many buffers should be allocated [DEFAULT: 2] (int)
parm:           max_openers:how many users can open the loopback device [DEFAULT: 10] (int)
parm:           devices:how many devices should be created (int)
parm:           video_nr:video device numbers (-1=auto, 0=/dev/video0, etc.) (array of int)
parm:           card_label:card labels for each device (array of charp)
parm:           exclusive_caps:whether to announce OUTPUT/CAPTURE capabilities exclusively or not  [DEFAULT: 0] (array of bool)
parm:           max_width:maximum allowed frame width [DEFAULT: 8192] (int)
parm:           max_height:maximum allowed frame height [DEFAULT: 8192] (int)

sudo modprobe v4l2loopback
insmod /lib/modules/6.12.35-current-sunxi64/updates/v4l2loopback.ko
insmod: ERROR: could not insert module /lib/modules/6.12.35-current-sunxi64/updates/v4l2loopback.ko: Invalid module format

Edited by kris777

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines