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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 11 08:25:07 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194727

--- Comment #23 from commit-hook at freebsd.org ---
A commit references this bug:

Author: hselasky
Date: Wed Mar 11 08:24:51 UTC 2020
New revision: 358877
URL: https://svnweb.freebsd.org/changeset/base/358877

Log:
  MFC r358629:
  Implement a detaching flag for the sound(4) subsystem to take
  appropriate actions when we are trying to detach an audio device,
  but cannot because someone is using it.

  This avoids applications having to wait for the DSP read data
  timeout before they receive any error indication.
  Tested with virtual_oss(8).

  Remove some unused definitions while at it.

  PR:           194727
  Sponsored by: Mellanox Technologies

Changes:
_U  stable/12/
  stable/12/sys/dev/sound/pcm/dsp.c
  stable/12/sys/dev/sound/pcm/mixer.c
  stable/12/sys/dev/sound/pcm/sound.c
  stable/12/sys/dev/sound/pcm/sound.h

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


More information about the freebsd-usb mailing list