Disable Modules on startup
hi
well ive managed to get my sound working in slackware 10 using the nvsound drivers. but the problem i have now is that everytime i reboot i have to type /etc/init.d/alsasound stop then modprobe nvsound before i can have sound working. im pretty much new and dont know much about modules. but looked in /etc/modules.conf and it was blank. and looked in the rc.modules ...but i couldnt see anything related to alsa being loaded. so what do i need to do to stop alsa from loading and automatically load nvsound? thanks alot guys Kane |
you could put them in /etc/hotplug/blacklist.
that will prevent loading them by hotplug and to load the other module at boot, add a line like " /sbin/modprobe nvsound " in rc.modules. egag |
sorry to be so n00bish .. but what would i need to add to the blacklist file?
i have no idea what im looking for :p but have added the nvsound to the modules file :) |
look at the output of " $lsmod "
all modules starting with " snd " are alsa. but i remember there was another way to stop alsa but i wonder where i saw that....... maybe someone else can answer that. meanwhile you could check if the blacklist option works for you.... egag |
In /etc/rc.d, do you find a file called "rc.alsa"? Is it executable?
If so, then I'd think that this is what is loading the alsa drivers at boot. You could prevent this by changing the permissions of the rc.alsa file, so that it no longer can be executed. |
^^ yeh i think i do remember seeing a rc.alsa in there
i'll have a look later. and so to change it so it cant be execute i just use chmod 0666 ? (im still learning :study: ) thanks Kane |
me to......
guess that's it. thanks sybille egag |
Well, I'm still learning, too.
In fact, I find the whole thing with permissions kind of confusing and I often resort to setting them ROX-Filer, which I suppose some of you out there will find amusing... However, I've also read this HOWTO: http://www.linuxquestions.org/questi...ticle&artid=20 In order to remove the permission to execute for owner, group, and everyone else, this is what I think you want: Code:
chmod 600 /etc/rc.d/rc.alsa :) |
or you can use :
#chmod -x /etc/rc.d/rc.alsa egag |
Quote:
its working great now :D (starting to love linux hehe) although i get a warning message, i got the same message just after i installed the drivers. and its: /something/nvsound.o will taint the kernell: no license i still works fine ...but does anyone know what this means? and if i cant stop it? thanks once again everyone Kane |
------------
/something/nvsound.o will taint the kernell: no license ------------ that's just a message. ( don't think it's bad....) egag |
All times are GMT -5. The time now is 06:37 PM. |