From owner-freebsd-questions@freebsd.org Sun Feb 21 08:11:49 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E9D954EEF4 for ; Sun, 21 Feb 2021 08:11:49 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from p-impout004.msg.pkvw.co.charter.net (p-impout004aa.msg.pkvw.co.charter.net [47.43.26.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DjyhN0bdLz3t6n for ; Sun, 21 Feb 2021 08:11:47 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from freebsd.localnet ([74.132.18.25]) by cmsmtp with ESMTPA id DjqDl5INkLC0yDjqDlrPLw; Sun, 21 Feb 2021 08:11:45 +0000 X-Authority-Analysis: v=2.3 cv=Q/OsHL+a c=1 sm=1 tr=0 a=6dKv8Xy78h5PIHsve0hi3A==:117 a=6dKv8Xy78h5PIHsve0hi3A==:17 a=kj9zAlcOel0A:10 a=C3AHgSZR_H68SJllVDIA:9 a=CjuIK1q_8ugA:10 From: Steven Friedrich To: freebsd-questions@freebsd.org Subject: Re: Subject: Sound from HDMI (pcm2) using i915kms.ko Date: Sun, 21 Feb 2021 03:11:44 -0500 Message-ID: <4833909.YNO7O01DYZ@freebsd> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-CMAE-Envelope: MS4wfOEG0krQsr+0Z3m7z/e/e2u4FhPqTRFVt+iAfkmv2/DvwDCQsWedsYrq8joEsovw4lxDB3/PkFJfHrCjW/biW8f1WlAu3PtDu9hs88bE4ncKFW54TFIp E27HYMDy0+OoaVcYbBXcvXxN8paI3oRZE+6x1h4dGvYhTP0FdxBiGVGdXqaxCoc2/bxBh0nx6oWM+A== X-Rspamd-Queue-Id: 4DjyhN0bdLz3t6n X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@twc.com designates 47.43.26.135 as permitted sender) smtp.mailfrom=freebsd@twc.com X-Spamd-Result: default: False [-1.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[47.43.26.135:from]; FREEMAIL_FROM(0.00)[twc.com]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[74.132.18.25:received]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; RCVD_TLS_LAST(0.00)[]; CTE_CASE(0.50)[]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; FAKE_REPLY(1.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.135:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[twc.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.135:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[47.43.26.135:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2021 08:11:49 -0000 I got verbose output, but I don't know quite what it means: hdaa0: Original pins configuration: ahcich3: hdaa0: nid 0x as seq device conn jack loc color misc hdaa0: 18 40000000 0 0 Line-out None Unknown 0x00 Unknown 0 hdaa0: 20 01014010 1 0 Line-out Jack 1/8 Rear Green 0 hdaa0: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa0: 24 01a19040 4 0 Mic Jack 1/8 Rear Pink 0 hdaa0: 25 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa0: 26 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa0: 27 01813030 3 0 Line-in Jack 1/8 Rear Blue 0 hdaa0: 29 40434601 0 1 SPDIF-out None ATAPI 0x00 Green 6 hdaa0: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 hdaa0: 33 02211020 2 0 Headphones Jack 1/8 Front Black 0 hdaa0: Patching widget caps nid=29 0x00400000 -> 0x00700000 SATA offline status=00000004 hdaa0: ahcich3: AHCI reset: device not found ahcich4: AHCI reset... Patched pins configuration: ahcich4: hdaa0: nid 0x as seq device conn jack loc color misc hdaa0: 18 40000000 0 0 Line-out None Unknown 0x00 Unknown 0 DISA hdaa0: 20 01014010 1 0 Line-out Jack 1/8 Rear Green 0 hdaa0: 23 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa0: 24 01a19040 4 0 Mic Jack 1/8 Rear Pink 0 hdaa0: 25 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa0: 26 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa0: 27 01813030 3 0 Line-in Jack 1/8 Rear Blue 0 hdaa0: 30 411111f0 15 0 Speaker None 1/8 Rear Black 1 DISA hdaa0: 33 02211020 2 0 Headphones Jack 1/8 Front 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=0 hdaa0: Association 2 (3) in: hdaa0: Pin nid=27 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 27 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) hdaa0: Looking for additional ADC for association 2 (3) hdaa0: Looking for additional ADC for association 3 (4) hdaa0: Tracing input monitor hdaa0: Tracing nid 11 to out hdaa0: nid 11 is input monitor hdaa0: Tracing nid 35 to out hdaa0: Tracing other input monitors hdaa0: Tracing nid 24 to out hdaa0: Tracing nid 27 to out hdaa0: Tracing beeper SATA offline status=00000004 ahcich4: AHCI reset: device not found ahcich5: AHCI reset... hdaa0: Pin sense: nid=20 sense=0x80000000 (connected) ahcich5: SATA offline status=00000004 hdaa0: ahcich2: ahcich5: AHCI reset: device not found Pin sense: nid=33 sense=0x80000000 (connected) hdaa0: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref I cut out pcm0 and pcm1 because they work. Only pcm2 (HDMI) doesn't produce sound hdacc1: at cad 2 on hdac0 hdaa1: at nid 1 on hdacc1 hdaa1: Subsystem ID: 0x80860101 hdaa1: NumGPIO=0 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=0 hdaa1: Original pins configuration: hdaa1: nid 0x as seq device conn jack loc color misc hdaa1: 3 18560010 1 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa1: Patched pins configuration: hdaa1: nid 0x as seq device conn jack loc color misc hdaa1: 3 18560010 1 0 Digital-out Jack Digital 0x18 Unknown 0 hdaa1: 1 associations found: hdaa1: Association 0 (1) out: hdaa1: Pin nid=3 seq=0 hdaa1: Tracing association 0 (1) hdaa1: Pin 3 traced to DAC 2 hdaa1: Association 0 (1) trace succeeded hdaa1: Looking for additional DAC for association 0 (1) hdaa1: Tracing input monitor hdaa1: Tracing other input monitors hdaa1: Tracing beeper hdaa1: FG config/quirks: forcestereo ivref50 ivref80 ivref100 ivref pcm2: at nid 3 on hdaa1 pcm2: Playback: pcm2: Stream cap: 0x00000005 AC3 PCM pcm2: PCM cap: 0x001a07f0 16 24 32 bits, 32 44 48 88 96 176 192 KHz pcm2: DAC: 2 pcm2: pcm2: nid=3 [pin: Digital-out (Jack)] pcm2: + <- nid=2 [audio output] [src: pcm] pcm2: pcm2: Master Volume (OSS: vol): 0/0dB pcm2: +- ctl 1 (nid 3 in ): mute pcm2: pcm2: PCM Volume (OSS: pcm): 0/0dB pcm2: +- ctl 1 (nid 3 in ): mute pcm2: pcm2: Mixer "vol": pcm2: Mixer "pcm": pcm2: Soft PCM mixer ENABLED pcm2: Playback channel matrix is: unknown, assuming 7.1 (disconnected) It LOOKS like it's muted: pcm2: Master Volume (OSS: vol): 0/0dB pcm2: +- ctl 1 (nid 3 in ): mute and pcm2: PCM Volume (OSS: pcm): 0/0dB pcm2: +- ctl 1 (nid 3 in ): mute The LAST message looks annoying: pcm2: Playback channel matrix is: unknown, assuming 7.1 (disconnected) Oh, and mixer isn't any help: mixer -f /dev/mixer2 Mixer vol is currently set to 100:100 Mixer pcm is currently set to 100:100 I read snd_hda (4),but it's Geek to me. -- FreeBSD FreeBSD 12.2-RELEASE-p3 FreeBSD 12.2-RELEASE-p3 r369327 Special amd64 HP-Slimline 290-p0014 Desktop Using integrated UHD Graphics 630 Built drm from /usr/ports/drm-kmod