From owner-freebsd-gnome@freebsd.org Fri Jan 8 03:35:37 2021 Return-Path: Delivered-To: freebsd-gnome@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A117E4E4AA1 for ; Fri, 8 Jan 2021 03:35:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DBpf12Wdjz4ntr for ; Fri, 8 Jan 2021 03:35:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 54C674E4D16; Fri, 8 Jan 2021 03:35:37 +0000 (UTC) Delivered-To: gnome@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 548B94E4D15 for ; Fri, 8 Jan 2021 03:35:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DBpf11sMmz4nq7 for ; Fri, 8 Jan 2021 03:35:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 331E91C558 for ; Fri, 8 Jan 2021 03:35:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1083Zbik047524 for ; Fri, 8 Jan 2021 03:35:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1083ZbRq047523 for gnome@FreeBSD.org; Fri, 8 Jan 2021 03:35:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed Date: Fri, 08 Jan 2021 03:35:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: hselasky@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2021 03:35:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727 --- Comment #49 from Graham Perrin --- Created attachment 221375 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D221375&action= =3Dedit FreeBSD 13.0-CURRENT #75 main-c572-g82397d791 failed to suspend Might this bug benefit from a broader title?=20 In this photograph:=20 * the failure to suspend did not involve disconnection ---- See also: bug 202275 > USB SX lock hang involving sound devices =E2=80=93 and bug 220949 > When the only USB soundcard is disconnected, defunct=20 > /dev/dsp0 is left, kernel warnings, programs hang >=20 > =E2=80=A6 >=20 > =E2=80=A6 The solution is not just straight forward, due to mmap() use. S= ee also. >=20 > https://reviews.freebsd.org/D11140 >> =E2=9A=99 D11140 OSS: allow unplug soundcars without apps close devices I don't doubt the complexity but essentially =E2=80=93 wishing for improvem= ents to the FreeBSD sleep/wake story:=20 * I'd like a simple press on a button to not require forethought to audio, sound, pause, playback or USB =E2=80=93 the power button, preset to suspend. Thanks. --=20 You are receiving this mail because: You are on the CC list for the bug.=