Re: uaudio device re-attach and persisting dev.pcm.$pcm.bitperfect sysctl

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sun, 29 Sep 2024 16:59:18 UTC
On Sun, 29 Sep 2024 17:24:00 +0100
Jamie Landeg-Jones <jamie@catflap.org> wrote:

> Christos Margiolis <christos@FreeBSD.org> wrote:
> 
> > Is there a reboot involved here? If not, then /etc/sysctl.conf is not
> > read again, so it makes sense that it falls back to the defaults.
> 
> May I humbly suggest that whilst it make sense to us who know how FreeBSD
> works, it doesn't make sense to a casual user.
> 
> I guess devd would be the solution, maybe this could be documented/scripted
> for users with these issues?
> 
> Cheers, Jamie

Would be.
But it could be complicated, if audio-related ports also wants to be
reconfigured for new values.

What comes in mind is
adding (if needed) and selecting a new sink for pulseaudio.
(And of course resetting and deleteing on plugged out, too.)


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>