[alsa-devel] Can not rmmod snd_hda_codec_hdmi
Jaroslav Kysela
perex at perex.cz
Wed Dec 24 20:02:31 CET 2014
Dne 24.12.2014 v 14:27 Xuebing Wang napsal(a):
> On Wed, 2014-12-24 at 22:21 +0900, Takashi Sakamoto wrote:
>> On Dec 24 2014 22:07, Xuebing Wang wrote:
>>> 2) However, in Fedora, 'pulseaudio --kill' or your way can get refcount
>>> of snd_hda_intel from 7 to 2 (5 decreased). Any suggestions how to
>>> decrease the rest 2 refcount?
>>>
>>> 3) I did try to build tag 3.13 from mainline kernel (using Fedora 3.17.4
>>> config file) and tried 3.13 kernel on Fedora, and got the same result
>>> (refcount of snd_hda_intel is down from 7 to 2).
>>
>> Hm. In this case that the refcount is down to 2, how is the output of
>> 'fuser' command? If any applications use these character devices, we can
>> see the name of command.
>
> Sakamoto-san, thanks for your help.
>
> I found out that it is alsactl in Fedora. After kill alsactl, refcnt is
> now down to 0, and both snd_hda_intel and snd_hda_codec_hdmi can be
> rmmod'ed. 'fuser -v /dev/snd' does not reveal alsactl.
>
> Thanks again.
The command should be:
$ fuser /dev/snd/*
And you can stop the alsa state service in Fedora using:
$ systemctl stop alsa-state.service
Jaroslav
---
Jaroslav Kysela <perex at perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.
More information about the Alsa-devel
mailing list