sound settings on FreeBSD

starikarp

macrumors member
Original poster
Apr 27, 2013
78
4
Hi!

I installed FreeBSD 10.0-BETA1 without problems, XFCE4 and KDE 4.11.2 works very good but I have a problem with sound settings still.
I use kernel snd_hda which found:
Code:
cat /dev/sndstat
 
Installed devices:
 pcm0: <ATI R6xx (HDMI)> (play)
 pcm1: <Cirrus Logic CS4206 (Internal Analog 4.0/2.0)> (play/rec) default
 pcm2: <Cirrus Logic CS4206 (Rear Analog)> (play/rec)
 pcm3: <Cirrus Logic CS4206 (Rear Digital)> (play/rec)
There are no sound, microphone doesn't work. If I choose "pcm2" for default unit than I get sound just through headphones and microphone doesn't work.

I left "pcm1" as default unit and use
Code:
sysctl dev.hdaa.1.gpio_config=3=set
I have sound through speakers and microphone but when I connected headphones it doesn't work and I have sound from speakers still. Sound is not so good too.
I start FreeBSD with verbose mode and I got:

Code:
dmesg |grep hdaa
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
pcm1: <Cirrus Logic CS4206 (Internal Analog 4.0/2.0)> at nid 10,11 and 13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog)> at nid 9 and 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x00aa0100
hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: 1 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=3 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 3 traced to DAC 2
hdaa0: Association 0 (1) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0: Tracing beeper
hdaa0: Pin sense: nid=3 sense=0x7fffffff (disconnected, ELD valid)
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x106b5100
hdaa1: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1:  GPIO0: disabled
hdaa1:  GPIO1: disabled
hdaa1:  GPIO2: disabled
hdaa1:  GPIO3: output state=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  9 012b4050 5  0  Headphones    Jack  Combo   Rear       Green   0
hdaa1: 10 90100140 4  0  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 11 90100142 4  2  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 12 018b3020 2  0  Line-in       Jack  Combo   Rear       Blue    0
hdaa1: 13 90a00110 1  0  Mic           Fixed Unknown Internal   Unknown 1
hdaa1: 14 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: 15 01cbe030 3  0  SPDIF-in      Jack  Combo   Rear       White   0
hdaa1: 16 014be060 6  0  SPDIF-out     Jack  Combo   Rear       White   0
hdaa1: 18 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: 21 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  9 012b4050 5  0  Headphones    Jack  Combo   Rear       Green   0
hdaa1: 10 90100140 4  0  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 11 90100142 4  2  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 12 018b3020 2  0  Line-in       Jack  Combo   Rear       Blue    0
hdaa1: 13 90a00110 1  0  Mic           Fixed Unknown Internal   Unknown 1
hdaa1: 14 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 15 01cbe030 3  0  SPDIF-in      Jack  Combo   Rear       White   0
hdaa1: 16 014be060 6  0  SPDIF-out     Jack  Combo   Rear       White   0
hdaa1: 18 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 21 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 6 associations found:
hdaa1: Association 0 (1) in:
hdaa1:  Pin nid=13 seq=0
hdaa1: Association 1 (2) in:
hdaa1:  Pin nid=12 seq=0
hdaa1: Association 2 (3) in:
hdaa1:  Pin nid=15 seq=0
hdaa1: Association 3 (4) out:
hdaa1:  Pin nid=10 seq=0
hdaa1:  Pin nid=11 seq=2
hdaa1: Association 4 (5) out:
hdaa1:  Pin nid=9 seq=0
hdaa1: Association 5 (6) out:
hdaa1:  Pin nid=16 seq=0
hdaa1: Tracing association 0 (1)
hdaa1:  Unable to trace pin 13 to ADC 5, undo traces
hdaa1:  Pin 13 traced to ADC 6
hdaa1: Association 0 (1) trace succeeded
hdaa1: Tracing association 1 (2)
hdaa1:  Pin 12 traced to ADC 5
hdaa1: Association 1 (2) trace succeeded
hdaa1: Tracing association 2 (3)
hdaa1:  Pin 15 traced to ADC 7
hdaa1: Association 2 (3) trace succeeded
hdaa1: Tracing association 3 (4)
hdaa1:  Pin 10 traced to DAC 3
hdaa1:  Pin 11 traced to DAC 4
hdaa1: Association 3 (4) trace succeeded
hdaa1: Tracing association 4 (5)
hdaa1:  Pin 9 traced to DAC 2
hdaa1: Association 4 (5) trace succeeded
hdaa1: Tracing association 5 (6)
hdaa1:  Pin 16 traced to DAC 8
hdaa1: Association 5 (6) trace succeeded
hdaa1: Looking for additional ADC for association 0 (1)
hdaa1: Looking for additional ADC for association 1 (2)
hdaa1: Looking for additional ADC for association 2 (3)
hdaa1: Looking for additional DAC for association 3 (4)
hdaa1: Looking for additional DAC for association 4 (5)
hdaa1: Looking for additional DAC for association 5 (6)
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1:  Tracing nid 12 to out
hdaa1:  Tracing nid 13 to out
hdaa1:  Tracing nid 15 to out
hdaa1: Tracing beeper
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm1: <Cirrus Logic CS4206 (Internal Analog 4.0/2.0)> at nid 10,11 and 13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog)> at nid 9 and 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
I try to get hetlp from FreeBSD forums but nothing. Also I am not lucky from mailing list help...

Thanks in advance.

starikarp
 

starikarp

macrumors member
Original poster
Apr 27, 2013
78
4
Installing OS X and just dragging the slider in the top right-hand corner might work.

Code:
hint.hdaa.1.nid9.config="as=4 seq=15"
hint.hdaa.1.nid13.config="as=2 seq=1"
May or may not work.
Thank you but it doesn't work correct. I have sound in speakers and when I connect headphones I hear at the same time in both sources. And microhone doesn't work. I use Xfce4 and I had in Mixer "volume", "PCM", "Record" and in Capture was "Monitor"
Afer I added hints I have all the same plus in Capure is "Line" which works for loudness in headphones.
And I have in /boot/device.hints still hint.hdaa.1.gpio_config="3=set".
And dmesg | grep hdaa shows:

Code:
dmesg |grep hdaa
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x00aa0100
hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: 1 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=3 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 3 traced to DAC 2
hdaa0: Association 0 (1) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0: Tracing beeper
hdaa0: Pin sense: nid=3 sense=0x7fffffff (disconnected, ELD valid)
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x106b5100
hdaa1: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1:  GPIO0: disabled
hdaa1:  GPIO1: disabled
hdaa1:  GPIO2: disabled
hdaa1:  GPIO3: output state=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  9 012b4050 5  0  Headphones    Jack  Combo   Rear       Green   0
hdaa1: 10 90100140 4  0  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 11 90100142 4  2  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 12 018b3020 2  0  Line-in       Jack  Combo   Rear       Blue    0
hdaa1: 13 90a00110 1  0  Mic           Fixed Unknown Internal   Unknown 1
hdaa1: 14 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: 15 01cbe030 3  0  SPDIF-in      Jack  Combo   Rear       White   0
hdaa1: 16 014be060 6  0  SPDIF-out     Jack  Combo   Rear       White   0
hdaa1: 18 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: 21 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  9 012b4050 5  0  Headphones    Jack  Combo   Rear       Green   0
hdaa1: 10 90100140 4  0  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 11 90100142 4  2  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 12 018b3020 2  0  Line-in       Jack  Combo   Rear       Blue    0
hdaa1: 13 90a00110 1  0  Mic           Fixed Unknown Internal   Unknown 1
hdaa1: 14 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 15 01cbe030 3  0  SPDIF-in      Jack  Combo   Rear       White   0
hdaa1: 16 014be060 6  0  SPDIF-out     Jack  Combo   Rear       White   0
hdaa1: 18 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 21 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 6 associations found:
hdaa1: Association 0 (1) in:
hdaa1:  Pin nid=13 seq=0
hdaa1: Association 1 (2) in:
hdaa1:  Pin nid=12 seq=0
hdaa1: Association 2 (3) in:
hdaa1:  Pin nid=15 seq=0
hdaa1: Association 3 (4) out:
hdaa1:  Pin nid=10 seq=0
hdaa1:  Pin nid=11 seq=2
hdaa1: Association 4 (5) out:
hdaa1:  Pin nid=9 seq=0
hdaa1: Association 5 (6) out:
hdaa1:  Pin nid=16 seq=0
hdaa1: Tracing association 0 (1)
hdaa1:  Unable to trace pin 13 to ADC 5, undo traces
hdaa1:  Pin 13 traced to ADC 6
hdaa1: Association 0 (1) trace succeeded
hdaa1: Tracing association 1 (2)
hdaa1:  Pin 12 traced to ADC 5
hdaa1: Association 1 (2) trace succeeded
hdaa1: Tracing association 2 (3)
hdaa1:  Pin 15 traced to ADC 7
hdaa1: Association 2 (3) trace succeeded
hdaa1: Tracing association 3 (4)
hdaa1:  Pin 10 traced to DAC 3
hdaa1:  Pin 11 traced to DAC 4
hdaa1: Association 3 (4) trace succeeded
hdaa1: Tracing association 4 (5)
hdaa1:  Pin 9 traced to DAC 2
hdaa1: Association 4 (5) trace succeeded
hdaa1: Tracing association 5 (6)
hdaa1:  Pin 16 traced to DAC 8
hdaa1: Association 5 (6) trace succeeded
hdaa1: Looking for additional ADC for association 0 (1)
hdaa1: Looking for additional ADC for association 1 (2)
hdaa1: Looking for additional ADC for association 2 (3)
hdaa1: Looking for additional DAC for association 3 (4)
hdaa1: Looking for additional DAC for association 4 (5)
hdaa1: Looking for additional DAC for association 5 (6)
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1:  Tracing nid 12 to out
hdaa1:  Tracing nid 13 to out
hdaa1:  Tracing nid 15 to out
hdaa1: Tracing beeper
hdaa1: GPIO commit
hdaa1:  GPIO0: disabled
hdaa1:  GPIO1: disabled
hdaa1:  GPIO2: disabled
hdaa1:  GPIO3: output state=1
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm1: <Cirrus Logic CS4206 (Internal Analog 4.0/2.0)> at nid 10,11 and 13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Analog)> at nid 9 and 12 on hdaa1
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
hdaa0: Subsystem ID: 0x00aa0100
hdaa0: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa0: Original pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: Patched pins configuration:
hdaa0: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa0:  3 18560010 1  0  Digital-out   Jack  Digital 0x18       Unknown 0
hdaa0: 1 associations found:
hdaa0: Association 0 (1) out:
hdaa0:  Pin nid=3 seq=0
hdaa0: Tracing association 0 (1)
hdaa0:  Pin 3 traced to DAC 2
hdaa0: Association 0 (1) trace succeeded
hdaa0: Looking for additional DAC for association 0 (1)
hdaa0: Tracing input monitor
hdaa0: Tracing other input monitors
hdaa0: Tracing beeper
hdaa0: Pin sense: nid=3 sense=0x7fffffff (disconnected, ELD valid)
hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
hdaa1: <Cirrus Logic CS4206 Audio Function Group> at nid 1 on hdacc1
hdaa1: Subsystem ID: 0x106b5100
hdaa1: NumGPIO=4 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0
hdaa1:  GPIO0: disabled
hdaa1:  GPIO1: disabled
hdaa1:  GPIO2: disabled
hdaa1:  GPIO3: output state=0
hdaa1: Original pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  9 012b4050 5  0  Headphones    Jack  Combo   Rear       Green   0
hdaa1: 10 90100140 4  0  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 11 90100142 4  2  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 12 018b3020 2  0  Line-in       Jack  Combo   Rear       Blue    0
hdaa1: 13 90a00110 1  0  Mic           Fixed Unknown Internal   Unknown 1
hdaa1: 14 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: 15 01cbe030 3  0  SPDIF-in      Jack  Combo   Rear       White   0
hdaa1: 16 014be060 6  0  SPDIF-out     Jack  Combo   Rear       White   0
hdaa1: 18 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: 21 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0
hdaa1: Patching pin config nid=9 0x012b4050 -> 0x012b404f
hdaa1: Patching pin config nid=13 0x90a00110 -> 0x90a00121
hdaa1: Patched pins configuration:
hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
hdaa1:  9 012b404f 4  15 Headphones    Jack  Combo   Rear       Green   0
hdaa1: 10 90100140 4  0  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 11 90100142 4  2  Speaker       Fixed Unknown Internal   Unknown 1
hdaa1: 12 018b3020 2  0  Line-in       Jack  Combo   Rear       Blue    0
hdaa1: 13 90a00121 2  1  Mic           Fixed Unknown Internal   Unknown 1
hdaa1: 14 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 15 01cbe030 3  0  SPDIF-in      Jack  Combo   Rear       White   0
hdaa1: 16 014be060 6  0  SPDIF-out     Jack  Combo   Rear       White   0
hdaa1: 18 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 21 400000f0 15 0  Line-out      None  Unknown 0x00       Unknown 0 DISA
hdaa1: 4 associations found:
hdaa1: Association 0 (2) in:
hdaa1:  Pin nid=12 seq=0
hdaa1:  Pin nid=13 seq=1
hdaa1: Association 1 (3) in:
hdaa1:  Pin nid=15 seq=0
hdaa1: Association 2 (4) out:
hdaa1:  Pin nid=10 seq=0
hdaa1:  Pin nid=11 seq=2
hdaa1:  Pin nid=9 seq=15
hdaa1: Association 3 (6) out:
hdaa1:  Pin nid=16 seq=0
hdaa1: Tracing association 0 (2)
hdaa1:  Pin 12 traced to ADC 5
hdaa1:  Pin 13 traced to ADC 6
hdaa1: Association 0 (2) trace succeeded
hdaa1: Tracing association 1 (3)
hdaa1:  Pin 15 traced to ADC 7
hdaa1: Association 1 (3) trace succeeded
hdaa1: Tracing association 2 (4)
hdaa1:  Pin 10 traced to DAC 3
hdaa1:  Pin 11 traced to DAC 4
hdaa1:  Unable to trace pin 9 seq 15 with min nid 0 and hpredir 0
hdaa1:  Unable to trace pin 11 seq 2 with min nid 5
hdaa1:  Unable to trace pin 10 seq 0 with min nid 4
hdaa1:  Pin 10 traced to DAC 3 with fake redirection
hdaa1:  Pin 11 traced to DAC 4 with fake redirection
hdaa1:  Pin 9 traced to DAC 2 with fake redirection
hdaa1: Association 2 (4) trace succeeded
hdaa1: Tracing association 3 (6)
hdaa1:  Pin 16 traced to DAC 8
hdaa1: Association 3 (6) trace succeeded
hdaa1: Looking for additional ADC for association 0 (2)
hdaa1: Looking for additional ADC for association 1 (3)
hdaa1: Looking for additional DAC for association 2 (4)
hdaa1: Looking for additional DAC for association 3 (6)
hdaa1: Tracing input monitor
hdaa1: Tracing other input monitors
hdaa1:  Tracing nid 12 to out
hdaa1:  Tracing nid 13 to out
hdaa1:  Tracing nid 15 to out
hdaa1: Tracing beeper
hdaa1: GPIO commit
hdaa1:  GPIO0: disabled
hdaa1:  GPIO1: disabled
hdaa1:  GPIO2: disabled
hdaa1:  GPIO3: output state=1
hdaa1: Headphones redirection for association 2 nid=9 using unsolicited responses.
hdaa1: Redirect output to: main
hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref
pcm1: <Cirrus Logic CS4206 (Analog 4.0+HP/3.1)> at nid 10,11,9 and 12,13 on hdaa1
pcm2: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
hdaa1: Pin sense: nid=9 sense=0x80000000 (connected)
hdaa1: Pin sense: nid=9 sense=0x00000000 (disconnected)
hdaa1: Pin sense: nid=9 sense=0x80000000 (connected)
hdaa1: Pin sense: nid=9 sense=0x00000000 (disconnected)
But looks like that you are nearer :).

