[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 07:59:55 UTC

--- Comment #69 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Hans Petter Selasky from comment #63)

> And then pulseaudio will keep on using a dead mixer device forever?

My understanding is that file descriptors of dead devices remain alive while
applications have them open. If kernel would kill such file descriptors and
fail any attempts to reopen devices again (if devices are still present) -
pulseaudio won't be able to use a dead mixer forever. In case it would keep
trying to reopen a failed device in a loop - this is a bug in pulseaudio.

But currently pulseaudio just waits on dead device descriptors because they
appear alive to it.

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