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

Revise the dependent modules #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

hankTaro
Copy link

@hankTaro hankTaro commented May 24, 2023

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

Copy link
Collaborator

@jserv jserv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read https://cbea.ms/git-commit/ carefully and refine the git commit message.

@jserv
Copy link
Collaborator

jserv commented May 24, 2023

You have to ensure that recent kernel versions come with the same module names. If not, you shall specify the versioning information.

@jserv jserv changed the title Update README.md Revise the dependent modules May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants