vcam
vcam copied to clipboard
Revise the dependent modules
Fix the wrong mod name
In section $ sudo modprobe -a videobuf2_vmalloc videobuf2_v4l2
, mod's
name in kernel 5.19.0-42-generic, should use -
to connect, not _
.
In root/drivers/media/Makefile line 32:
obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test-drivers/
and root/drivers/media/common/videobuf2/Makefile line 16-17:
obj-$(CONFIG_VIDEOBUF2_V4L2) += videobuf2-v4l2.o
obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o
we can know .ko file name will be videobuf2-v4l2.ko rather than videobuf2_v4l2.ko.
refer by: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/Makefile?h=v6.3.3 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/media/common/videobuf2/Makefile?h=v6.3.3