It's possible your system is trying to use an alternate (non-existant) audio device. Mine occasionally creates virtual copies of my sound device and sets the new one as default. I usually check alsamixer then the alsa ArchWiki page. Something to do with aplay or asound if I remember correctly.

From the ArchWiki ALSA page

QUOTE

Set the default sound cardIn Kernel Space

Telephony-capable modems and modern graphics cards with HDMI output can conflict with the sound card for the default sound card slot. (pcspkr is another, non-ALSA PC speaker module. It will not conflict with ALSA sound cards.) To prevent this, discover your sound card model name with lspci(8) and your ALSA driver module names with ls(1):

CODE

$ ls -l /sys/module/snd/holders

QUOTE

Or better (source[1]):

CODE

$ cat /proc/asound/modules

Then add the names of your sound card modules to (source[2]):

/etc/modprobe.d/alsa.conf

Tweak it 'til it breaks, then learn how to fix it.

L.I.F.E. (Linux Is For Everyone)

Registered Linux User # 474004 (06/16/2008)

REGLUE

Recycled Electronics and Gnu/Linux Used for Education

Reglue, in a nutshell, gives free Linux computers to under privileged children and their families.

It's possible your system is trying to use an alternate (non-existant) audio device. Mine occasionally creates virtual copies of my sound device and sets the new one as default. I usually check alsamixer then the alsa ArchWiki page. Something to do with aplay or asound if I remember correctly.

TELEVISION REPAIR MAN: Have you been kicking it?HANCOCK: Well of course I've been kicking it - how else do you think I change the channels over? One kick: B.B.C.; Nine kicks: I.T.A.. I had to change over six times last night - I've got toes like globe artichokes here. I'll be glad when my television-kicking boots come back from the menders!

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

I have several suggestions: first post the result of the command securitybreach mentioned in his above post.-Go into the BIOS and disable the soundcard you are not using, then reboot. Check alsamixer to make sure it's unmuted and levels are up, test for sound (this works for my system with onboard chip and Audiophile 2496 PCI card)-If no luck try, if it's not listed in the lsmod output (as root)

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

Well once again I have no sound. I tried to fix it but had no sucess so I thought. What if I delete files and folders( I had lost trck of what had been altered) and uninstall some alsa stuff. Then reboot. Then reinstall the alsa stuff do a pacman -Syu and reboot. But no joy.When I try to run alsamixer I get (see the end of the code)

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

These entries ensure that the Intel 82801DB-ICH4 sound card will become card 0 and the PC speaker will become card 1. If there's more cards that have to fall into specific order, their modules can be given to “slots” option as follows:

/etc/modprobe.d/alsa.conf

options snd slots=snd-intel8x0,snd-interwave

This way cards driven by snd-intel8x0 module are enumerated before interwave cards.

Trouble is I do not have "/etc/modprobe.d/alsa.conf" only thing I have in "/etc/modprobe.d/" is a empty file "modprobe.conf"

InstallARCHYou'll never need to install it again
"I did and I'm really happy"~~~~~~~~~~~~~

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984