Realtek ALC270 - Headphone Jack Inoperative

Lamie Holubek muhhhhh at hotmail.com
Tue Dec 4 05:37:19 UTC 2012


Hello,


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


I have tried many different things to try and get it working and I've had no luck. Jack detection does work, because it shows up with verbose messages enabled. I have done pindumps, and gathered other information and am willing to provide more if needed. If anyone could help me, 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="as=2 seq=0"
hint.hdac.0.cad0.nid33.config="as=2 seq=15 device=Headphones"


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


hdac0: <Intel Panther Point HDA Controller> mem 0xf7a10000-0xf7a13fff irq 22 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,33 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=1: 34 subnodes 2-35
hdaa0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
hdaa0:  GPIO0: disabled
hdaa0:  GPIO1: disabled
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   
misc
hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 
1
hdaa0: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1
hdaa0: 24 04a11840 4  0  Mic           Jack  1/8     Right      Black   
8
hdaa0: 25 90a70930 3  0  Mic           Fixed Analog  Internal   Unknown 
9
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1
hdaa0: 29 40089d2d 2  13 Line-out      None  DIN     0x00       Pink    
13
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1
hdaa0: 33 04211020 2  0  Headphones    Jack  1/8     Right      Black   
0
hdaa0: Patching widget caps nid=29 0x00400000 -> 0x00700000
hdaa0: Patching pin config nid=33 0x04211020 -> 0x0421102f
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   
misc
hdaa0: 18 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1 DISA
hdaa0: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 
1
hdaa0: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1 DISA
hdaa0: 24 04a11840 4  0  Mic           Jack  1/8     Right      Black   
8
hdaa0: 25 90a70930 3  0  Mic           Fixed Analog  Internal   Unknown 
9
hdaa0: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1 DISA
hdaa0: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1 DISA
hdaa0: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   
1 DISA
hdaa0: 33 0421102f 2  15 Headphones    Jack  1/8     Right      Black   
0
hdaa0: 4 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=20 seq=0
hdaa0: Association 1 (2) out:
hdaa0:  Pin nid=33 seq=15
hdaa0: Association 2 (3) in:
hdaa0:  Pin nid=25 seq=0
hdaa0: Association 3 (4) in:
hdaa0:  Pin nid=24 seq=0
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=33 sence=0x80000000 (connected)
pcm0: Redirect output to: headphones
hdaa0: Pin sense: nid=33 sence=0x00000000 (disconnected)
pcm0: Redirect output to: main


 		 	   		  


More information about the freebsd-multimedia mailing list