Today while I was listening to music in my Ubuntu(Karmic Koala Alpha 4) machine, the sound suddenly stopped. I searched over the internet and found no solution to the problem. I restarted my alsa utilities but no luck. Then I killed the pulseaudio and then the sound started to play again.
So, I am sharing this with you all. Here goes the solution copy/paste in your terminal.
killall pulseaudio
Edited:
Reason: Non-sustainable problem
After 2-3 three days I stated get get more weird problem regarding pulseaudio. The sound suddenly stopped and pulseaudio ended up consuming about 50% CPU.
I then tried editing various configuration files and came up with an ultimate solution.
First we need to find out your Sound Card model. Use the following command for that
cat /proc/asound/card0/codec#* | grep Codec
Now after you found you sound card model you can proceed. I found my Sound Card model was:
ALC662
What we need to do is to edit the modprobe configuration now. So to use the modprobe configuration, use the command below.
sudo gedit /etc/modprobe.d/alsa-base.conf
In the modeprobe.conf check for you audio driver and replace it with
options snd-hda-intel model=MODEL
I also figured out that the audio driver was sent to sleep mode after sometime of inactivity. That was the basic problem that was causing pulseaudio to hangup.
Hope this solves your problem.

{ 10 comments… read them below or add one }
thanks, I had a different problem, I was having a enoying sound every minute, like sound turning on and off, your solution worked pretty good, no more enoying sound.
Ecuador
gracias!
So I’m dealing with the same problem, but when I grep to find my soundcard model I don’t seem to get results that look similar to anyone else’s who’s successfully used this fix.
***@***:~$ cat /proc/asound/card0/codec#* | grep Codec
Codec: IDT 92HD75B2X5
Codec: LSI ID 1040
Which of the two is the model I ought to use and what am I supposed to do about the spaces when I edit alsa-base.conf?
Thanks for any ideas you might have
~Elisa
Put these line in the alsa-base.conf:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=hp-hdx
options snd-hda-intel enable_msi=1
and restart. Please let know if your problem isn’t fixed.
you’re my hero … the four lines in ur comment worked like a charm you freak !
hi there, i think i have that “sleep mode” problem somehow.. because when a system thing trys to sound i only get “blip” also i cannot get startup and shutdown sounds. and this is a lil annoying.
i tried your commands, but when i gedit alsa-base.conf, there is no such a line “options snd-hda-intel model=”
so can i add it? or is this a different problem, or is there any way not to get in the sleep mode?? (ubuntu 9.10)
@sez
Please post the output of cat /proc/asound/card0/codec#* | grep Codec
sez@sez-laptop:~$ cat /proc/asound/card0/codec#* | grep Codec
Codec: Realtek ALC883
Codec: LSI ID 1040
do you have any idea? (oh by the way i am a newbie and maybe irellevent but) ubuntu always starts the volume muted.. this is also annoying..
by the way i can listen to my music, videos etc. i only have that blips (tries to sound, but cannot) problem.. thanks
Try compiling the driver for the sound card http://www.realtek.com.tw/downloads/downloadsCheck.aspx?Langid=1&PNid=14&PFid=24&Level=4&Conn=3&DownTypeID=3&GetDown=false
my grep output is:
Codec: SigmaTel STAC9227
what do i put in the conf file?
i cannot hear any sound at all since upgrading to karmic
dare@dare-desktop:~$ cat /proc/asound/card0/codec#* | grep Codec
Codec: Analog Devices AD1884
Pls what do i do next? I have no sound at all since installation… Thanks for your efforts.