From owner-freebsd-multimedia@FreeBSD.ORG Sun Oct 20 11:05:27 2013 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 02994A79 for ; Sun, 20 Oct 2013 11:05:27 +0000 (UTC) (envelope-from lumiwa@gmail.com) Received: from mail-qc0-x232.google.com (mail-qc0-x232.google.com [IPv6:2607:f8b0:400d:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B95AB2247 for ; Sun, 20 Oct 2013 11:05:26 +0000 (UTC) Received: by mail-qc0-f178.google.com with SMTP id x19so3809986qcw.9 for ; Sun, 20 Oct 2013 04:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; bh=6fF9TvefkCvinLmouaoU4A7CQw6nM1wVWGLZkzumzLc=; b=V25xtiYCwDYIKF5MQBual+7g/F4iFSmi5ZKoC+gSeiOSV02UjrR2orhKnaD7DunTrG WGtbV7v5IrsHaRzO7qeYsqKdAwIDQIuMa4LjfIcOCwRYNgz4fDembWLB6idNzDZkAJ3c 2KumLxq7vppoul6UCdlIdj17eS07qLIbuWk5Ru+dt/Of81NhhNXO3ygpYP4Se+wxeJQn spVp+1yMtdgK/iFL6ATwCvv9Ui+gnX7t7uBNDWQw8LJ12IR/Gpev2jLIXTd+feO3+lvv 4/+nlvO/n4chWN9LIR0Sc1qtN2lVzq0xixRrwmf1zQUoL1FZZI/aQtNAbTiRqGgELcRS AJQQ== X-Received: by 10.49.62.137 with SMTP id y9mr15394822qer.59.1382267124447; Sun, 20 Oct 2013 04:05:24 -0700 (PDT) Received: from lumiwa.farms.net (pool-72-87-59-52.ptldme.east.myfairpoint.net. [72.87.59.52]) by mx.google.com with ESMTPSA id x1sm26107097qai.6.2013.10.20.04.05.22 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 20 Oct 2013 04:05:23 -0700 (PDT) Date: Sun, 20 Oct 2013 07:05:12 -0400 From: Ajtim To: freebsd-multimedia@freebsd.org Subject: Cirrus Logic CS4206 - again Message-ID: <20131020070512.7bc7499d@lumiwa.farms.net> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Oct 2013 11:05:27 -0000 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: (play) pcm1: (play/rec) default pcm2: (play/rec) pcm3: (play/rec) I have 'boot_verbose="YES" ' in /boot/loader.conf and dmesg | grep hda show: hdac0: 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: 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: at cad 0 on hdac0 hdaa0: 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: at nid 3 on hdaa0 hdacc1: at cad 0 on hdac1 hdaa1: 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: at nid 10,11 and 13 on hdaa1 pcm2: at nid 9 and 12 on hdaa1 pcm3: 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