Cirrus Logic CS4206 - again

Ajtim lumiwa at gmail.com
Sun Oct 20 11:05:27 UTC 2013


Hi!

I have still problem with Cirrus Logic CS4206 on iMac 11,1 settings.
Now I am running FreeBSD 10.0-BETA1 (amd64) and in /boot/device.hints I
have hint.hdaa.1.gpio_config="3=set" and I have sound through speakers
now and microphone works now too but when I connect headphones they
don't works and sound coming through speakers still. The sound is not
so good...

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)

I have 'boot_verbose="YES" ' in /boot/loader.conf and 

dmesg | grep hda show:

hdac0: <ATI RV770 HDA Controller> mem 0xd0630000-0xd0633fff irq 17 at
device 0.1 on pci1 hdac0: PCI card vendor: 0x106b, device: 0xaa30
hdac0: HDA Driver Revision: 20120126_0002
hdac0: Config options: on=0x00000000 off=0x00000000
hdac0: attempting to allocate 1 MSI vectors (1 supported)
hdac0: using IRQ 264 for MSI
hdac0: Caps: OSS 1, ISS 0, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdac1: <Intel 5 Series/3400 Series HDA Controller> mem
0xd0700000-0xd0703fff irq 22 at device 27.0 on pci0 hdac1: PCI card
vendor: 0x8086, device: 0x7270 hdac1: HDA Driver Revision: 20120126_0002
hdac1: Config options: on=0x00000000 off=0x00000000
hdac1: attempting to allocate 1 MSI vectors (1 supported)
hdac1: using IRQ 265 for MSI
hdac1: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256
hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
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
hdacc1: <Cirrus Logic CS4206 HDA CODEC> at cad 0 on hdac1
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

I did try also 
sysctl dev.hdaa.1.gpio_config="1=set"
 and for 2 and 0 but nothing is different. 

Thank you very much.

Mitja
---
http://www.redbubble.com/people/lumiwa


More information about the freebsd-multimedia mailing list