Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 2024 09:56:35 -0600
From:      Pavel Timofeev <timp87@gmail.com>
To:        Christos Margiolis <christos@freebsd.org>
Cc:        freebsd-multimedia@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: Call-for-testing: Asynchronous audio device detach
Message-ID:  <CAAoTqfuZUki0tqd8EssqT3qpyDsAEo0d0xTwFyyECpSoBCPWyA@mail.gmail.com>
In-Reply-To: <roktzbaiz4rw46duaka74rxfanosl4ioivmcxt3i4gdsemolqg@x7qils75tsls>
References:  <roktzbaiz4rw46duaka74rxfanosl4ioivmcxt3i4gdsemolqg@x7qils75tsls>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000005d3382061807779c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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=E2=80=AFPM Christos Margiolis <christos@freebs=
d.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=3D44e128fe9d92c1a544b801cb56e907a=
66ef34691
> [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727
> [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-wai=
ting-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=3De8c0d15a64fadb4a330f2da7244beca=
ac161bb70
>
>

--0000000000005d3382061807779c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello<div><br></div><div>This functionality has always bee=
n 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=C2=A0mai=
n-n269827-b07689d1f2a2 under gnome and it worked well with some basic=C2=A0=
things.</div><div>The system survives usb headphone disconnect (unlike befo=
re) and switches to another output after a few seconds (not immediately how=
ever).</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 pla=
y with it more soon.</div><div><br></div><div>I&#39;m really glad this is f=
ixed now!</div><div>Thanks to everyone involved in this!</div></div><br><di=
v class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Fri, Apr 1=
2, 2024 at 1:40=E2=80=AFPM Christos Margiolis &lt;<a href=3D"mailto:christo=
s@freebsd.org">christos@freebsd.org</a>&gt; wrote:<br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"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=3D"https://cgit.freebsd.org/src/commit/?id=3D44e128fe9d92c1a544=
b801cb56e907a66ef34691" rel=3D"noreferrer" target=3D"_blank">https://cgit.f=
reebsd.org/src/commit/?id=3D44e128fe9d92c1a544b801cb56e907a66ef34691</a><br=
>
[2] <a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727" =
rel=3D"noreferrer" target=3D"_blank">https://bugs.freebsd.org/bugzilla/show=
_bug.cgi?id=3D194727</a><br>
[3] <a href=3D"https://forums.freebsd.org/threads/not-entering-sleep-state-=
due-to-audio.82597/" rel=3D"noreferrer" target=3D"_blank">https://forums.fr=
eebsd.org/threads/not-entering-sleep-state-due-to-audio.82597/</a><br>
[4] <a href=3D"https://forums.freebsd.org/threads/forcing-off-the-computer-=
endlessly-waiting-for-sound-application-to-exit-at-sleep-suspend-time.80412=
/" rel=3D"noreferrer" target=3D"_blank">https://forums.freebsd.org/threads/=
forcing-off-the-computer-endlessly-waiting-for-sound-application-to-exit-at=
-sleep-suspend-time.80412/</a><br>
[5] <a href=3D"https://www.davidschlachter.com/misc/freebsd-usb-audio" rel=
=3D"noreferrer" target=3D"_blank">https://www.davidschlachter.com/misc/free=
bsd-usb-audio</a><br>
[6] <a href=3D"https://randomnixfix.wordpress.com/2021/10/23/why-the-freebs=
d-desktop-and-my-linux-rant/" rel=3D"noreferrer" target=3D"_blank">https://=
randomnixfix.wordpress.com/2021/10/23/why-the-freebsd-desktop-and-my-linux-=
rant/</a><br>
[7] <a href=3D"https://cgit.freebsd.org/src/commit/?id=3De8c0d15a64fadb4a33=
0f2da7244becaac161bb70" rel=3D"noreferrer" target=3D"_blank">https://cgit.f=
reebsd.org/src/commit/?id=3De8c0d15a64fadb4a330f2da7244becaac161bb70</a><br=
>
<br>
</blockquote></div>

--0000000000005d3382061807779c--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAoTqfuZUki0tqd8EssqT3qpyDsAEo0d0xTwFyyECpSoBCPWyA>