Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2023 01:39:33 +0200
From:      Christos Margiolis <christos@freebsd.org>
To:        Baptiste Daroussin <bapt@freebsd.org>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: RFC - Work on FreeBSD's Audio Stack
Message-ID:  <lawihgnr6xhhozvq3zyatzr2xts5qgyeh233f7f6242jhf3fae@k4u2fglxt73y>
In-Reply-To: <5gncptsagv7vr6omipmttdel73uq3dx3gvjz3nsvsleqlmqdmu@denmsyow3yzj>
References:  <86ttomxg11.fsf@phe.ftfl.ca> <86y1dxpjzy.fsf@phe.ftfl.ca> <5gncptsagv7vr6omipmttdel73uq3dx3gvjz3nsvsleqlmqdmu@denmsyow3yzj>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Baptiste,

Baptiste Daroussin wrote:
> Another issue which is painful with uaudio, more and more laptops have
> uaudio devices by default instead of hda, and uaudio is not able to
> suspend/resume if something is consuming it.
> 
> This is the only hotpluggable device we have for snd card, when one is
> going to suspend, the device is being detached not suspended (because
> usb) and the decatch procedure goes through the pcm_unregister
> function which loops forever hoping the application using the device
> will die, which never happens, so suspend ends up in an infinite loop
> in the kernel.
> 
> Note the same happen if you disconnect any uaudio device while an
> application is using it.

Yeap, this is what I was mostly referring to when I wrote "Other USB
audio bugs include 1) those mentioned in the snd uaudio(4) man page". 

Christos



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lawihgnr6xhhozvq3zyatzr2xts5qgyeh233f7f6242jhf3fae>