[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Call-for-testing: Asynchronous audio device detach
From:       Pavel Timofeev <timp87 () gmail ! com>
Date:       2024-05-09 15:56:35
Message-ID: CAAoTqfuZUki0tqd8EssqT3qpyDsAEo0d0xTwFyyECpSoBCPWyA () mail ! gmail ! com
[Download RAW message or body]

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
> 
> 


[Attachment #3 (text/html)]

<div dir="ltr">Hello<div><br></div><div>This functionality has always been in my \
personal list of desires.</div><div>Thank you for implementing \
this!</div><div><br></div><div>I don&#39;t have many USB sound devices nowadays Only \
a couple of usb headphones.</div><div>So I tried 15-CURRENT  \
main-n269827-b07689d1f2a2 under gnome and it worked well with some basic  \
things.</div><div>The system survives usb headphone disconnect (unlike before) and \
switches to another output after a few seconds (not immediately \
however).</div><div>This is what I experience during youtube video playback in \
chromium.</div><div><br></div><div>I&#39;ll try to extend the test and play with it \
more soon.</div><div><br></div><div>I&#39;m really glad this is fixed \
now!</div><div>Thanks to everyone involved in this!</div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 12, 2024 at \
1:40 PM Christos Margiolis &lt;<a \
href="mailto:christos@freebsd.org">christos@freebsd.org</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br> <br>
Yesterday I committed a patch [1] which adds support for asynchronous<br>
device detach for audio devices, something that many people with<br>
detachable audio devices (e.g USB) have been asking for for years<br>
[2][3][4][5][6][many more...]. I would like to ask you to give it a try<br>
and let me know if everything works properly. Note that this patch<br>
depends on dc831e93bad6 [7], so make sure to apply this one as well.<br>
<br>
Christos<br>
<br>
[1] <a href="https://cgit.freebsd.org/src/commit/?id=44e128fe9d92c1a544b801cb56e907a66ef34691" \
rel="noreferrer" target="_blank">https://cgit.freebsd.org/src/commit/?id=44e128fe9d92c1a544b801cb56e907a66ef34691</a><br>
 [2] <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727" \
rel="noreferrer" target="_blank">https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727</a><br>
 [3] <a href="https://forums.freebsd.org/threads/not-entering-sleep-state-due-to-audio.82597/" \
rel="noreferrer" target="_blank">https://forums.freebsd.org/threads/not-entering-sleep-state-due-to-audio.82597/</a><br>
 [4] <a href="https://forums.freebsd.org/threads/forcing-off-the-computer-endlessly-waiting-for-sound-application-to-exit-at-sleep-suspend-time.80412/" \
rel="noreferrer" target="_blank">https://forums.freebsd.org/threads/forcing-off-the-co \
mputer-endlessly-waiting-for-sound-application-to-exit-at-sleep-suspend-time.80412/</a><br>
 [5] <a href="https://www.davidschlachter.com/misc/freebsd-usb-audio" \
rel="noreferrer" target="_blank">https://www.davidschlachter.com/misc/freebsd-usb-audio</a><br>
 [6] <a href="https://randomnixfix.wordpress.com/2021/10/23/why-the-freebsd-desktop-and-my-linux-rant/" \
rel="noreferrer" target="_blank">https://randomnixfix.wordpress.com/2021/10/23/why-the-freebsd-desktop-and-my-linux-rant/</a><br>
 [7] <a href="https://cgit.freebsd.org/src/commit/?id=e8c0d15a64fadb4a330f2da7244becaac161bb70" \
rel="noreferrer" target="_blank">https://cgit.freebsd.org/src/commit/?id=e8c0d15a64fadb4a330f2da7244becaac161bb70</a><br>
 <br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic