Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 01:41:22 +0000
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD / Gnome / Audio
Message-ID:  <20120215014122.2b355aa6@gumby.homeunix.com>
In-Reply-To: <1777858593.173502.1329264035512.JavaMail.root@mail-01.cse.ucsc.edu>
References:  <214979068.173438.1329263776548.JavaMail.root@mail-01.cse.ucsc.edu> <1777858593.173502.1329264035512.JavaMail.root@mail-01.cse.ucsc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120215014122.2b355aa6>