LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to remove module permanently (http://www.linuxquestions.org/questions/linux-hardware-18/how-to-remove-module-permanently-497925/)

Maverick1182 11-02-2006 12:04 PM

How to remove module permanently
 
Hi there I am trying to remove the sn9c102 module from my computer as it keeps interfering with my spca5xx driver loading into the right device number. I have tried the modprobe -r sn9c102 suggested in other threads but that only seems to remove it temporarily. On reboot it seems to load back up again. I cant remember which file I editted to launch it or whether i enabled it as a module in the kernel compilation. Does anyone know if such an option is available (and the path i need to take in the option tree to get to it?) or any locations i should try to see where it is getting started from?

i've tried the

/etc/modules.conf
/etc/rc.d/rc.modules
/etc/modules.autoload.d/kernel-2.6
/etc/conf.d/local.start
/home/mark/.bashrc


Any ideas?

macemoneta 11-02-2006 12:49 PM

I'm not sure if this applies to Gentoo, but there is usually a file called:

/etc/modprobe.d/blacklist

If you add an entry:

blacklist sn9c102

Then that module will never be loaded.

Maverick1182 11-02-2006 04:06 PM

I think gentoo is different as I dont have this file :(

Maverick1182 11-04-2006 03:08 PM

Is there any way that I can uninstall a module by wiping it off the computer somehow? I cant see the option to enable it and i've forgotten how I managed to install it in the first place.


All times are GMT -5. The time now is 09:27 PM.