From nobody@FreeBSD.org  Sun Jul 11 00:30:19 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0D260106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Jul 2010 00:30:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id F0D508FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Jul 2010 00:30:18 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6B0UIC7063929
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 11 Jul 2010 00:30:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o6B0UIQv063928;
	Sun, 11 Jul 2010 00:30:18 GMT
	(envelope-from nobody)
Message-Id: <201007110030.o6B0UIQv063928@www.freebsd.org>
Date: Sun, 11 Jul 2010 00:30:18 GMT
From: Stphane Thibaud <snthibaud@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Headphone won't work on NVidia MCP78 High Definition Audio Controller
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         148488
>Category:       amd64
>Synopsis:       Headphone won't work on NVidia MCP78 High Definition Audio Controller
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 11 00:40:05 UTC 2010
>Closed-Date:    Wed Jul 14 10:40:46 UTC 2010
>Last-Modified:  Wed Jul 14 10:40:46 UTC 2010
>Originator:     Stphane Thibaud
>Release:        FreeBSD 8.0-RELEASE-p2 (PCBSD really)
>Organization:
>Environment:
FreeBSD pcbsd-5973 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #10: Thu Jan  7 14:50:53 EST 2010     root@build8x64.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sys/PCBSD  amd64
>Description:
The headphone output doesn't provide a signal nomatter what sliders I move in KMix.

My soundcard gets detected as follows:

hdac0: HDA Driver Revision: 20090624_0136
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Conexant CX20561 (Hermosa)
hdac0: HDA Codec #3: NVidia MCP78 HDMI
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

I have a stereo headphone output on this laptop and a microphone input. Please note that I do hear sound over the built-in speakers and plugging in a headphone doesn't change that (sound isn't muted either). Perhaps some kind of jack-sensing doesn't work
>How-To-Repeat:
Boot Kde4, play sound.
>Fix:


>Release-Note:
>Audit-Trail:

From: Alexander Motin <mav@FreeBSD.org>
To: bug-followup@FreeBSD.org, snthibaud@gmail.com
Cc:  
Subject: Re: amd64/148488: Headphone won't work on NVidia MCP78 High Definition
 Audio Controller
Date: Mon, 12 Jul 2010 08:53:36 +0300

 Difficult to say for sure without seeing verbose dmesg, but may be that
 headphones and microphone input just configured as separate device pcm1.
 You may try to set sysctl hw.snd.default_unit=1 to use that device by
 default. In any way make sure to read snd_hda man page and analyze
 driver's verbose output.
 
 -- 
 Alexander Motin

From: =?iso-8859-1?q?St=E9phane_Thibaud?= <snthibaud@gmail.com>
To: Alexander Motin <mav@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: amd64/148488: Headphone won't work on NVidia MCP78 High Definition Audio Controller
Date: Mon, 12 Jul 2010 16:16:29 +0200

 Le lundi 12 juillet 2010 07:53:36, Alexander Motin a =E9crit :
 > Difficult to say for sure without seeing verbose dmesg, but may be that
 > headphones and microphone input just configured as separate device pcm1.
 > You may try to set sysctl hw.snd.default_unit=3D1 to use that device by
 > default. In any way make sure to read snd_hda man page and analyze
 > driver's verbose output.
 Thanks for your quick response. To be honest I uninstalled PC-BSD already (=
 in=20
 favor of kubuntu), since I had to have an OS for some basic tasks but I'll =
 get=20
 back to BSD as soon as 8.1 is released (since you said my SATA would then b=
 e=20
 supported in amd64/148489). When the two things I posted actually work in=20
 =46reeBSD, then the hardware support for my laptop is practically perfect (=
 and=20
 PC-BSD seems so much more stable than kubuntu, not to mention the terrific =
 BSD=20
 license!). Can these sound tweaks be tested with the live-boot-thing of PC-=
 BSD=20
 or is a reboot needed?
 
 
 Sincerely,
 
 St=E9phane

From: Alexander Motin <mav@FreeBSD.org>
To: =?ISO-8859-1?Q?St=E9phane_Thibaud?= <snthibaud@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: amd64/148488: Headphone won't work on NVidia MCP78 High Definition
 Audio Controller
Date: Mon, 12 Jul 2010 19:02:37 +0300

 Stphane Thibaud wrote:
 > Le lundi 12 juillet 2010 07:53:36, Alexander Motin a crit :
 >> Difficult to say for sure without seeing verbose dmesg, but may be that
 >> headphones and microphone input just configured as separate device pcm1.
 >> You may try to set sysctl hw.snd.default_unit=1 to use that device by
 >> default. In any way make sure to read snd_hda man page and analyze
 >> driver's verbose output.
 > Thanks for your quick response. To be honest I uninstalled PC-BSD already (in 
 > favor of kubuntu), since I had to have an OS for some basic tasks but I'll get 
 > back to BSD as soon as 8.1 is released (since you said my SATA would then be 
 > supported in amd64/148489). When the two things I posted actually work in 
 > FreeBSD, then the hardware support for my laptop is practically perfect (and 
 > PC-BSD seems so much more stable than kubuntu, not to mention the terrific BSD 
 > license!). Can these sound tweaks be tested with the live-boot-thing of PC-BSD 
 > or is a reboot needed?
 
 Default sound device can be set on-the-fly via sysctl.
 
 -- 
 Alexander Motin

From: =?iso-8859-1?q?St=E9phane_Thibaud?= <snthibaud@gmail.com>
To: Alexander Motin <mav@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: amd64/148488: Headphone won't work on NVidia MCP78 High Definition Audio Controller
Date: Wed, 14 Jul 2010 12:38:43 +0200

 Le lundi 12 juillet 2010 18:02:37, Alexander Motin a =E9crit :
 > St=E9phane Thibaud wrote:
 > > Le lundi 12 juillet 2010 07:53:36, Alexander Motin a =E9crit :
 > >> Difficult to say for sure without seeing verbose dmesg, but may be that
 > >> headphones and microphone input just configured as separate device pcm=
 1.
 > >> You may try to set sysctl hw.snd.default_unit=3D1 to use that device by
 > >> default. In any way make sure to read snd_hda man page and analyze
 > >> driver's verbose output.
 > >=20
 > > Thanks for your quick response. To be honest I uninstalled PC-BSD alrea=
 dy
 > > (in favor of kubuntu), since I had to have an OS for some basic tasks
 > > but I'll get back to BSD as soon as 8.1 is released (since you said my
 > > SATA would then be supported in amd64/148489). When the two things I
 > > posted actually work in FreeBSD, then the hardware support for my laptop
 > > is practically perfect (and PC-BSD seems so much more stable than
 > > kubuntu, not to mention the terrific BSD license!). Can these sound
 > > tweaks be tested with the live-boot-thing of PC-BSD or is a reboot
 > > needed?
 >=20
 > Default sound device can be set on-the-fly via sysctl.
 
 Wow, that worked! Terrific!
 
 
 Best rergards,
 
 St=E9phane
State-Changed-From-To: open->closed 
State-Changed-By: mav 
State-Changed-When: Wed Jul 14 10:40:14 UTC 2010 
State-Changed-Why:  
Not a FreeBSD bug. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148488 
>Unformatted:
