You are not logged in.

#1 2009-04-18 13:09:22

lang2
Member
Registered: 2006-02-10
Posts: 386

blacklisting snd-hda-intel

Hello,

I have problem with the on-board sound (alsa doesnt' seem to support it too well: m3n8200). So I bought a stand-alone sound card which is working, well the playback part. Anyways, I'm trying to disable the loading of snd-hda-intel by putting

MOD_BLACKLIST=(pcspkr snd-hda-intel)

in rc.conf. But it doesn't work. lsmod still reports that it's been loaded. Why?

Offline

#2 2009-04-18 13:32:19

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: blacklisting snd-hda-intel

Put it in the MODULES array with a ! in front. Like this:
MODULES=(!pcspkr !snd-hda-intel)

Offline

#3 2009-04-18 13:43:14

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: blacklisting snd-hda-intel

That has the same effect.

Offline

#4 2009-04-18 18:13:07

soupcan
Member
From: ?
Registered: 2008-10-25
Posts: 268

Re: blacklisting snd-hda-intel

lang2 wrote:

That has the same effect.

Meaning it doesn't work?
Also, I was under the impression that the MOD_BLACKLIST section was depreciated. I may be wrong.

Offline

#5 2009-04-19 07:42:59

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: blacklisting snd-hda-intel

soupcan: You're right. The MOD_BLACKLIST is deprecated. So here is my line in rc.conf:

MODULES=(!pcspkr !snd_hda_intel r8169 slhc snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd soundcore vboxdrv fuse loop)

I've also noticed that rc.conf uses '-' like 'snd-mixer-oss' while the actual module itself uses underscore like 'snd_mixer_oss'. I've tried both for !snd_hda_intel and it's still loaded.

Offline

#6 2009-04-19 08:11:33

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: blacklisting snd-hda-intel

Try creating /etc/modprobe.d/intel-sound and puting this into:

blacklist snd-hda-intel

Offline

#7 2009-04-19 10:31:31

lang2
Member
Registered: 2006-02-10
Posts: 386

Re: blacklisting snd-hda-intel

Mystery solved: I have a /etc/modprobe.d/sound.hda which looks like:

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel

I still don't understand the usage of '-' and '_' though.

Thanks.

Offline

Board footer

Powered by FluxBB