From nobody Mon May 06 13:12:42 2024 X-Original-To: freebsd-multimedia@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 4VY1zf2zGcz5KBh6 for ; Mon, 06 May 2024 13:12:46 +0000 (UTC) (envelope-from christos@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VY1zf2K5rz4F03; Mon, 6 May 2024 13:12:46 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715001166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kajFgvElIOn3O2y5YxLzcyRAVh84IjOJBy799jboujU=; b=iVUZY3sbjwWzEx1D016/yrBBZ8AUqGkuHE01XLiiBu8nrtPT4sG6qUuzkL5sIOr/lGtevl aJ9/ttmPp0QY4oH+Idls9uM2JADK5lQF0wf/NdSUlCiFAV3ujTVITG67RJIpHzZxX19rFd 431jN+FuWGLYVotH8W01HfkDejrIxpqMo2l0DW4Jql9oLL5tOhOddggg6aailByl4v1FQX HYcUuxuFiyvgfy6K3gR7LvtQW0TyQsl4r8k+I0aOQGIgRmlhEepRMxR5an7kHYxeh28qQW NWN2lmpIWjv27WC6JEWI2rUKm/HOXvDiFBuF4XORPADPW4W3YXo+ntZTws4NXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715001166; a=rsa-sha256; cv=none; b=JzNhhgihh1u3DSRvKJIHP1x6j7PkoTgoHGCwP0x82EKi22RTrvUJG17lgo4NI6iqZmnMpR 5+/NPWiIwNbb5CdNw8f99wDSGev0Z7OCAQH2W8cEKYu5fBK6OFPqczGw6FSDE4olk+wOSl DNtysKkalzr7M142h24vZ4iqQDDzgeWc+bj6+Y3L5PQzem0Tx4aWGRplJN8vAL107Liwjy KfJO6EGbDCN2ycXUISqpflGsQhX64pcM5bkoJ6ambji7aU7uHIqUPLAtk0CWV6LRF/LKop QWtS1OoUREUV5xk1i+1fuKOZKXOGjfkOlF609r3IZb8Q+MCVxZHjbva4TFOmLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715001166; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=kajFgvElIOn3O2y5YxLzcyRAVh84IjOJBy799jboujU=; b=wvlKqv+FGTIOhWWQrr1/Z4/5SK9OPilofVArceMq/ags9nLyEt1LEvKT6Fy97wCU4OVWDV q5FVc9K2jnjODHJ6YRtwMDp6kMJZBqWIL0IC6oxbOa+q4K5f+zn2dUSyH/xUOZN6dF6dKl HzaPbfjX1vItnSNzKS/nh/UUTMHXHvLj28xvHbdh8GcLiksLqePFDeM1ckq01d9FiEWc5g 8NzxK4y0/Oke0PnjNkFJ9zBLtyg51xKdk4W3PZL2tGYgbsszEk5UYkzjTv/HiCgDiSZ14e vUyLfBIXvy85TAXwVUvaaB+tXGtJ55ZTxhCGyF766xKBeG33QvB1o5LZGnEy2Q== Received: from margiolis.net (mail.margiolis.net [95.179.159.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: christos/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VY1zd6mNQz1FNF; Mon, 6 May 2024 13:12:45 +0000 (UTC) (envelope-from christos@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=mail; bh=kajFgvElIOn3O2y 5YxLzcyRAVh84IjOJBy799jboujU=; h=in-reply-to:references:subject:cc:to: from:date; d=margiolis.net; b=lDr6lv1t6IP3XT8bmQ81cYU5J8OLVm+mARYjw+JR xLc81qr1Q9vaGwAgz/qP6w3jbESdRXLe3G1cPXZ4RiYhrW47KUJTWkBTkY+GKq/xmAhq+2 pL4jiV9F822ZNmQKcg9lI7lE0I+8E7Py2qiXYJJ7yvjeKeqGIhSacJi6pkPLg= X-Spam-Score: 6.4 / 15 X-Spam-Status: Yes, score=6.400 required=15.000 tests=[ARC_NA=0.000, ASN=0.000, FROM_EQ_ENVFROM=0.000 FROM_HAS_DN=0.000, MID_RHS_NOT_FQDN=0.500, MIME_GOOD=-0.100 MIME_TRACE=0.000, NEURAL_SPAM=0.000, RCPT_COUNT_TWO=0.000 RCVD_COUNT_ONE=0.000, RCVD_TLS_ALL=0.000, RCVD_VIA_SMTP_AUTH=0.000 SPAM_FLAG=5.000, SUBJECT_ENDS_QUESTION=1.000, TO_DN_ALL=0.000 TO_MATCH_ENVRCPT_ALL=0.000] Received: from tpad (ip-45-81-121-44.ask4internet.com [45.81.121.44]) by margiolis.net (OpenSMTPD) with ESMTPSA id 3f88d089 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 6 May 2024 13:12:43 +0000 (UTC) Date: Mon, 6 May 2024 15:12:42 +0200 From: Christos Margiolis To: Chris Cc: freebsd-multimedia Subject: Re: Anyone know how to get sound on a 12th Gen Alder Lake based laptop? Message-ID: References: <3e446c72efefc7fb6a44e90b67a5fd05@bsdforge.com> <594f9cd752d22d888381081557328dae@bsdforge.com> <59c5358eed5946b78fabb421a81bb792@bsdforge.com> List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59c5358eed5946b78fabb421a81bb792@bsdforge.com> Hello Chris, Chris wrote: > On 2024-04-22 08:44, Christos Margiolis wrote: > > > > [...] > > > > hint.hdac.0.cad0.nid20.config="as=1 seq=0" > > hint.hdac.0.cad0.nid33.config="as=1 seq=15" > Thank you very much, Christos! After adding those lines and adding ALSA. > Sound > works as expected. :) > Sorry to have bothered you with this. I haven't needed to touch sound > settings > since ~8.4, because it "just worked". Is there anywhere that might explain > the > correlation between the labels and numbers that "mere mortals" can > comprehend? So what these two lines do is assign the speaker (nid20) and headphone (nid33) pins to the same association ("as", i.e group). In the second line, "seq=15" means that the headphone pin will duplicate (and automatically mute if not plugged) the first pin in that association. In other words, the output will switch from the speakers to the headphones if headphones are plugged in, and vice-versa. The snd_hda(4) man page explains what "as" and "seq" are. Christos