From nobody Tue Sep 30 19:22:26 2025 X-Original-To: dev-commits-src-main@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 4cbny54LV1z697hf; Tue, 30 Sep 2025 19:22:37 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from vogon.madpilot.net (vogon.madpilot.net [159.69.1.99]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4cbny51YgPz3WBn; Tue, 30 Sep 2025 19:22:37 +0000 (UTC) (envelope-from mad@madpilot.net) Authentication-Results: mx1.freebsd.org; none Received: from localhost (mail [IPv6:fd5c:5351:d272::3]) by vogon.madpilot.net (Postfix) with ESMTP id 4cbnxx6k0BzLlyr; Tue, 30 Sep 2025 21:22:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject:date:date :message-id:received; s=cyq4qetkgngm; t=1759260147; x= 1761074548; bh=x76nfHBOwOj5KsHfLzMTrf1d3BfGooz+GydIozS5iQ4=; b=W 0ranWZiEWRj6Y6u2tvYLQM7pCS+od1u94ffgaCjBm7012sHla+hB1cDhU1utMcR9 KWGn1Z+9tbkeaPPyQHoH5KUI9R8KzZ1s8M8LI0uF4Z5AGOKrwN1EQ/kFQ00yschC c+aqN9wEF6eRdMO9Xf5v2GG2Lq2THFbjWIXoGkfOiucZsek3QiNPJ5ce74kJ1dCh mIzyr5b7pncfUhfRHklvtka6gKSfmnlRGeyf4rJL75UPLZgKE+ucPN6CtxR8Uv/L S2/GwEKc7r8JP29ZXdwtPcnI54nzl+T4dWQRRP2nuqh9v3o2b0vmbhR1MTwCtbg1 vqIUAA0EXbAaqDnWKxBrw== Received: from vogon.madpilot.net ([IPv6:fd5c:5351:d272::3]) by localhost (vogon.madpilot.net [IPv6:fd5c:5351:d272::3]) (amavis, port 10026) with ESMTP id SrLHOusee8sP; Tue, 30 Sep 2025 21:22:27 +0200 (CEST) Message-ID: Date: Tue, 30 Sep 2025 21:22:26 +0200 Subject: Re: git: 2ffaca551eaf - main - snd_hda: Implement automatic redirection between associations To: Christos Margiolis , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202509301052.58UAqxgM026265@gitrepo.freebsd.org> Content-Language: en-US From: Guido Falsi Autocrypt: addr=mad@madpilot.net; keydata= xsBNBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+ wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB AAHNHkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PsLAeQQTAQgAIwIbAwIeAQIXgAUL CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+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3ZbUXegz70ynjHf+lQMZ 9IZKASoRMuS5FozPQh6abvmwZEPdf5I9riUElzvHrqJ8Bx0t3Pujdoth+yNHpnBxrtO8LkQd rQ58P0SwcaIX33T2U9pG8bhu5YVR88FQ8OQ0cEsPBpDncg== In-Reply-To: <202509301052.58UAqxgM026265@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4cbny51YgPz3WBn List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org On 9/30/25 12:52, Christos Margiolis wrote: > The branch main has been updated by christos: > > URL: https://cgit.FreeBSD.org/src/commit/?id=2ffaca551eaf32c17f701762ecf29a961cf19aa4 > > commit 2ffaca551eaf32c17f701762ecf29a961cf19aa4 > Author: Christos Margiolis > AuthorDate: 2025-09-30 10:52:44 +0000 > Commit: Christos Margiolis > CommitDate: 2025-09-30 10:52:44 +0000 > > snd_hda: Implement automatic redirection between associations > > For audio to be redirected to the headphones/headset after plugging the > jack, or back to the speaker/internal mic when unplugging it, the > speaker and headphone pins need to be part of the same association > (i.e., the same PCM device). This patch makes it possible to redirect > audio even between different associations, which can reduce the need for > manual pin patching. > > The idea is that we issue a devctl_notify() from within the jack > detection callback whenever a jack is (un-)plugged to redirect audio to > the appropriate device. Then the snd.conf devd script is responsible for > using virtual_oss to change the playback/recording device to whatever > snd_hda(4) selected. The reason for requiring virtual_oss is that it has > hot-swapping support, which is necessary for jack redirection. > > Sponsored by: The FreeBSD Foundation > MFC after: 2 days > Differential Revision: https://reviews.freebsd.org/D50070 > --- > sbin/devd/Makefile | 5 +++++ > sbin/devd/devd.conf.5 | 16 +++++++++++++ > sbin/devd/snd.conf | 23 +++++++++++++++++++ > sys/dev/sound/pci/hda/hdaa.c | 53 +++++++++++++++++++++++++++++++++----------- > 4 files changed, 84 insertions(+), 13 deletions(-) > > diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile > index 5d5721d16884..f65eee93dd4b 100644 > --- a/sbin/devd/Makefile > +++ b/sbin/devd/Makefile > @@ -51,6 +51,11 @@ NVMEDIR= ${DEVDDIR} > NVME+= nvmf.conf > NVMEPACKAGE= nvme-tools > > +CONFGROUPS+= SND > +SNDDIR= ${DEVDDIR} > +SND+= snd.conf > +SNDPACKAGE= snd Looks like this is causing the package building step of the build to look for a src/release/packages/ucl/snd-all.ucl file. Is it intentional to cause this to produce a new base package? Looks like in this case an ucl file for the description is needed? -- Guido Falsi