Bug 148488

Summary: Headphone won't work on NVidia MCP78 High Definition Audio Controller
Product: Base System Reporter: snthibaud
Component: amd64Assignee: freebsd-amd64 (Nobody) <amd64>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 8.0-RELEASE   
Hardware: Any   
OS: Any   

Description snthibaud 2010-07-11 01:40:05 UTC
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.
Comment 1 Alexander Motin freebsd_committer freebsd_triage 2010-07-12 06:53:36 UTC
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
Comment 2 snthibaud 2010-07-12 15:16:29 UTC
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
Comment 3 Alexander Motin freebsd_committer freebsd_triage 2010-07-12 17:02:37 UTC
Stéphane 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
Comment 4 snthibaud 2010-07-14 11:38:43 UTC
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
Comment 5 Alexander Motin freebsd_committer freebsd_triage 2010-07-14 11:40:14 UTC
State Changed
From-To: open->closed

Not a FreeBSD bug.