Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-31-2003, 07:37 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 12

Rep: Reputation: 0
Question 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.

Old 08-31-2003, 07:52 PM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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
Old 08-31-2003, 07:52 PM   #3
LQ Guru
Registered: Mar 2003
Location: New Jersey
Distribution: Arch Linux
Posts: 1,445

Rep: Reputation: 47
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.
Old 08-31-2003, 09:18 PM   #4
LQ Newbie
Registered: Jan 2003
Location: Belgrade, Serbia & Montenegro
Distribution: SuSE 8.2 Pro
Posts: 2

Rep: Reputation: 0
fuser -k /dev/dsp
Old 09-01-2003, 02:56 AM   #5
LQ Newbie
Registered: Aug 2003
Posts: 1

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

Old 09-10-2003, 10:08 PM   #6
LQ Newbie
Registered: Aug 2003
Distribution: Red Hat 9
Posts: 12

Original Poster
Rep: Reputation: 0

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?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Soundcard Driver for ALi M5451 Soundcard (Trident Module) xianzai Linux - Hardware 3 12-15-2006 12:00 PM
My sound module (snd-mia) works, but without manually restarting the initscript... jacksonscottsly Linux - Hardware 0 07-31-2005 08:19 AM
Restarting soundcard driver - OSS Artik Debian 3 07-30-2005 01:57 PM
AC97 Soundcard module.... MadSkillzMan Linux - Hardware 2 11-21-2004 02:28 PM
How to make a soundcard use driver module escargot22026 Linux - Hardware 6 08-19-2004 04:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration