Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Dec 2012 00:36:12 -0500
From:      Lamie Holubek <muhhhhh@hotmail.com>
To:        "freebsd-multimedia@freebsd.org" <freebsd-multimedia@freebsd.org>
Subject:   Realtek ALC270 - Headphone Jack Inoperative
Message-ID:  <SNT002-W170BD9C92B32C394D695245BF470@phx.gbl>

next in thread | raw e-mail | index | archive | help
Hello=2C


I'm using FreeBSD 9.1-RELEASE AMD64(built from source)=2C a standard kernel=
 with no customizations. My headphone jack will not work. This is with a Re=
altek ALC270. I currently have my hints file set up to switch the speakers =
off when I plug headphones in=2C and that works=2C but no sound is heard fr=
om the headphones.=20


I have tried many different things to try and get it working and I've had n=
o luck. Jack detection does work=2C because it shows up with verbose messag=
es enabled. I have done pindumps=2C and gathered other information and am w=
illing to provide more if needed. If anyone could help me=2C that would be =
great.


cat /dev/sndstat
---------------------


pcm0: <Realtek ALC270 (Analog 2.0+HP/2.0)> (play/rec) default
pcm1: <Realtek ALC270 (Right Analog Mic)> (rec)
pcm2: <Intel Panther Point (HDMI/DP 8ch)> (play)


/boot/device.hints
-----------------------


hint.hdac.0.cad0.nid20.config=3D"as=3D2 seq=3D0"
hint.hdac.0.cad0.nid33.config=3D"as=3D2 seq=3D15 device=3DHeadphones"


pinout
------------------


hdac0: <Intel Panther Point HDA Controller> mem 0xf7a10000-0xf7a13fff irq 2=
2 at device 27.0 on pci0
hdacc0: <Realtek ALC270 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC270 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC270 (Analog 2.0+HP/2.0)> at nid 20=2C33 and 25 on hdaa0
pcm1: <Realtek ALC270 (Right Analog Mic)> at nid 24 on hdaa0
hdacc1: <Intel Panther Point HDA CODEC> at cad 3 on hdac0
hdaa1: <Intel Panther Point Audio Function Group> at nid 1 on hdacc1
pcm2: <Intel Panther Point (HDMI/DP 8ch)> at nid 6 on hdaa1


dmesg | grep hdaa
hdaa0: <Realtek ALC270 Audio Function Group> at nid 1 on hdacc0
hdaa0: Audio Function Group at nid=3D1: 34 subnodes 2-35
hdaa0: NumGPIO=3D2 NumGPO=3D0 NumGPI=3D0 GPIWake=3D0 GPIUnsol=3D1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color  =20
misc
hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown=20
1
hdaa0: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1
hdaa0: 24 04a11840 4  0  Mic           Jack  1/8     Right      Black  =20
8
hdaa0: 25 90a70930 3  0  Mic           Fixed Analog  Internal   Unknown=20
9
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1
hdaa0: 29 40089d2d 2  13 Line-out      None  DIN     0x00       Pink   =20
13
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1
hdaa0: 33 04211020 2  0  Headphones    Jack  1/8     Right      Black  =20
0
hdaa0: Patching widget caps nid=3D29 0x00400000 -> 0x00700000
hdaa0: Patching pin config nid=3D33 0x04211020 -> 0x0421102f
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color  =20
misc
hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1 DISA
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown=20
1
hdaa0: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1 DISA
hdaa0: 24 04a11840 4  0  Mic           Jack  1/8     Right      Black  =20
8
hdaa0: 25 90a70930 3  0  Mic           Fixed Analog  Internal   Unknown=20
9
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1 DISA
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1 DISA
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black  =20
1 DISA
hdaa0: 33 0421102f 2  15 Headphones    Jack  1/8     Right      Black  =20
0
hdaa0: 4 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=3D20 seq=3D0
hdaa0: Association 1 (2) out:
hdaa0:  Pin nid=3D33 seq=3D15
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=3D25 seq=3D0
hdaa0: Association 3 (4) in:
hdaa0:  Pin nid=3D24 seq=3D0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 20 traced to DAC 2
hdaa0: Association 0 (1) trace succeeded
hdaa0: Tracing association 1 (2)
hdaa0:  Pin 33 traced to DAC 3
hdaa0: Association 1 (2) trace succeeded
hdaa0: Tracing association 2 (3)
hdaa0:  Pin 25 traced to ADC 8
hdaa0: Association 2 (3) trace succeeded
hdaa0: Tracing association 3 (4)
hdaa0:  Pin 24 traced to ADC 9
hdaa0: Association 3 (4) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Looking for additional DAC for association 1 (2)


Jack detection demonstration
--------------------------------------


hdaa0: Pin sense: nid=3D33 sence=3D0x80000000 (connected)
pcm0: Redirect output to: headphones
hdaa0: Pin sense: nid=3D33 sence=3D0x00000000 (disconnected)
pcm0: Redirect output to: main


 		 	   		  =



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