kernel module disable / blacklist
tomek at cedro.info
Sun May 31 16:23:01 UTC 2020
Hello world :-)
I am creating an embedded system that exposes the serial port over
USB. This causes auto-load ucom, umodem, u3g modules, even though I
have removed them by hand. Because of the development steps I need to
plug and unplug that device quite often. It would be lovely to be able
to blacklist a given set of modules so they does not auto-load on
device connect. `module_blacklist` in `loader.conf` does not seem to
work at runtime.
Is there a simple way to temporarily blacklist given modules?
I would prefer not to modify the devd configurations because also I
have a u3g modem in my laptop that I would like to use by default.
Temporary blacklist should ideally have a precedence over devd.
Any hints appreciated :-)
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
More information about the freebsd-questions