Ubuntu Karmic Koala Sound Problem [Solved]

by freak on September 3, 2009

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 }

Alberto November 16, 2009 at 7:57 pm

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!

Elisa December 6, 2009 at 4:13 pm

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

freak December 6, 2009 at 7:56 pm

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. :)

amir December 8, 2009 at 3:15 pm

you’re my hero … the four lines in ur comment worked like a charm you freak ! :D

sez January 4, 2010 at 10:47 am

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)

freak January 4, 2010 at 2:18 pm

@sez
Please post the output of cat /proc/asound/card0/codec#* | grep Codec

sez January 4, 2010 at 4:45 pm

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

freak January 12, 2010 at 10:57 am
AmT January 13, 2010 at 11:24 pm

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 January 15, 2010 at 6:29 am

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.

Leave a Comment