PDA

View Full Version : [SOLVED] Dummy output - No Sound Card Detected / snd-hda-intel - (Karmic)



TacheDeChoco
November 6th, 2009, 10:56 AM
After so many many attempts to solve my audio problems when upgrading to Karmic, I finally found a working solution :p !

First, let me decribe what the problem was:
1) no audio card was detected at all
=> cat /proc/asound/cards returned an empty content
=> cat /proc/asound/devices did not include any audio devices
=> 'Hardware' tab in sound preferences was empty
2) the audio tray indicated a "dummy output"


SOLUTION
========

For those who do not have a fresh Karmic install (in other words those who have upgraded their Jaunty install), you should update your Grub BEFORE applying the 2 steps described hereunder:

sudo update-grub



Step1: make the sound card being recognized

=> Purge alsa-base and pulseaudio, eg:

sudo apt-get remove --purge alsa-base
sudo apt-get remove --purge pulseaudio
sudo apt-get install alsa-base
sudo apt-get install pulseaudio
sudo alsa force-reload


Now, reboot, you shoud now SEE (but maybe not yet hear) your soundcard.
Give a try to:
cat /proc/asound/cards
and see if any card is listed...


Step2 : If the sound is crapy, you MAY have to edit the alsa config file:

sudo gedit /etc/modprobe.d/alsa-base.conf

a) comment (#) the following line:
# options snd-hda-intel power_save=10 power_save_controller=N

b) Add a new line
options snd-hda-intel probe_mask=1 model=hp

