You are not logged in.
Since Skottish has told me I do not need to blacklist alsa in MODULES in order to use oss.
I assume that udev will choose oss rather than alsa to load when booting up, then I am wondering how does udev choose which one to load, alsa or oss?
And suppose one day, I want to use alsa again, how can I make udev to choose alsa instead of oss?
Also by the way, will there be any conflict to load both alsa and oss together?
Thanks, guys.:)
Offline
Wouldn't you just replace ALSA with OSS daemons in /etc/rc.conf?
Offline
yingwuzhao,
I'm sorry for closing the other thread. I thought that you were done and it was starting to become something else.
What pharcyde said is correct. Remove 'alsa' from the DAEMONS array in rc.conf, and put 'oss' in it's place. Also, if there are any traces of sound related stuff in the MODULES section, remove those too. You don't need them for ALSA or OSS.
Offline
Ok, so udev actually look at what is DAEMON to decide what to load?
I didn't know this.. I thought when boot up, udev will load alsa by default, then why did the OSS Wiki said we need to put !soundcore in MODULES to blacklist Alsa?
Last edited by yingwuzhao (2009-03-15 22:58:59)
Offline
As far as I understand it, udev will always try to load alsa, unless it's blacklisted or absent (the OSS install script removes the ALSA modules, that's why you don't need to blacklist them). udev doesn't know about OSS. The OSS modules are loaded by the oss rc.d script.
Sound-heads, is this accurate?
Offline
the OSS install script removes the ALSA modules, that's why you don't need to blacklist them
Where did oss install script remove alsa modules from? can you elaberate it a little bit?
If so, after installing oss, can you still load alsa instead of oss?
thanks.:/
Offline
Alsa is a kernel component. (API)
Alsa modules are simply drivers, which can be automatically loaded by udev.
The Alsa daemon simply restores volume levels, nothing more.
Offline
then the same question: how did we load alsa after installing oss? if oss install script remove the alsa modules?
Offline
It tells you when you install oss that it's moving away the alsa modules. It runs a script packaged with oss to do this. I haven't actually read the script. It's located at /usr/lib/oss/build/install.sh .
Offline
Thanks, I see. That helps!
Offline