Posts: 4
freebe
Joined: 05 Oct 2015
#1
I had problems getting the sound to work with my browser. So I searched a bit and found out how to solve the problem.

The problem was, that my PCH cards index was 1, the HDMI-card was 0. And it seems taht Iceweasel/flash automatically uses the sound-card with the lowest index (or with the index 0, I'm actually not sure about this). So with this I disabled the HDMI-Card, since I'm usually not using any HDMI-Devices on any Computer/Laptop. This is not the most graceful solution, but it works. __{{emoticon}}__

I created a config file:

Code: Select all

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


and wrote the following into it:

Code: Select all

# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2

# Disable the HDMI card which shows up first, but enable PCH
options snd-hda-intel enable=0,1
To see wich index your sound devices have you can use:

Code: Select all

aplay -l (This is a small letter"L")
You can also make entries in the config file to change the index manually. I didn't use that because I'm using different Hardware, and I don't want to adjust every time.

For detailed information see:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Configuration"
linktext was:"https://wiki.archlinux.org/index.php/Ad ... figuration"
====================================


and this helpful forum thread:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://forums.debian.net/viewtopic.php?f=6&t=110572"
linktext was:"http://forums.debian.net/viewtopic.php?f=6&t=110572"
====================================
Posts: 72
cwilliams
Joined: 16 Aug 2013
#2
I had a similar problem with my (current) H87-G43 MSI board with intel sound.
I found that HDMI was the first card"0" and PCH was the second card"1".
My solution was to write my own file called .asoundrc in my home directory.
All it contains is defaults.pcm.!card PCH
defaults.ctl.!card PCH
Just a text file with a dot to start (hidden) and I was set.
I did find that flash videos had no sound after some update , so I installed pulse audio and it was fixed too.
I don't think I had to write any configuration for it either.
I have since installed the HTML5 youtube addon to my iceweasel and it runs faster too.
I actually wrote the .asoundrc for my previous install of Luddite and kept my home directory , the new Killa P uses it just fine.
Colin