Replace "hp" with appropriate computer model. See here (http://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt)

Good luck !

Bernard.

StudioCascade
November 7th, 2009, 11:43 PM
Thank you for your clear explaination.
I followed the above instructions step by step,
but it didn't solve my "dummy output" problem directly.

But then I figured out that my kernel was incorrect.
So if anyone still keeps having this problem, look if you've got the right kernel.
(there's another topic where this is clearly explained)

sgleo87
November 9th, 2009, 03:22 PM
I followed all your steps and my card shows up when running cat /proc/asound/cards, but I still had a dummy output in the gnome sound preferences. But after editing /etc/modprobe.d/alsa-base.conf and adding options snd-hda-intel probe_mask=1 model=asus-v1s it finally worked!!! Thanks so much!

linnovice
November 9th, 2009, 08:47 PM
Can any of you guys help me? Im new to linux and I still have no sound on Jaunty. I love the OS but if I cant get no sound im off back to Windows. Ive left loads of messages for help on here but so far not one reply.

Could someone spare some time to talk me through what to check etc?

Many thanks

Xpire
November 10th, 2009, 04:25 AM
I tried following this guide but it didn't work for me.

I found this guide, upgrade-alsa (http://monespaceperso.org/blog-en/2009/10/29/upgrade-alsa-1-0-21-on-ubuntu-karmic-koala-9-10/) and noticed that it failed when I tried to do

sudo apt-get -y install linux-headers-`uname -r` libncursesw5-dev

while it was trying to look for the drivers for version 16 of the kernel.

Rebooted back to version 14, and the sound worked!

Is there any way I can get that linux-header installed for version 16?

chayon
November 10th, 2009, 01:41 PM
Hey Bernard!

You are a life saver! :D I followed your instructions and it worked!

I am using a HP pavillion DV6500, by the way.

- Chayon

joelswanson
November 10th, 2009, 02:26 PM
I have an Intel sound card and was having trouble getting the sound to work. My card had been detected, but I was still having problems. Removing and reinstalling alsa and pulseaudio worked for me. So if your having trouble, even if your card is detected, the above instructions could still help.

Surrendermonkey
November 10th, 2009, 05:03 PM
I followed all your steps and my card shows up when running cat /proc/asound/cards, but I still had a dummy output in the gnome sound preferences. But after editing /etc/modprobe.d/alsa-base.conf and adding options snd-hda-intel probe_mask=1 model=asus-v1s it finally worked!!! Thanks so much!

The exact same happened here, the card showed up but was still dummy output, editing /etc/modprobe.d/alsa-base.conf did the trick for me.

M03BIUS
November 11th, 2009, 04:22 AM
I've tried everything on this thread and still no luck getting this to make sound... someone please help.

mammoth23
November 11th, 2009, 11:21 PM
Thanks for the perfect hint. I followed all your steps even though my sound card was identified from the very first. Nevertheless, I didn't hear anything and only a dummy output showed up in pulseaudio.

My configuration: Acer Travelmate 8100, Soundcard: HDA Intel, Chip: Realtek ALC880.
using options snd-hda-intel probe_mask=1 model=auto did the job.

Many thanks!

HuaiDan
November 13th, 2009, 03:30 PM
Bummer

HuaiDan
November 14th, 2009, 04:25 AM
Finally got it, here.s what I had to do:

Purged pulseaudio, didn't reinstall it throughout the whole procedure.

Whenever I force reloaded alsa, I noticed my compositing flickered and my cairo dock did funny things. Digging into that problem revealed that I had the old NVidia driver still trying to load for the old kernel, and my menu.lst wasn't loading the new kernel, which was trying to load the new Linux video driver (phew!)

Edited my menu.lst to load the new kernel, removed new linux video driver, the installed the new NVidia driver from the Nvidia website (190 version). Rebooted. Now I had beautiful compositing, still no sound.

Then I edited /etc/modprobe.d conf files.
Removed the modem blacklist entries there.
Two files there I didn't quite understand: alsa-base-conf and als-base.conf
Made sure these two files had the same content. Not sure if this was necessary, but...
Put this entry into both :
options snd-hda-intel model=3stack

Completely deleted the power saving entry, because I have had suspicious results before trying to comment out lines in .conf files.


Did a hard reboot, checked system/preferences/multimedia systems selector (you may need to add this to the menu, but it's there), selected ALSA and default for everything (dare not experiment there because...)

Got tone when I tested. Music in Amarok. Finally.


It really sucks having gone through all that. Kind of a psychological mind f*** if you ask me.

bjorn_huang
November 14th, 2009, 07:47 PM
I had the same problem. I used to force reload alsa as described above to get the sound, but today I also found a simpler solution from this post

https://bugs.launchpad.net/system76/+bug/463874

after removing the software modem driver I finally got the sound back.

tangled
November 14th, 2009, 08:17 PM
Thanks for the perfect hint. I followed all your steps even though my sound card was identified from the very first. Nevertheless, I didn't hear anything and only a dummy output showed up in pulseaudio.

My configuration: Acer Travelmate 8100, Soundcard: HDA Intel, Chip: Realtek ALC880.
using options snd-hda-intel probe_mask=1 model=auto did the job.

Many thanks!

"model=auto" did it! Thanks

HuaiDan
November 15th, 2009, 04:25 AM
Addendum:

Reinstalled Pulseaudio, got my sound controls back.

re-edited my alsa-base.conf and alsa-base-conf to read:

options snd-hda-intel model=6stack-dig

Don't know if that last one made a difference, but that's what I have.

Fo-fo
November 15th, 2009, 05:25 AM
removing software modems from system>hardware drivers worked for me too

HuaiDan
November 15th, 2009, 07:28 AM
Addendum:


Use this webpage to get the model number for the conf files, based on your sound chipset info you get from sudo lspci. That should really narrow the field.

http://forumubuntusoftware.info/viewtopic.php?f=7&t=3398

I then aliased the soundcard paths in alsa-base.conf and alsa-base-conf as follows, and added index=0:
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=6stack-dig index=0



Doing this really fine tuned the audio options. Whereas before I had one default option under sound preferences/hardware/Settings for the selected device:, now I have several for surround, digital, analog, stereo, which upon testing work as intended. Truly functional at this point.

Think I've reached a good stopping point, audio has been optimized. Thanks to all for contributing their valuable input.

jac0117
November 18th, 2009, 05:42 PM
"model=auto" did it! Thanks



Yeah this did it for me too.

ToshibaLaptoplinux
December 16th, 2009, 03:51 PM
Removing software modems fixed it for me too.

rumentab
December 23rd, 2009, 04:13 PM
Thank you very much for this solution. I've tried lots of attempts to make my sound work, but this only worked. One more time THANK YOU!!!!

Kallewoof
December 26th, 2009, 07:05 PM
"model=auto" did it! Thanks

Same here. Thank you muchly!!:D

kurtisnathan
January 7th, 2010, 11:02 PM
I was going crazy thinking I wouldn't find an answer to this problem. Thank you so much! Worked like a charm.

T0rch
January 8th, 2010, 05:48 PM
Thanks very much it works now ;)

la1234uk
January 15th, 2010, 08:38 AM
Exactly same problem to me: upgraded from 9.04, and no sound card in cat /proc/asound/cards. No way to hear any sound.

I SOLVED it as follows:

INTRO :

If you upgraded from previous versions, during installation you were asked several questions... if you answer with the DEFAULT to most of them, your GRUB menu list may be the old one !

This means that you are running the old kernel against the new software packages of Karmic Koala... this is presumably the reason of alsa driver messing up.

PROCEDURE :

open two terminal window and place them side to side.
On the first one type

ls /boot/ -all

search for the LAST version of the kernel, in my case was
vmlinuz-2.6.31-17-generic

on the other window type

sudo nano /boot/grub/menu.lst

go down and search for your boot section: it should look something like this:

title Ubuntu 9.04
root (hd0,4)
kernel /boot/vmlinuz-2.6.31-17-generic root=UUID=922c9$
initrd /boot/initrd.img-2.6.31-17-generic
quiet

now: the point here are the numbers after vmlinuz. They represent your kernel version. Using the adjacent other terminal window, look at the dates and VERIFY that your current vmlinuz version is actually the last one.

If not EDIT the kernel and initrd lines accordingly. You have just to change the numbers of vmlinuz-2.6.xx-yy-generic and initrd.img-2.6.xx-yy-generic. Make it match the last version you have.

=====================================

After you fix this SAVE and close the file. Then do in terminal:

sudo update-grub

THEN remove all alsa and pulseadio and install them again. To do this go in terminal and do:

sudo apt-get remove --purge alsa-base
sudo apt-get remove --purge pulseaudio
sudo apt-get clean && sudo apt-get autoremove
sudo apt-get install alsa-base
sudo apt-get install pulseaudio

then reset, your sound should be OK now.

This is the way I fixed my system after an update from 9.04 to 9.10. Cross your fingers and everything should work for you too.

Greg Ruo

:popcorn:

wild_ecstasy1985
January 17th, 2010, 09:27 AM
Thanks a ton! that worked!

Procedure:
1. check the kernel [thanks la1234uk]
2. then continue from sudo update-grub --- [thanks TacheDeChoco]

Note: while editing the alsa-base-conf, model = auto worked for me too [thanks mammoth23]


-- Sagar Hatekar :D

CRMR
January 30th, 2010, 04:48 PM
Thankx buddy...
I am using ASUS-F3e notebook. My sound card was detected, but still there is "Dummy output".
It was solved after adding
options snd-hda-intel probe_mask=1 model=asus-laptop
to /etc/modprobe.d/alsa-base-conf

Thankx a lot buddy... :D :D :D

mpwh
February 9th, 2010, 01:43 AM
THanks a lot!.. works like a charm.. this really helped me out..

jintachi
February 10th, 2010, 09:27 PM
This didn't work for me unfortunately but I did manage to solve my problem. I'm on an Inspiron 1525 my sound card is an Intel Corporation 82801H (ICH8 Family) Sigmatel 9205. I've posted the fix instructions here:

http://ubuntuforums.org/showpost.php?p=8806349&postcount=12

clint0n
February 26th, 2010, 06:34 AM
thank you so much worked liked a charm, had black screen when starting up. had to boot into recovery, login, do 'startx' and then follow your guide. thanks again.

netopalis45
March 1st, 2010, 04:11 PM
i have followed all the steps but am still not able to get any sound. when i run the cat /proc/asound/cards i can see the cards that i have installed but when i try to use sound preferences to set up the cards so i will actually get sound, it says that there are no hardware devices. the same thing happens when i use pulseaudio.

output for cat /proc/asound/cards
0 [CA0106 ]: CA0106 - CA0106
Audigy SE [SB0570] at 0xcca0 irq 18
1 [S51 ]: USB-Audio - SB X-Fi Surround 5.1
Creative Technology SB X-Fi Surround 5.1 at usb-0000:00:1d.7-6.1, full speed
2 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xefffc000 irq 16
3 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xefdec000 irq 17


please help!

lulled
March 15th, 2010, 01:30 AM
Thank you very much. It worked like a charm. :D

dgavenda
March 16th, 2010, 03:21 PM
auto worked for me too. I did try dell-m22 b/c I have a Dell Latitude 620 but that did not work.

Silent_Voice
March 21st, 2010, 05:16 PM
It worked for me, thank you very much for the detailed instructions!

gux2k3
April 19th, 2010, 01:03 AM
Thanks a lot guys I was using an older kernel thanks to my lazynes when upgraded to karmic

special thanks
TacheDeChoco
la1234uk

:guitar:

lidex
April 19th, 2010, 03:37 AM
Karmic issues go here first:
https://wiki.ubuntu.com/DebuggingSoundProblems/KarmicCaveats

jazzderry
May 31st, 2010, 07:36 PM
After so many many attempts to solve my audio problems when upgrading to Karmic, I finally found a working solution :p !

First, let me decribe what the problem was:
1) no audio card was detected at all
=> cat /proc/asound/cards returned an empty content
=> cat /proc/asound/devices did not include any audio devices
=> 'Hardware' tab in sound preferences was empty
2) the audio tray indicated a "dummy output"


SOLUTION
========

For those who do not have a fresh Karmic install (in other words those who have upgraded their Jaunty install), you should update your Grub BEFORE applying the 2 steps described hereunder:

sudo update-grub



Step1: make the sound card being recognized

=> Purge alsa-base and pulseaudio, eg:

sudo apt-get remove --purge alsa-base
sudo apt-get remove --purge pulseaudio
sudo apt-get install alsa-base
sudo apt-get install pulseaudio
sudo alsa force-reload


Now, reboot, you shoud now SEE (but maybe not yet hear) your soundcard.
Give a try to:
cat /proc/asound/cards
and see if any card is listed...


Step2 : If the sound is crapy, you MAY have to edit the alsa config file:

sudo gedit /etc/modprobe.d/alsa-base-conf

a) comment (#) the following line:
# options snd-hda-intel power_save=10 power_save_controller=N

b) Add a new line
options snd-hda-intel probe_mask=1 model=hp

Replace "hp" with appropriate computer model. See here (http://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt)

Good luck !

Bernard.
thank you for the great easy tip! i'm using ubuntu 10.04 Lts, came home from w/e away to find my sound gone-everything missing- no idea why but i reinstalled everything like you said(above) rebooted and the sound was back! so whatever the problem/bug is- its still there in Lucid.

TacheDeChoco
June 15th, 2010, 10:19 AM
It's me again:p

Just to confirm that the problem seems to still exist in Lucid (even with a complete brand new/fresh install).

This time, my card was recognized (nice progress ;-) ! ),
but i still had to add the line:

options snd-hda-intel probe_mask=1 model=hp

in my alsa-base-conf file...

paintedfaceless
July 2nd, 2010, 04:23 PM
Just to add to this. This fix did work out for my hp dv6500 in lucid linx. However, I've noticed that this problem seems to emerge again only when I shutdown my computer and forget I have an audio program (in my case Banshee) open. It also seems to come tagged along with an issue of not wanting to reboot correctly when I shutdown or restart using the menu, it pretty much just logs me out and there's no sound.

A simple hard reboot (holding the power button until it forces itself to shutdown) fixes both problems. hopefully this helps someone else, since this has been working for me.

DarkAmbient
July 16th, 2010, 02:46 PM
sudo apt-get remove --purge alsa-base
sudo apt-get remove --purge pulseaudio
sudo apt-get install alsa-base
sudo apt-get install pulseaudio
sudo alsa force-reload

