[Bug 239730] System fails to remove the audio device because some app keeps it opened, kernel enters the endless cycle: unregister: mixer busy Waiting for sound application to exit!

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 9 07:53:04 UTC 2019


--- Comment #4 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
The next problem you will face is that the mixer application will just stop
working because it never closes the old mixer device :-(

At some point you'll need to fix these. From what I know there are only a few
of them around in ports, we have the source code and can submit a patch.

Another approach may be to implement a fixed mixer node using libcuse for
example. Right now /dev/mixer is just pointed around to whatever
hw.snd.default_unit is like. We can disable /dev/mixer in the kernel by a
sysctl similar to (hw.snd.basename_clone) we can make a (hw.snd.mixer_clone),
which the wrapper app sets to zero.

Is this something you can do?


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-usb mailing list