Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
Site Navigation
Linux Forums
Linux Articles
Product Showcase
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Free Publications


OSS (Open Sound System) is sometimes known as depricated, or obsolete. OSS 4.x is alive and running.


You must be using Ubuntu 10.04 to continue


We must remove PulseAudio and ALSA for now.

sudo apt-get purge pulseaudio gstreamer0.10-pulseaudiosudo apt-get purge gstreamer0.10-pulseaudiosudo /etc/init.d/alsa-utils stopsudo apt-get purge alsa-base # If you are not using Ubuntu 10.04, do not run this linesudo apt-get purge alsa-utils # If you are not using Ubuntu 10.04, do not run this linesudo apt-get -y install gdm # This is to make sure that GDM was not removed.sudo dpkg-reconfigure linux-sound-base

You will be greeted with a message.
Press <ENTER>
Select OSS with the arrow keys.
Press <ENTER>

Then we must make ALSA applications use OSS.


sudo apt-get install libasound2-pluginsecho " pcm.!default{
type oss
device /dev/dsp
}
mixer.!default
{
type oss
device /dev/dsp
}" > ~/.asoundrc

Now we must install all the packages we need.


sudo apt-get install -y binutils
sudo apt-get install -y libgtk2.0-0
sudo apt-get install -y sed
sudo apt-get install -y gcc
sudo apt-get install -y libc6
sudo apt-get install -y build-essential
sudo apt-get install -y linux-headers-`uname -r`
sudo apt-get install -y gawk
sudo apt-get install -y libtool
sudo apt-get install -y libgtk2.0-dev
sudo apt-get install -y libesd0
sudo apt-get install -y libsdl1.2debian-oss
sudo apt-get install -y esound
sudo apt-get install -y esound-clients
sudo apt-get install -y esound-common
sudo apt-get install -y libesd0
sudo apt-get install -y arts
sudo add-apt-repository ppa:dtl131/ppa
sudo apt-get -y update
sudo apt-get -y dist-upgrade
sudo apt-get -y install libcanberra0
sudo apt-get -y install libcanberra-gstreamer
sudo apt-get -y install libcanberra-gtk0
sudo apt-get -y install libcanberra-gtk-module
sudo apt-get -y install gnome-session-canberra
sudo apt-get install -y mercurial

RESTART YOUR SYSTEM NOW

Now we must fetch OSS and install it.


cd /opt
sudo hg clone http://opensound.hg.sourceforge.net:8000/hgroot/opensound/opensound oss-devel
sudo apt-get -y remove oss4-base
sudo apt-get -y remove oss4-dkms
sudo apt-get -y remove oss4-source
sudo apt-get -y remove oss4-gtk
cd ~/
sudo rm -rf oss42build
mkdir oss42build
cd oss42build/
NO_WARNING_CHECKS=yes /opt/oss-devel/configure --enable-libsalsa=NO
make
sudo make install
ossmix vol 100sudo !!

Now all that is left is to test your sound!


osstest



If you want more options (such as making ALSA and PulseAudio work with OSS), go to:


Rate This Article: poorexcellent
 
Comments about this article

Comment title: * please do not put your response text here