Now, reboot

Thank you! Ive only had 2 channel sound with Ubuntu 10.4. Doing this, not only I got my sound back (for some reason i got that dummy thing you mentioned an hour ago and no sound) but i got 5.1 surround to work aswell with this :D I'm really pleased!

edpare
July 22nd, 2010, 04:16 PM
Thanks Bernard! I had the exact same symptoms and urging/preloading alsa did the trick!

Ed

Yumi
September 4th, 2010, 07:15 AM
The described problem still exists in Maverick (Ubunut 10.10) and the cure works here too.

Thanks,
Michael

5oak
September 7th, 2010, 06:12 PM
I don't understand. Where should I put the model=auto part? There's nothing like it in my config file:


# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2

For me the problem only occurs sometimes. It could have something to do with hibernation. By the way, I'm on lucid and use only the snd_usb_audio card.

5oak
September 22nd, 2010, 05:48 PM
Bump. This is not solved for me...

lkjoel
September 25th, 2010, 04:28 AM
For everyone reading this thread who do not have their sound problems fixed:
Go to Fix your sound! in my signature.
Then use Post-Fix your sound! in my signature.

kazza_nz
November 1st, 2010, 12:05 AM
Thanks Step 2 done the trick for the sound on my hp touchsmart to get it working on ubuntu 10.10.




