<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=27&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Multiple Sound Cards]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=27</link>
		<description><![CDATA[The most recent posts in Multiple Sound Cards.]]></description>
		<lastBuildDate>Mon, 30 Mar 2020 07:10:15 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=20815#p20815</link>
			<description><![CDATA[<p>Thank you aus9, I did that (both /etc/modprobe.d/alsa.conf and /etc/asound) and it worked/s quite well. Finally Pulse free and plenty of noise when I want it. :-) </p><p>Thank you</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Mon, 30 Mar 2020 07:10:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=20815#p20815</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=20699#p20699</link>
			<description><![CDATA[<p>@GlennW</p><p>If the info does not yet help you...try this<br />create a file to blacklist you internal sound module, on reboot only your inserted USB device is detected. I have not forced it to index=0 but here is my test result</p><div class="codebox"><pre><code>aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0</code></pre></div><p>If I want internal sound then I use root powers to modprobe as per</p><div class="codebox"><pre><code>#  /sbin/modprobe snd_hda_intel</code></pre></div><p>that changes my indices but who cares.....anyhow here is file contents </p><div class="codebox"><pre><code>cat /etc/modprobe.d/blacklist-intel.conf 
blacklist snd_hda_intel</code></pre></div><p>The reason we blacklist....is because USB devices take time to settle and time taken by udev etc.</p><p>EDIT<br />I should add....having come from a debian based distro...that uses a package called <br />alsa-base<br />--&gt; that had alsa-base.conf in my old distro modprobe.d dir<br />with various configs to stop USB devices grabbing anything nice</p>]]></description>
			<author><![CDATA[dummy@example.com (aus9)]]></author>
			<pubDate>Tue, 24 Mar 2020 09:57:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=20699#p20699</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=20697#p20697</link>
			<description><![CDATA[<p>Hi</p><p>there is some good info here. I am an alsa guy but still tend to use PA as I use firefox.</p><p>Here is an alternative GUI to disable HDMI in PA where you are using 3.5mm leads from analog sound device.</p><p>first here is my aplay without any swapping...clean install</p><div class="codebox"><pre><code>aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0</code></pre></div><p>Note the name is Generic for both cards.....now run the pavucontrol GUI<br />as per screenshot...for those interested. But no need to click as I describe it </p><p>top line&#160; HD Audio Generic&#160; <br />bottom line same name</p><p>but the top line is for first detected card, that is card with index=0 which is HDMI</p><p>so pulldown the top line to choose Off</p><p>hope that helps the newbies.</p><p><a href="https://imgur.com/yAhgb7L" rel="nofollow">https://imgur.com/yAhgb7L</a></p><p>and the card 1 for analog should be stereo duplex unless you are using multiple connectors to a surround sound system</p><p>Good Luck</p>]]></description>
			<author><![CDATA[dummy@example.com (aus9)]]></author>
			<pubDate>Tue, 24 Mar 2020 06:26:57 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=20697#p20697</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=20446#p20446</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Try <a href="https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Alternative_method" rel="nofollow">https://wiki.archlinux.org/index.php/Ad … ive_method</a></p></div></blockquote></div><p>This. Setting alsa settings through ~/.asoundrc is better than messing with modprobe if you aren&#039;t using pulseaudio. To summarize the archwiki, </p><p>Run aplay -l</p><div class="codebox"><pre><code>aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Device0ID [Device 0 Name], device 0: Multichannel [Multichannel]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Device1ID [Device 1 Name], device 0: Multichannel [Multichannel]
  Subdevices: 0/1
  Subdevice #0: subdevice #0</code></pre></div><p>Find your desired device, we will pick Device 0<br />Create ~/.asoundrc with the contents</p><div class="codebox"><pre><code>pcm.!default {
    type hw
    card Device0ID
}

ctl.!default {
    type hw
    card Device0ID
}</code></pre></div><p>I can put together a more advanced guide if you want to set different input and output devices.</p><p>Regarding firefox not recognizing .asoundrc, I cannot reproduce the issue, but my .asoundrc is closer to</p><div class="codebox"><pre><code>pcm.!default {
    type plug
    slave {
        pcm &quot;hw.Device0ID&quot;
    }
}

ctl.!default {
    type hw
    card Device0ID
}</code></pre></div><p>Edit: I actually do remember firefox causing me trouble now that I think about it. Here&#039;s a previous post I made. It seems like firefox expects a plug device as default. <a href="http://dev1galaxy.org/viewtopic.php?pid=16014#p16014" rel="nofollow">http://dev1galaxy.org/viewtopic.php?pid=16014#p16014</a></p>]]></description>
			<author><![CDATA[dummy@example.com (SmokeyGrey)]]></author>
			<pubDate>Sun, 08 Mar 2020 14:33:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=20446#p20446</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=20417#p20417</link>
			<description><![CDATA[<p>Try <a href="https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#Alternative_method" rel="nofollow">https://wiki.archlinux.org/index.php/Ad … ive_method</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Fri, 06 Mar 2020 23:10:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=20417#p20417</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=20409#p20409</link>
			<description><![CDATA[<p>Thanks, this has helped me too. :-)</p><div class="codebox"><pre><code>cat /proc/asound/cards
 0 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf6080000 irq 76
 1 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xf6900000 irq 78
 2 [UA25EX         ]: USB-Audio - EDIROL UA-25EX
                      Roland EDIROL UA-25EX at usb-0000:09:00.3-1, full speed</code></pre></div><p>I want the usb device to be the one, but the hdmi is always there, very quietly. Thank you</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Fri, 06 Mar 2020 12:03:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=20409#p20409</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=11553#p11553</link>
			<description><![CDATA[<p>Thank You for your fix.&#160; </p><p>&#160; &#160; bash -c &#039;echo &quot;options snd_hda_intel index=1,0&quot; &gt; /etc/modprobe.d/alsa.conf&#039;</p><p>everything looked fine after devuan install with the sound card drivers and alsa, but no sound.&#160; Pulseaudio could not find a device, after 3 days of working on it i tried the above line and... Ego zero, Internet 1, and victory is mine <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /> Thanks again.</p>]]></description>
			<author><![CDATA[dummy@example.com (Sawyer)]]></author>
			<pubDate>Wed, 29 Aug 2018 04:59:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=11553#p11553</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=339#p339</link>
			<description><![CDATA[<p>If you have 2 different devices sharing the same module, then you can use the &quot;enable&quot; parameter to disable the one that you don&#039;t use. So that if you have both HDMI and PCH, with your speakers plugged into the PCH outlets, and your HDMI device appears first, then you set the entry in /etc/modprobe.d/alsa-base.conf&#160; to :-</p><div class="codebox"><pre><code># Disable the HDMI card which shows up first, but enable PCH
options snd-hda-intel enable=0,1</code></pre></div><p><a href="http://forums.debian.net/viewtopic.php?t=110572#p525601" rel="nofollow">http://forums.debian.net/viewtopic.php?t=110572#p525601</a></p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Sat, 17 Dec 2016 11:21:00 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=339#p339</guid>
		</item>
		<item>
			<title><![CDATA[Multiple Sound Cards]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=83#p83</link>
			<description><![CDATA[<p>Can&#039;t hear sound? You likely have more than one sound card and ALSA chose the wrong one at boot. To correct this, you could create a .asoundrc file in your home directory specifying the default card. Unfortunately, Firefox may not recognize this file so you would continue to have no sound in Firefox. To remedy this, you will need to specify via modprobe in which order to load sound drivers so that your preferred card is selected first by ALSA.</p><p>First, run the following command to see which order ALSA assigned your cards:</p><div class="codebox"><pre><code>cat /proc/asound/cards</code></pre></div><p>In my case I got:</p><p><em>0 [HDMI ]: HDA-Intel - HDA Intel HDMI<br />HDA Intel HDMI at 0xe0510000 irq 61 <br />1 [PCH ]: HDA-Intel - HDA Intel PCH<br />HDA Intel PCH at 0xe0514000 irq 59</em></p><p>Now, tell the kernel to load PCH as the default:</p><div class="codebox"><pre><code>sudo bash -c &#039;echo &quot;options snd_hda_intel index=1,0&quot; &gt; /etc/modprobe.d/alsa.conf&#039;</code></pre></div><p>You can verify the driver name to use above by running</p><div class="codebox"><pre><code>lsmod | grep snd</code></pre></div><p>Reboot the computer and you should have sound!</p>]]></description>
			<author><![CDATA[dummy@example.com (mlsmith)]]></author>
			<pubDate>Sun, 04 Dec 2016 05:41:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=83#p83</guid>
		</item>
	</channel>
</rss>
