[alsa-devel] How to unload a sound module.

Eliot Blennerhassett eblennerhassett at audioscience.com
Wed Jan 27 09:43:41 CET 2010

Yiliang Bao wrote:
> Hi,
> I am new to alsa driver development. The first problem I encountered is I
> could not unload a module just inserted. I always get the following message
> (using snd-dummy as an example).
>> sudo rmmod snd-dummy
> ERROR: Module snd_dummy is in use
> I checked who is using snd-dummy. Here is what I got and I do not know what
> applications are using it.

sudo lsof /dev/snd/*

More information about the Alsa-devel mailing list