LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Restarting soundcard driver module??? (https://www.linuxquestions.org/questions/linux-newbie-8/restarting-soundcard-driver-module-87769/)

AZ_Rider 08-31-2003 07:37 PM

Restarting soundcard driver module???
 
Certain apps, namely XMMS, like to kill my sound output...

Is there a way I can restart the sound module without rebooting the whole system? Linux seems to be really good about letting you do this kind of thing but I have no clue how.

Thanks,
Rob

Demonbane 08-31-2003 07:52 PM

As root, first do a "lsmod" to list all currently loaded modules, find out which one is for your sound card, then use "rmmod <module name>" to unload it. Use "insmod <module name>" to load it again, or use "modprobe" instead of insmod if it gives you errors.
Read the man pages on these commands for more detailed information.
Hope this helps

contrasutra 08-31-2003 07:52 PM

rmmod "module"

that unloads the module

modprobe "module"

loads the module again (with all its "dependancies".


you can also use the "modprobe -r" to unload the module.

galeksic 08-31-2003 09:18 PM

try
fuser -k /dev/dsp

ashrobo 09-01-2003 02:56 AM

what to do if this happen after a "rmmod sound"?
sound: Device or resource busy
lsmod shows no one is using the module 'sound'..

Thanks
-ashrobo

AZ_Rider 09-10-2003 10:08 PM

Bump
 
Just wanted to bump this back up.... I am having the busy error too:

[root@RedHatLinux dev]# rmmod cmpci
cmpci: Device or resource busy

Any ideas? Can I force this to happen somehow?

Thanks,
Rob


All times are GMT -5. The time now is 01:44 PM.