View | Details | Raw Unified | Return to bug 155264
Collapse All | Expand All

(-)chapter.sgml (+32 lines)
Lines 353-358 Link Here
353
          </tbody>
353
          </tbody>
354
        </tgroup>
354
        </tgroup>
355
      </informaltable>
355
      </informaltable>
356
      <para>Another issue is that modern graphics cards often comes with their
357
	own sound driver, for use with <acronym>HDMI</acronym> and similar. This
358
	sound device will sometimes be enumerated before the actual soundcard
359
	and the soundcard will subsequently not be used as the default playback
360
	device.  To check if this is the case, run
361
	<application>dmesg</application> and look for <literal>pcm</literal>.
362
	The output looks something like this:</para>
363
	<programlisting>...
364
hdac0: HDA Driver Revision: 20100226_0142
365
hdac1: HDA Driver Revision: 20100226_0142
366
hdac0: HDA Codec #0: NVidia (Unknown)
367
hdac0: HDA Codec #1: NVidia (Unknown)
368
hdac0: HDA Codec #2: NVidia (Unknown)
369
hdac0: HDA Codec #3: NVidia (Unknown)
370
pcm0: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt; at cad 0 nid 1 on hdac0
371
pcm1: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt; at cad 1 nid 1 on hdac0
372
pcm2: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt; at cad 2 nid 1 on hdac0
373
pcm3: &lt;HDA NVidia (Unknown) PCM #0 DisplayPort&gt; at cad 3 nid 1 on hdac0
374
hdac1: HDA Codec #2: Realtek ALC889
375
pcm4: &lt;HDA Realtek ALC889 PCM #0 Analog&gt; at cad 2 nid 1 on hdac1
376
pcm5: &lt;HDA Realtek ALC889 PCM #1 Analog&gt; at cad 2 nid 1 on hdac1
377
pcm6: &lt;HDA Realtek ALC889 PCM #2 Digital&gt; at cad 2 nid 1 on hdac1
378
pcm7: &lt;HDA Realtek ALC889 PCM #3 Digital&gt; at cad 2 nid 1 on hdac1
379
...</programlisting>
380
      <para> Here the graphics card (<literal>NVidia</literal>) has been
381
	enumerated before the sound card (<literal>Realtek ALC889</literal>).
382
	To use the sound card as default playback device, change
383
	<literal>hw.snd.default_unit</literal> to the unit that should be used
384
	for playback, using
385
	<screen>&prompt.root; <userinput>sysctl hw.snd.default_unit=n</userinput></screen>
386
	where <literal>n</literal> is the number of the sound device to use, in
387
	this example <literal>4</literal>.</para>
356
    </sect3>
388
    </sect3>
357
  </sect2>
389
  </sect2>
358
390

Return to bug 155264