From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yiliang Bao Subject: How to unload a sound module. Date: Tue, 26 Jan 2010 11:37:07 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pz0-f171.google.com (mail-pz0-f171.google.com [209.85.222.171]) by alsa0.perex.cz (Postfix) with ESMTP id 5CA681037F5 for ; Tue, 26 Jan 2010 20:37:10 +0100 (CET) Received: by pzk1 with SMTP id 1so3539745pzk.16 for ; Tue, 26 Jan 2010 11:37:09 -0800 (PST) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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. Module Size Used by snd_dummy 9600 2 Is there any easy way to unload the sound module? Thanks, Yiliang