[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OSS Versus ALSA Modules



Hi,

On Wed, 18 May 2016 07:55:54 -0500
"Martin McCormick" <martin.m@suddenlink.net> wrote:

(...)
> 	One must not have both OSS sound modules and ALSA sound
> modules active when installing sound cards.
(...)
> By the way, having both OSS and ALSA modules cause lots of
> weirdness that makes no sense at all.

I never had any trouble at all with the OSS compatibility modules.
Not sure where this statement comes from, if it is an old source, maybe
they meant the old, true OSS modules (which have been removed from the
linux kernel quite some time ago, though), where this was certainly true.
The snd-pcm-oss and snd-mixer-oss modules however are *not* OSS modules,
but come from ALSA and just add an OSS-compatibility layer to the ALSA
sound drivers, so that applications that rely on the presence of the OSS
devices like /dev/dsp remain usable.

> The way you get rid
> of the OSS modules is by putting a blacklist entry in
> /etc/modprobe.d/alsa-base-blacklist.conf which reads:
> 
> #keep oss modules from loading.
> install soundcore /bin/false
> 
> It works superbly and gets rid of all the OSS modules and also,
> all the ALSA modules so now, I have no sound cards defined at all
> as long as that directive is in place.

If you don't want snd-pcm-oss you should blacklist snd-pcm-oss.
When you blacklist soundcore it is not much of a surprise if you get no
sound at all ;)

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

You canna change the laws of physics, Captain; I've got to have thirty
minutes!


Reply to: