FreeBSD / Gnome / Audio
RW
rwmaillists at googlemail.com
Wed Feb 15 01:41:27 UTC 2012
On Tue, 14 Feb 2012 16:00:35 -0800 (PST)
Tim Gustafson wrote:
> Audio is working in that I can play a video in Firefox and hear the
> audio, but it's currently coming out the wrong sound card (for
> whatever reason, Dell's audio card shows up twice: once for the
> internal speaker and once for the external speaker/headphone jacks).
> So I can't tell Gnome to push the audio out /dev/dsp1 now, rather
> than /dev/dsp0.
I think you probably just need to set hw.snd.default_unit. e.g. I have:
$ dmesg |grep pcm
pcm0: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 0 nid 1 on hdac0
pcm1: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 1 nid 1 on hdac0
pcm2: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 2 nid 1 on hdac0
pcm3: <HDA NVidia (Unknown) PCM #0 DisplayPort> at cad 3 nid 1 on hdac0
pcm4: <HDA VIA VT1708S_0 PCM #0 Analog> at cad 0 nid 1 on hdac1
pcm5: <HDA VIA VT1708S_0 PCM #1 Digital> at cad 0 nid 1 on hdac1
pcm6: <HDA VIA VT1708S_0 PCM #2 Digital> at cad 0 nid 1 on hdac1
and in /etc/sysctl.conf I have
hw.snd.default_unit=4
to select the analogue output from the motherboard rather than (I
presume) the HDMI output from the graphics card.
More information about the freebsd-questions
mailing list