[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 15:11:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727

--- Comment #74 from Ivan Rozhuk <rozhuk.im@gmail.com> ---
(In reply to Hans Petter Selasky from comment #71)

> I'm saying again, the problem is not the kernel, but in user-space. The kernel cannot kill file descriptors like you think, no matter what. It's always the applications responsibility to clean up that as long as it is running, but the kernel can probably kill misbehaving applications after a while.


Idea is to leave descriptor associated data in kernel (until app close it) but
do not block USB stack detaching/attaching operations.
I done this for mixer but dsp code is too complex for me for do same patch.

Again: I do not care apps, issue in USB stack detaching/attaching operations.
I have USB hub with mouse, keyboard and usb sound stick. Some times it lost USB
link and I can not close apps because my mouse and keyboard does not reattach,
they wait for USB detaching USB sound stick.
This is very annoying.

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