From nobody Wed Mar 9 10:14:36 2022 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4256919FCD20 for ; Wed, 9 Mar 2022 16:14:54 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KDHMx4fMQz4ZNd for ; Wed, 9 Mar 2022 16:14:53 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-yb1-xb33.google.com with SMTP id h126so5452612ybc.1 for ; Wed, 09 Mar 2022 08:14:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=asfjhA08V/OyCA9rXOkEUm6tWjHPcc3oZUntZWN4Pl0=; b=hhfqxeUk1yTzmbb3qqPUdqEA35tXfqDDo2ZbSjNxnkSMAs/TkIPkfHC8c4pYZqL2O0 hPPGxGrpYzqYJ9fqV24wrymxzJEv/zI617eP6QsVCwi5T2bmjzIkuyZaKb1wxFAt1Cfo aLRhByKxdchw9Ppn0Adi14nGONdIm5Zt48kyBvoyQ0X3TbP/HBqXG+D8fMCF0bWEQMFK gg4hgnFVtGgJXQUTXwT6MBqykm1az+3svi8RbR7m6ynvQERDExIqI5uEksXAM+hEC7Mj Rs9fQas4ZJy5/tf/gLcpRflSzWERvYWrlbwot9Bf6tD0qdCppJ6LSAQ8YsygW5KaVjid dlzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=asfjhA08V/OyCA9rXOkEUm6tWjHPcc3oZUntZWN4Pl0=; b=QimHjbODDk2+XpHwVAYQyL+oHgc2+jNVKKhccj2E218RgWooAcGNY3ItnYm+bZH8mK nLCVpXZFMSAwRREfJr4kYaeIRI2bXg9UIvaOUMJTfs0r4UGUB4+xds9Dm54c393ej1pO 9dJrFXoZg+BaQcPNyVjZxzKMV+MjtGEP0yLRNke08Ma2Houn5t6ZDzo91rK1MU+kxdT1 xJCHhfT8z1huC4LwoFptl4tZlF/7eV4mQJFaasxIcPTdz6phFIPoNhaaeTt01Yn+L241 wBv6R1XgOWgRjRi2XZndZeeA3d+tJrOHHSBSkHIa9PiIytvFgslS2yZ4pHKzHauQOUNq H/Mg== X-Gm-Message-State: AOAM532N2ZZSGI1JdJiiCWp5s7j6ZBrRGe1tXM7arZZQxYJakXZ/D+pc 3cXYzCWjeaUjfYDo1BsTYAy3PIJTpdw2PBwBEvg69lxBiu8xlg== X-Google-Smtp-Source: ABdhPJzjPlWyydblGe+4b+46zlVt1VFWHDOe35LI6aOxoKZqOxC5VGozJXOhxWUBobMOAuA4Sgz0xysWoUjHUMxda7w= X-Received: by 2002:a05:6902:103:b0:628:3eb4:a6cc with SMTP id o3-20020a056902010300b006283eb4a6ccmr401418ybh.4.1646842486867; Wed, 09 Mar 2022 08:14:46 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Antonio Olivares Date: Wed, 9 Mar 2022 04:14:36 -0600 Message-ID: Subject: get sound from headphones To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KDHMx4fMQz4ZNd X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=hhfqxeUk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2607:f8b0:4864:20::b33 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-3.91 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.91)[-0.914]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b33:from]; MLMMJ_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Dear kind folks, I am trying to get sound from headphones, but have not succeeded. I have booted in verbose mode and I get the following: --------- olivares@ryzen$ cat boot.txt Preloaded elf obj module "snd_hda.ko" at 0xffffffff81db3a40. hdac0.pci6.pcib6.pci0.pcib0.acpi0.nexus0.root0 hdac0: [tentative] mem 0xfcf40000-0xfcf43fff irq 55 at device 0.1 on pci6 hdac0: PCI card vendor: 0x1545, device: 0xaa68 hdac0: HDA Driver Revision: 20120126_0002 hdac0: Config options: on=0x00000000 off=0x00000000 hdac0: link ctrl 0x2930 hdac0: disable nosnoop hdac0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfcf40000 hdac0: attempting to allocate 1 MSI vector (1 supported) hdac0: using IRQ 16 on cpu3 for MSI hdac0: Caps: OSS 1, ISS 0, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac0: [attached!] mem 0xfcf40000-0xfcf43fff irq 16,55 at device 0.1 on pci6 hdac1.pci8.pcib8.pci0.pcib0.acpi0.nexus0.root0 hdac1: [tentative] mem 0xfca00000-0xfca07fff irq 36 at device 0.4 on pci8 hdac1: PCI card vendor: 0x1043, device: 0x8760 hdac1: HDA Driver Revision: 20120126_0002 hdac1: Config options: on=0x00000000 off=0x00000000 hdac1: link ctrl 0x2830 hdac1: disable nosnoop hdac1: Reserved 0x8000 bytes for rid 0x10 type 3 at 0xfca00000 hdac1: attempting to allocate 1 MSI vector (1 supported) hdac1: using IRQ 16 on cpu5 for MSI hdac1: Caps: OSS 4, ISS 4, BSS 0, NSDO 1, 64bit, CORB 256, RIRB 256 hdac1: [attached!] mem 0xfca00000-0xfca07fff irq 16,36 at device 0.4 on pci8 hdacc0.hdac0.pci6.pcib6.pci0.pcib0.acpi0.nexus0.root0 hdacc0: [tentative] at cad 0 on hdac0 hdaa0.hdacc0.hdac0.pci6.pcib6.pci0.pcib0.acpi0.nexus0.root0 hdaa0: [tentative] 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.hdaa0.hdacc0.hdac0.pci6.pcib6.pci0.pcib0.acpi0.nexus0.root0 pcm0: [tentative] at nid 3 on hdaa0 pcm0: [attached!] at nid 3 on hdaa0 hdaa0: [attached!] at nid 1 on hdacc0 hdacc0: [attached!] at cad 0 on hdac0 hdacc1.hdac1.pci8.pcib8.pci0.pcib0.acpi0.nexus0.root0 hdacc1: [tentative] at cad 0 on hdac1 hdaa1.hdacc1.hdac1.pci8.pcib8.pci0.pcib0.acpi0.nexus0.root0 hdaa1: [tentative] at nid 1 on hdacc1 hdaa1: Subsystem ID: 0x10438760 hdaa1: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1 hdaa1: GPIO0: disabled hdaa1: GPIO1: disabled hdaa1: Original pins configuration: hdaa1: nid 0x as seq device conn jack loc color misc hdaa1: 17 90460130 3 0 SPDIF-out Fixed Digital Internal Unknown 1 hdaa1: 18 40330000 0 0 CD None ATAPI 0x00 Unknown 0 hdaa1: 20 01014010 1 0 Line-out Jack 1/8 Rear Green 0 hdaa1: 21 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa1: 22 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa1: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa1: 24 01a19040 4 0 Mic Jack 1/8 Rear Pink 0 hdaa1: 25 02a19050 5 0 Mic Jack 1/8 Front Pink 0 hdaa1: 26 0181304f 4 15 Line-in Jack 1/8 Rear Blue 0 hdaa1: 27 02214020 2 0 Headphones Jack 1/8 Front Green 0 hdaa1: 28 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa1: 29 4046c629 2 9 SPDIF-out None Digital 0x00 Res.C 6 hdaa1: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa1: 31 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa1: Patching widget caps nid=29 0x00400400 -> 0x00700400 hdaa1: Patched pins configuration: hdaa1: nid 0x as seq device conn jack loc color misc hdaa1: 17 90460130 3 0 SPDIF-out Fixed Digital Internal Unknown 1 hdaa1: 18 40330000 0 0 CD None ATAPI 0x00 Unknown 0 DISA hdaa1: 20 01014010 1 0 Line-out Jack 1/8 Rear Green 0 hdaa1: 21 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: 22 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: 24 01a19040 4 0 Mic Jack 1/8 Rear Pink 0 hdaa1: 25 02a19050 5 0 Mic Jack 1/8 Front Pink 0 hdaa1: 26 0181304f 4 15 Line-in Jack 1/8 Rear Blue 0 hdaa1: 27 02214020 2 0 Headphones Jack 1/8 Front Green 0 hdaa1: 28 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: 31 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa1: 5 associations found: hdaa1: Association 0 (1) out: hdaa1: Pin nid=20 seq=0 hdaa1: Association 1 (2) out: hdaa1: Pin nid=27 seq=0 hdaa1: Association 2 (3) out: hdaa1: Pin nid=17 seq=0 hdaa1: Association 3 (4) in: hdaa1: Pin nid=24 seq=0 hdaa1: Pin nid=26 seq=15 hdaa1: Association 4 (5) in: hdaa1: Pin nid=25 seq=0 hdaa1: Tracing association 0 (1) hdaa1: Pin 20 traced to DAC 2 hdaa1: Association 0 (1) trace succeeded hdaa1: Tracing association 1 (2) hdaa1: Pin 27 traced to DAC 3 hdaa1: Association 1 (2) trace succeeded hdaa1: Tracing association 2 (3) hdaa1: Pin 17 traced to DAC 16 hdaa1: Association 2 (3) trace succeeded hdaa1: Tracing association 3 (4) hdaa1: Pin 24 traced to ADC 8 hdaa1: Pin 26 traced to ADC 8 hdaa1: Association 3 (4) trace succeeded hdaa1: Tracing association 4 (5) hdaa1: Pin 25 traced to ADC 9 hdaa1: Association 4 (5) trace succeeded hdaa1: Looking for additional DAC for association 0 (1) hdaa1: Looking for additional DAC for association 1 (2) hdaa1: Looking for additional DAC for association 2 (3) hdaa1: Looking for additional ADC for association 3 (4) hdaa1: Looking for additional ADC for association 4 (5) hdaa1: Tracing input monitor hdaa1: Tracing nid 11 to out hdaa1: nid 11 is input monitor hdaa1: Tracing nid 34 to out hdaa1: Tracing nid 35 to out hdaa1: Tracing other input monitors hdaa1: Tracing nid 24 to out hdaa1: Tracing nid 25 to out hdaa1: Tracing nid 26 to out hdaa1: Tracing beeper hdaa1: Pin sense: nid=20 sense=0x80000000 (connected) hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref pcm1.hdaa1.hdacc1.hdac1.pci8.pcib8.pci0.pcib0.acpi0.nexus0.root0 pcm1: [tentative] at nid 20 and 24,26 on hdaa1 pcm1: [attached!] at nid 20 and 24,26 on hdaa1 pcm2.hdaa1.hdacc1.hdac1.pci8.pcib8.pci0.pcib0.acpi0.nexus0.root0 pcm2: [tentative] at nid 27 and 25 on hdaa1 pcm2: [attached!] at nid 27 and 25 on hdaa1 pcm3.hdaa1.hdacc1.hdac1.pci8.pcib8.pci0.pcib0.acpi0.nexus0.root0 pcm3: [tentative] at nid 17 on hdaa1 pcm3: [attached!] at nid 17 on hdaa1 hdaa1: [attached!] at nid 1 on hdacc1 hdacc1: [attached!] at cad 0 on hdac1 ------ I am trying to copy from the following website as example: