Removing Pulse Audio from Ubuntu hardy 8.04 and replacing with esound and back again

Ok… My sound system has pretty much hosed ever since I installed 8.04. It hasn’t been a big deal, but my little one has been wanting to play games on my computer and it sort of stinks not having sound. I’m not in the mood to go 8.10 and I don’t want to screw around with this for too long…. So I’m going to try something hopefully pretty quick and dirty.
According to this post this is what you need to do:

PulseAudio Removal

If you decide you no longer like PulseAudio and would like to disable it: Remove the added lines to /etc/asound.conf If /etc/asound.conf did not exist when you installed PulseAudio, you may remove /etc/asound.conf entirely.

After this, you may remove all of the installed PulseAudio packages.

To disable pulseaudio in hardy you need to select alsa for for all options in /system/preferences/sound

Ok… Lets see what we got.

onas@Ubuntu4:~$ locate asound.conf

Ok… that’s bizarre no files….
So… I was just reading this thread…. Apparently, others had the same issue….
Next try… I basically fired up synaptic and put in pulse audio and marking everything that showed anything to do with pulse audio to remove it. There was two library which had links to games… libpulse-mainloop-glib() and libsdl1.2debian-pulseaudio that if I uninstalled would have taken out alot of games also, so I left that alone for now…
Now lets see…
I read through that thread and it sounds like there could be issues getting esound to run…..
Time to look at this thread.

Looks like bad things might happen… Time to save and publish this post.. In case I need to look at this on another computer…
Ok… At this point from the terminal I:
sudo apt-get install esound
sudo gedit /etc/esound/esd.conf
and changed autospawn from 0 to 1. I have no Idea what that does but I thought I’d try……
Hears the moment of truth…
I’ll be back in a couple after rebooting… (hopefully)
Ok…. So much for the quick fix….
I’m going to try to remove esound and try pulse one more time with this link.
I just did a:
sudo apt-get remove esound
sudo apt-get install pulseaudio

I want to use alsa, so it says to do the following:

ALSA Applications

If the PulseAudio plugin for alsalibs is installed all applications with support for the ALSA API should be able to access a PulseAudio server. You need version 1.0.12 or newer of the ALSA packages for the PulseAudio plugin to be included.

To activate the driver edit /etc/asound.conf or ~/.asoundrc and add:

pcm.pulse {
type pulse

ctl.pulse {
type pulse

I don’t have a asound.conf but I do have asound.rc
soo….. In it goes.

I tried the test and this is what happened.

jonas@Ubuntu4:~$ aplay -Dpulse foo.wav
ALSA lib pcm.c:2104:(snd_pcm_open_conf) Cannot open shared library /usr/lib/alsa-lib/
aplay: main:564: audio open error: No such file or directory

Supposedly to fix that you need to do this.
apt-get install libasound2-plugins
Ok,,, Now I’m getting a different error but it’s time for me to go…

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *