Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2009 14:14:12 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Mike Burns <mike@mike-burns.com>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: PulseAudio only works with headphones
Message-ID:  <1245611652.1724.56.camel@balrog.2hip.net>
In-Reply-To: <20090621184000.GM26818@suspended.mike-burns.com>
References:  <20090621184000.GM26818@suspended.mike-burns.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-cjwODJMOUXiXz/7sYBvE
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2009-06-21 at 14:40 -0400, Mike Burns wrote:
> Not too many details for this one, sadly. Totem, etc., only output audio=20
> through the line-out (headphone) jack.
>=20
> In GNOME, System > Preferences > Sound > Output only lists /dev/dsp0 .

Gnome only knows how to deal with dsp0.  IMHO, that needs to be fixed
upstream, but I have no idea if it is being worked on.

> [mike] ~% cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 64bit 2007061600/amd64)
> Installed devices:
> pcm0: <HDA Conexant CX20561 (Hermosa) PCM #0 Analog> at cad 0 nid 1 on hd=
ac0=20
> kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex default)
> pcm1: <HDA Conexant CX20561 (Hermosa) PCM #1 Analog> at cad 0 nid 1 on hd=
ac0=20
> kld snd_hda [MPSAFE] (1p:1v/1r:1v channels duplex)

You have 2 analog codecs.  Try setting hw.snd.default_unit=3D1 and see if
you get output on different ports.  On my ASUS board I have the
following:

hdac0: HDA Codec #0: Analog Devices AD1989B
pcm0: <HDA Analog Devices AD1989B PCM #0 Analog> at cad 0 nid 1 on hdac0
pcm1: <HDA Analog Devices AD1989B PCM #1 Analog> at cad 0 nid 1 on hdac0
pcm2: <HDA Analog Devices AD1989B PCM #2 Digital> at cad 0 nid 1 on
hdac0
pcm3: <HDA Analog Devices AD1989B PCM #3 Digital> at cad 0 nid 1 on
hdac0

pcm0 is my rear analog audio codec, pcm1 is my front panel analog
outputs, pcm2 is rear digital and pcm3 (I think) is my front panel
digital.  If you have a graphics card which supports HDMI, (ATI cards at
least) the HDMI codec often shows up as pcm0 which can cause issues if
you don't get everything configured properly.

robert.

> [mike] ~% ps ax | grep pulse
> 1408  ??  Is     0:00.97 /usr/local/bin/pulseaudio --start --log-target=
=3Dsyslog
> 1409  ??  I      0:00.01 /usr/local/libexec/pulse/gconf-helper
> [mike] ~% pulseaudio --version
> I: caps.c: Dropping root privileges.
> W: main.c: High-priority scheduling enabled in configuration but not allo=
wed=20
> by policy.
> pulseaudio 0.9.14
>=20
>=20
> A bit of a background on this system: freshly installed 7.2-RELEASE a wee=
k=20
> ago, upgraded the OS to -STABLE and the ports to the latest as of Saturda=
y. =20
> The computer is a Thinkpad T500.
>=20
> [mike] ~% uname -a
> FreeBSD battered.mike-burns.com 7.2-STABLE FreeBSD 7.2-STABLE #0: Sat Jun=
 20=20
> 11:04:19 EDT 2009   =20
>    root@battered.mike-burns.com:/usr/obj/usr/src/sys/BATTERED  amd64

--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-cjwODJMOUXiXz/7sYBvE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEABECAAYFAko+hoQACgkQM4TrQ4qfROOfOACfdnfyJzRQsidW+h/ruYGhFBCU
cqQAniMD+vJYbf+7os9Vhw/RPHsxRyB7
=Gswi
-----END PGP SIGNATURE-----

--=-cjwODJMOUXiXz/7sYBvE--




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