P.S.

Without hint.hdaa.1.gpio_config="3=set" line in device.hints works just headphones. I did try also to set gpio_config set for 0, 1, and two and I don't get sound through speakers.
 
Last edited:

starikarp

macrumors member
Original poster
Apr 27, 2013
78
4
Some more information:
Code:
dmesg | grep pcm
pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
pcm0: Playback:
pcm0:      Stream cap: 0x00000005 AC3 PCM
pcm0:         PCM cap: 0x00020070 16 bits, 32 44 48 KHz
pcm0:             DAC: 2
pcm0: 
pcm0:     nid=3 [pin: Digital-out (Jack)]
pcm0:       + <- nid=2 [audio output] [src: pcm]
pcm0: 
pcm0: Mixer "vol" -> "none": child=0x00000010
pcm0: Mixer "pcm": parent="vol"
pcm0: Soft PCM mixer ENABLED
pcm0: Playback channel set is: Front Left, Front Right, 
pcm0: Playback channel matrix is: 2.0 (disconnected)
pcm1: <Cirrus Logic CS4206 (Internal Analog 4.0/2.0)> at nid 10,11 and 13 on hdaa1
pcm1: Playback:
pcm1:      Stream cap: 0x00000003 FLOAT32 PCM
pcm1:         PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
pcm1:             DAC: 3 4
pcm1: 
pcm1:     nid=10 [pin: Speaker (Fixed)]
pcm1:       + <- nid=3 [audio output] [src: pcm]
pcm1: 
pcm1:     nid=11 [pin: Speaker (Fixed)]
pcm1:       + <- nid=4 [audio output] [src: pcm]
pcm1: 
pcm1: Record:
pcm1:      Stream cap: 0x00000003 FLOAT32 PCM
pcm1:         PCM cap: 0x001e01f5 16 20 24 32 bits, 8 16 32 44 48 88 96 KHz
pcm1:             ADC: 6
pcm1: 
pcm1:     nid=6 [audio input]
pcm1:       + <- nid=13 [pin: Mic (Fixed)] [src: monitor]
pcm1: 
pcm1: Master Volume (OSS: vol): -57/6dB
pcm1:    +- ctl  2 (nid   3 out):    -57/6dB (128 steps) + mute
pcm1:    +- ctl  3 (nid   4 out):    -57/6dB (128 steps) + mute
pcm1: 
pcm1: PCM Volume (OSS: pcm): -57/6dB
pcm1:    +- ctl  2 (nid   3 out):    -57/6dB (128 steps) + mute                                                                        
pcm1:    +- ctl  3 (nid   4 out):    -57/6dB (128 steps) + mute                                                                        
pcm1:                                                                                                                                  
pcm1: Microphone2 Volume (OSS: monitor): 0/30dB                                                                                        
pcm1:    +- ctl  5 (nid   6 in   0): -51/12dB (64 steps) + mute
pcm1:    +- ctl  7 (nid  13 out):    0/30dB (4 steps)
pcm1: 
pcm1: Recording Level (OSS: rec): -51/12dB
pcm1:    +- ctl  5 (nid   6 in   0): -51/12dB (64 steps) + mute
pcm1:    +- ctl  7 (nid  13 out):    0/30dB (4 steps)
pcm1: 
pcm1: Mixer "vol":
pcm1: Mixer "pcm":
pcm1: Mixer "rec":
pcm1: Mixer "monitor":
pcm1: Playback channel set is: Front Left, Front Right, Back Left, Back Right, 
pcm1: Playback channel matrix is: 4.0 (unknown)
pcm1: Automatically set rec source to: monitor
pcm1: Recording channel set is: Front Left, Front Right, 
pcm1: Recording channel matrix is: 2.0 (unknown)
pcm2: <Cirrus Logic CS4206 (Rear Analog)> at nid 9 and 12 on hdaa1
pcm2: Playback:
pcm2:      Stream cap: 0x00000003 FLOAT32 PCM
pcm2:         PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
pcm2:             DAC: 2
pcm2: 
pcm2:     nid=9 [pin: Headphones (Green Jack)]
pcm2:       + <- nid=2 [audio output] [src: pcm]
pcm2: 
pcm2: Record:
pcm2:      Stream cap: 0x00000003 FLOAT32 PCM
pcm2:         PCM cap: 0x001e01f5 16 20 24 32 bits, 8 16 32 44 48 88 96 KHz
pcm2:             ADC: 5
pcm2: 
pcm2:     nid=5 [audio input]
pcm2:       + <- nid=12 [pin: Line-in (Blue Jack)] [src: line]
pcm2: 
pcm2: Master Volume (OSS: vol): -57/6dB
pcm2:    +- ctl  1 (nid   2 out):    -57/6dB (128 steps) + mute
pcm2: 
pcm2: PCM Volume (OSS: pcm): -57/6dB
pcm2:    +- ctl  1 (nid   2 out):    -57/6dB (128 steps) + mute
pcm2: 
pcm2: Line-in Volume (OSS: line): 0/30dB
pcm2:    +- ctl  4 (nid   5 in   0): -51/12dB (64 steps) + mute
pcm2:    +- ctl  6 (nid  12 out):    0/30dB (4 steps)
pcm2: 
pcm2: Recording Level (OSS: rec): -51/12dB
pcm2:    +- ctl  4 (nid   5 in   0): -51/12dB (64 steps) + mute
pcm2:    +- ctl  6 (nid  12 out):    0/30dB (4 steps)
pcm2: 
pcm2: Mixer "vol":
pcm2: Mixer "pcm":
pcm2: Mixer "line":
pcm2: Mixer "rec":
pcm2: Playback channel set is: Front Left, Front Right, 
pcm2: Playback channel matrix is: 2.0 (disconnected)
pcm2: Recording channel set is: Front Left, Front Right, 
pcm2: Recording channel matrix is: 2.0 (disconnected)
pcm3: <Cirrus Logic CS4206 (Rear Digital)> at nid 16 and 15 on hdaa1
pcm3: Playback:
pcm3:      Stream cap: 0x00000007 AC3 FLOAT32 PCM
pcm3:         PCM cap: 0x001e07f0 16 20 24 32 bits, 32 44 48 88 96 176 192 KHz
pcm3:             DAC: 8
pcm3: 
pcm3:     nid=16 [pin: SPDIF-out (White Jack)]
pcm3:       + <- nid=8 [audio output] [src: pcm]
pcm3: 
pcm3: Record:
pcm3:      Stream cap: 0x00000007 AC3 FLOAT32 PCM
pcm3:         PCM cap: 0x001e0570 16 20 24 32 bits, 32 44 48 96 192 KHz
pcm3:             ADC: 7
pcm3: 
pcm3:     nid=7 [audio input]
pcm3:       + <- nid=15 [pin: SPDIF-in (White Jack)] [src: dig1]
pcm3: 
pcm3: Mixer "vol" -> "none": child=0x00000010
pcm3: Mixer "pcm": parent="vol"
pcm3: Soft PCM mixer ENABLED
pcm3: Playback channel set is: Front Left, Front Right, 
pcm3: Playback channel matrix is: 2.0 (unknown)
pcm3: Recording channel set is: Front Left, Front Right, 
pcm3: Recording channel matrix is: 2.0 (disconnected)
Thanks in advance...
 

bingobangsi

macrumors newbie
Jun 18, 2015
1
0
Hi,

I fixed this with

sudo sysctl hw.snd.default_unit=2

and by putting

hw.snd.default_unit=2

into /etc/sysctl.conf

Cheers
 

starikarp

macrumors member
Original poster
Apr 27, 2013
78
4
Hi,

I fixed this with

sudo sysctl hw.snd.default_unit=2

and by putting

hw.snd.default_unit=2

into /etc/sysctl.conf

Cheers
in /etc/sysctl:
What is your computer. I have iMac 11,1. For me works unit 1 and I have in /etc/sysctl.conf:
hw.snd.default_auto=0
hw.snd.default_unit=1

And in /boot/device.hints I have:
hint.hdaa.1.gpio_config="3=set"
hint.hdaa.1.nid9.config="as=4 seq=0 mis=1"
hint.hdaa.1.nid10.config="as=4 seq=2"
hint.hdaa.1.nid11.config="as=4 seq=4"

I have a sound through headphones but not through internal speakers.If I get sound through internal speakers than I don't have through headphones or with some changes I have a sound through both.

Now I connect my speakers to the headphones connection and it work and if I want to listen through headphones I connect them to speakers. Internal microphone works and camera too.