How to disable v4l2loopback?

Hi,

I’m using aurora-dx and I’m trying to disable the kernel module v4l2loopback, however it’s automatically loaded every time.

I created the file /etc/modprobe.d/v4l2loopback.conf to disable it:

blacklist v4l2loopback
install v4l2loopback /bin/false

Anyone knows why is still loading after a reboot?

Thank you.

I have also overridden the file /usr/lib/modules-load.d/v4l2loopback.conf with a symlink to /dev/null:

ln -s /dev/null /etc/modules-load.d/v4l2loopback.conf

I also added these kernel cmdline options:

v4l2loopback.blacklist=1 rd.driver.blacklist=v4l2loopback

But even after all that, the module is still loaded at boot. :frowning_face:

Btw, I’m also having the same problem trying to disable zfs. I want to have a non-tainted kernel because I’m having some other problem with suspend/resume.

Ok, I finally fixed it. The correct kernel cmdline option is modprobe.blacklist=<module_name>.

1 Like