Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2010 15:39:36 +0200
From:      Pieter de Goeje <pieter@degoeje.nl>
To:        freebsd-questions@freebsd.org
Cc:        001 <snthibaud@gmail.com>
Subject:   Re: Headphone output doesn't work with NVidia MCP78 High Definition Audio Controller
Message-ID:  <201007121539.36597.pieter@degoeje.nl>
In-Reply-To: <a3b5addc-0f3d-48a4-bbd8-4b91c6b9bf95@w12g2000yqj.googlegroups.com>
References:  <a3b5addc-0f3d-48a4-bbd8-4b91c6b9bf95@w12g2000yqj.googlegroups.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 11 July 2010 15:14:30 001 wrote:
> I use a laptop with PC-BSD and couldn't get output over the headphone.
> The built-in speakers of the laptop work fine and keep working even
> when a headphone is plugged in (whereas on Windows they get muted). I
> tried every slider and switch in KMix, but nothing enables sound over
> the headphone.
> 
> This is my dmesg output:
> pcm0: <HDA Conexant CX20561 (Hermosa) PCM #0 Analog> at cad 0 nid 1 on
> hdac0
> pcm1: <HDA Conexant CX20561 (Hermosa) PCM #1 Analog> at cad 0 nid 1 on
> hdac0
> pcm2: <HDA NVidia MCP78 HDMI PCM #0 Digital> at cad 3 nid 1 on hdac0

By default FreeBSD plays audio on the first pcm device. You can use a 
different device by setting the sysctl hw.snd.default_unit. If I wanted to 
play audio on pcm1 I could set sysctl hw.snd.default_unit=1. In your case I 
would try setting: hw.snd.default_unit=1

- Pieter



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