Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/etc/init.d/alsasound: how to make it stop loading OSS?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ydleiF
Apprentice
Apprentice


Joined: 15 Nov 2002
Posts: 170
Location: Southeast Michigan, USA

PostPosted: Mon Jul 26, 2004 12:58 am    Post subject: /etc/init.d/alsasound: how to make it stop loading OSS? Reply with quote

# /etc/init.d/alsasound start
* Loading ALSA drivers...
* Using ALSA OSS emulation
* Loading: snd-mixer-oss
* Loading: snd-pcm-oss
* Loading: snd-cmipci
* Running card-dependent scripts
* Restoring Mixer Levels

I do not want OSS Loaded at all, so how do I prevent it?

I edited /etc/modules.d/alsa and commented out anything OSS related, but it still does it.

How do I stop OSS support from being loaded?
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Mon Jul 26, 2004 1:34 am    Post subject: Reply with quote

Code:
                if modprobe -c | grep -q "snd.*oss$" ; then
                        # Test for use of OSS
                        einfo "Using ALSA OSS emulation"
                        OSS="$(modprobe -l | grep "snd.*oss" | sed -e "s:\/.*\/::" -e "s:\..*::")"
                        # Add oss modules to list
                        for i in ${OSS}
                        do
                                DRIVERS="${i} ${DRIVERS}"
                        done
                fi


Looks sorta like its looking for OSS compat modules, and if it finds them, loads them.

I'd guess you should just not build the compat modules at all.

It's not loading OSS drivers, anyways, just a compatibility layer for programs that dont use ALSA natively yet
Back to top
View user's profile Send private message
HydroSan
l33t
l33t


Joined: 04 Mar 2004
Posts: 764
Location: The Kremlin (aka Canada)

PostPosted: Mon Jul 26, 2004 1:44 am    Post subject: Reply with quote

Dude. ALSA --> OSS compatibility is a GOOD thing. It allows you to play games or run programs which have no native ALSA driver. In short, it isn't hurting you, and you're still using ALSA.
_________________
I was a Gangster for Capitalism, by Major General Smedley Butler.

Server status: Currently down, being replaced with fresh install - 20% completed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum