Re: Call-for-testing: Asynchronous audio device detach

From: Pavel Timofeev <timp87_at_gmail.com>
Date: Thu, 09 May 2024 15:56:35 UTC
Hello

This functionality has always been in my personal list of desires.
Thank you for implementing this!

I don't have many USB sound devices nowadays. Only a couple of usb
headphones.
So I tried 15-CURRENT main-n269827-b07689d1f2a2 under gnome and it worked
well with some basic things.
The system survives usb headphone disconnect (unlike before) and switches
to another output after a few seconds (not immediately however).
This is what I experience during youtube video playback in chromium.

I'll try to extend the test and play with it more soon.

I'm really glad this is fixed now!
Thanks to everyone involved in this!

On Fri, Apr 12, 2024 at 1:40 PM Christos Margiolis <christos@freebsd.org>
wrote:

> Hello,
>
> Yesterday I committed a patch [1] which adds support for asynchronous
> device detach for audio devices, something that many people with
> detachable audio devices (e.g USB) have been asking for for years
> [2][3][4][5][6][many more...]. I would like to ask you to give it a try
> and let me know if everything works properly. Note that this patch
> depends on dc831e93bad6 [7], so make sure to apply this one as well.
>
> Christos
>
> [1]
> https://cgit.freebsd.org/src/commit/?id=44e128fe9d92c1a544b801cb56e907a66ef34691
> [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727
> [3]
> https://forums.freebsd.org/threads/not-entering-sleep-state-due-to-audio.82597/
> [4]
> https://forums.freebsd.org/threads/forcing-off-the-computer-endlessly-waiting-for-sound-application-to-exit-at-sleep-suspend-time.80412/
> [5] https://www.davidschlachter.com/misc/freebsd-usb-audio
> [6]
> https://randomnixfix.wordpress.com/2021/10/23/why-the-freebsd-desktop-and-my-linux-rant/
> [7]
> https://cgit.freebsd.org/src/commit/?id=e8c0d15a64fadb4a330f2da7244becaac161bb70
>
>