Prevent module from loading

Does anyone know of a way to prevent a module from loading?
I tried adding the RTL drivers to the blacklist.conf, but they don’t persist across reboots.
From the console, I can run rmmod dvb_usb_28xxu rtl2832 and then I can use my addon, but it’s a pain to have to do that every time HA is restarted.
I am running Home Assistant OS 5.10 with Home Assistant 2021.1.1

Hello, I believe I have the same issue, RTL433 to MQTT does not start with usb_open error.
Did you find a solution?

I haven’t found a solution yet. If you happen to find one before I do, can you please post back here?

I’m still struggling to unload the kernel module. From the SSH addin I always get:

$ sudo rmmod dvb_usb_rtl28xxu rtl2832
rmmod: can't unload module 'dvb_usb_rtl28xxu rtl2832': operation not permitted

I found a solution that worked for me. I had to fork the rtl4332mqtt plugin to my own version and change the config.json file:

remove -> “devices”: ["/dev/bus/usb:/dev/bus/usb:rwm"],
replace with -> “usb”: true,

remove -> “startup”: “before”,
replace with -> “startup”: “services”,

Thanks to @frenck for telling me the right configuration on the Discord chat.

That’s awesome! Thanks for the feedback. I will give it a shot.