If your sound is not working properly in Linux here is a possible solution. I had a Linux install with this issue. The sound card would sometimes work but then on occasion the system would boot up and not show any sound card detected.

In Ubuntu you can use the following code to make sure you have everything you need installed.

sudo apt-get install build-essential linux-headers-`uname -r` alsa-base alsa-firmware-loaders alsa-oss alsa-source alsa-tools alsa-tools-gui alsa-utils alsamixergui

If you are not using Ubuntu or other Debian based systems with apt then take a look at the programs listed and make sure those are installed.

Another issue I recently encountered was a popping sound when using iheartradio.com in Ubuntu. The sound was similar to what you may hear when plugging in a speaker. It was intermittent and very annoying. What I ended up finding was that in my case pulseaudio was not loading or crashing at some point during boot up. Simply setting the system to launch the command pulseaudio on start up took care of that issue. Hope this information is helpful to someone. If you find anything that works for you feel free to share it in the comments section.