Step2 : If the sound is crapy, you MAY have to edit the alsa config file:

sudo gedit /etc/modprobe.d/alsa-base-conf

a) comment (#) the following line:
# options snd-hda-intel power_save=10 power_save_controller=N

b) Add a new line
options snd-hda-intel probe_mask=1 model=hp

Replace "hp" with appropriate computer model. See here (http://www.mjmwired.net/kernel/Documentation/sound/alsa/HD-Audio-Models.txt)

Good luck !

Bernard.

kazza_nz
November 1st, 2010, 12:23 AM
5oak

I would assume the model=auto would refer to step 2b of the original post.

drinkleadsoup
January 11th, 2011, 07:06 PM
This is what worked for me.

Open Terminal.

Type:

gstreamer-properties

On the audio tab,
Below ouput,
click the plug-in button.

Choose ALSA

click the device button.

Choose "your soundcard"

Repeat for input.

You're done.

Test if you wish.

Issou92
February 5th, 2011, 12:39 PM
Thanks alot for the great guide, but here's what I get:

sudo alsa force-reload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/issrar/.gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/issrar/.gvfs
Output information may be incomplete.
Unloading ALSA sound driver modules: (none loaded).
Loading ALSA sound driver modules: (none to reload).

I don't understand, my sound card is no longer detected, no hope of a sound from my laptop. I tried uninstalling/reinstalling pulseaudio and ALSA too :-/ Nothing ! The sound works fine with Windows :-/
I'd seriously appreciate some help please !

francis2795
February 5th, 2011, 07:44 PM
works, except the sound icon is now gone, but i can just use the volume buttons on my laptop. so how to put volume icon back in tray?

lkjoel
February 6th, 2011, 05:38 AM
Thanks alot for the great guide, but here's what I get:

sudo alsa force-reload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/issrar/.gvfs
Output information may be incomplete.
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/issrar/.gvfs
Output information may be incomplete.
Unloading ALSA sound driver modules: (none loaded).
Loading ALSA sound driver modules: (none to reload).

I don't understand, my sound card is no longer detected, no hope of a sound from my laptop. I tried uninstalling/reinstalling pulseaudio and ALSA too :-/ Nothing ! The sound works fine with Windows :-/
I'd seriously appreciate some help please !
In a Terminal window type in:

aplay -l
and give us the results.
If you see "no soundcards found" then try:

alsaconf

lidex
February 9th, 2011, 07:38 AM
Try this re-install method. Using a Terminal="Applications->Accessories->Terminal"

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
Reboot.

exra82
March 2nd, 2011, 06:48 AM
Try this re-install method. Using a Terminal="Applications->Accessories->Terminal"

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
Reboot.

hmmmmm it seemed to work but when i rebooted it did nothing

exra82
March 2nd, 2011, 06:49 AM
hmmmmm it seemed to work but when i rebooted it did nothing



steven@steven-Compaq-Presario-CQ60-Notebook-PC:~$ sudo aplay -l
aplay: device_list:235: no soundcards found...
steven@steven-Compaq-Presario-CQ60-Notebook-PC:~$


tired that too

exra82
March 2nd, 2011, 07:42 AM
Try this re-install method. Using a Terminal="Applications->Accessories->Terminal"

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
Reboot.



http://ubuntuforums.org/showthread.php?t=205449

Getting the ALSA drivers from a *fresh* kernel

Sometimes, sound might be configured correctly, but for some reason or another (tinkering) it stops working. One way to go back to the old setup is to reinstall Ubuntu. However, this step is actually quite unnecessary since you are reinstalling everything because of one thing.

A faster way, is to just remove the problematic packages and reinstall them cleanly.

(1) Remove these packages
Code:
sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils

(2) Reinstall those same packages
Code:
sudo apt-get install linux-sound-base alsa-base alsa-utils
[LIST]
VERY IMPORTANT NOTE: Ubuntu (GNOME) users have reported that packages 'gdm' and 'ubuntu-desktop' are removed after removing the linux-sound-base packages. If this happens, then do the following
Code:
sudo apt-get install gdm ubuntu-desktop

(3) Reboot
[LEFT]
VERY IMPORTANT NOTE: Xubuntu (XFCE) users have reported that packages 'gdm' and 'xubuntu-desktop' are removed after removing the linux-sound-base packages. If this happens, then do the following
Code:
sudo apt-get install gdm xubuntu-desktop

(3) Reboot
Now you may ask "I already had the packages, so why did I go through the trouble of removing them, then installing them". The answer lies in the --purge option which removes all the extra information that accumulated from tinkering and upgrading. After doing a purge then install, the packages are unpackaged as if it they are brand new.
(4) At this point, try using
Code:
aplay -l
you should get your soundcard listed.
Success - Your soundcard is detected. Go onto the Using alsamixer section, then try playing something on your music or media player.
Failure - Your card was not detected. You should try compiling your driver, so go onto ALSA drive Compilation.




this is what helped me!

SergeantBuck
March 24th, 2011, 04:58 AM
Bernard,

You are both a god among men and my hero. I have an HP Pavillion dv6000 laptop and your instructions worked perfectly. I'm a linux n00b and I didn't understand any of it, but that's why linux and ubuntu are so awesome. The uneducated have awesome guys like you to fall back on.

Thanks again

Thanks

Unneoetech
May 16th, 2011, 05:37 PM
I used this method successfully to get my sound back working again. Problem now is that my sound applet in Unity is gone... Is there a simple way to get it back again?

cmol
May 20th, 2011, 10:46 AM
Try this re-install method. Using a Terminal="Applications->Accessories->Terminal"

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
Reboot.

Worked for me after upgrading from 10.10 to 11.04 with only a dummy sound output. Thanks :)

Neoracu
September 24th, 2011, 02:59 PM
Works for me. I had my sound down for over two months already thought it was a hardware issue, but thanks to this post I have my sound back again.

Thank You very much.

Neoracu
September 28th, 2011, 12:55 AM
Nope, not for too long, after 4 time I have rebooted the computer is again mute, no sound, I have repeated the steps, but is not working anymore the same steps, weird isn't it?.
Thank You anyway.

lidex
September 28th, 2011, 01:05 AM
Nope, not for too long, after 4 time I have rebooted the computer is again mute, no sound, I have repeated the steps, but is not working anymore the same steps, weird isn't it?.
Thank You anyway.
Have a look here:
https://wiki.ubuntu.com/DebuggingSoundProblems/KarmicCaveats

jrzabott
October 30th, 2011, 03:08 AM
I know this thread is a little old, but it worked fine for me... but I did it in synaptic package manager, selected all find in "alsa" search, then mark for reintallation, and so.... Everything is right again!!!

Thank you very much.