Quote:
Originally Posted by xerxesdaphat
Does blacklisting just prevent automatic loading, or does it forbid loading entirely?
|
I am not sure, but I think it would be real easy to experimentally find out. I.e., try it and see.
If you don't want to or can't blacklist, another option would be to let the driver load but to manually unload it in
/etc/rc.local. If you needed a slight time delay you could have
rc.local background another script which first waits using the
sleep command and then unloads the module. (BTW, the
sleep command in Ubuntu will except fractional seconds.)
There's another option that
might work. (I've never tried this; let the buyer beware.) You could create a file in
/etc/modprobe.d that contains the line
Code:
install rt2570 /bin/true
(I am not at a Linux computer; I
think true is in /bin) When
modprobe tries to load the module, it will, instead (I hope) simply execute
true instead. If you do this and it works, then to actually install the module you would have to:
Code:
modprobe --ignore-install rt2570
Hopefully one of these methods will help you out. If you try the last one, please let me know if it works.