[Bug 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 25 May 2022 22:22:37 UTC

--- Comment #77 from deciusmagnus@gmail.com ---
(In reply to Hans Petter Selasky from comment #76)
I would agree to not leaking is important and I also agree PulseAudio has an
issues, but so does the kernel.

The only thing to be negatively impacted in this situation, is the misbehaving
application. I don't really care how that is dealt with, but when I unplug a
USB device from a port, I would expect that port to be available for other
devices; this has been my experience with other operating systems.

I understand proper communication between an application and kernel is vital,
but the kernel is the one in power here and I trust it, more so than an
application, to manage certain resources. I would say that a misbehaving
application being able to keep a USB port from being used is a problem of
resource management on the kernel's part. Either automatically kill the
application or do what a kernel can do to make sure an application can't let
this happen; a misbehaving application is already not handling an exceptional
situation and the kernel can automatically do what it needs as far as I'm

You are receiving this mail because:
You are on the CC list for the bug.