From nobody Wed May 25 15:11:09 2022 X-Original-To: gnome@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2DA9F1B3CF65 for ; Wed, 25 May 2022 15:11:12 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L7ZJw0309z4ThL for ; Wed, 25 May 2022 15:11:12 +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 D72A51BA82 for ; Wed, 25 May 2022 15:11:11 +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 24PFBBHk069011 for ; Wed, 25 May 2022 15:11:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24PFBB4x069010 for gnome@FreeBSD.org; Wed, 25 May 2022 15:11:11 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: Wed, 25 May 2022 15:11:09 +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: rozhuk.im@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: 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 List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653491472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=csU1d3DvQJAh5sISD2cee7S0J4hgTiO9w4XcVHTHdAs=; b=RLUxDcOglu/ptqYGs4xDt1Er9N3YZgm4F0b2RkWXeeBPfDfiq0dX9hfFJwhDcaPQYyDD7S 1xLZZegOX4GqcSqhticL+bURnQKVmxVvHW2ZiczljyazBPMK2ZutzqWhlLu42aD3ZaLShD 9nOcvbLpNnkooNu/jQZAWlygZs2Ew7lCXYx6cICvrRjSj+jsm2y1XP+ULYgG7UPhkI6kZ+ vmA9CQAhrWgHyXSRcX2A/68EnT+1iXrp4V+JABkltbka88DK6j2lyDHA+zmYworByut3rV WfNoXvIGV7EGggrQvSj3e/oVMYL7+JY9zeFXzbzqLFkaLHfZfPe2UmE5dO6IsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653491472; a=rsa-sha256; cv=none; b=L1N9L1nwBVJ/fWOkcR1LX8vGMntmrsvHl+ZBLv3YcQP5mV07rCkgy5bwmZ3JABB2Oe7tKu QCk5J1fDf+LE61uHF369vyWRFCht0ht3On19lOlSRrodARIxfA5s162GYI4RkJzlDZLm5/ zBYcPSqxKbxC5kvJdHlOAbH9kbj8fII6bEL3U99X8yYiWwUW4fY0v1a28Z4FBMkWiHgW8Y kkeXmJx9BkmrzgU0xnC4qhbindEhOre/SpIC0DRsypeeKW8vFOI9b46zZLiFnO0HE00ngb lg4Ee4Zl32Xbm0Q3I7lBQLqzSLojislTE1FbbfoY+ePD4z3zee2l40JJHSZBTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727 --- Comment #74 from Ivan Rozhuk --- (In reply to Hans Petter Selasky from comment #71) > I'm saying again, the problem is not the kernel, but in user-space. The k= ernel cannot kill file descriptors like you think, no matter what. It's alw= ays the applications responsibility to clean up that as long as it is runni= ng, but the kernel can probably kill misbehaving applications after a while. Idea is to leave descriptor associated data in kernel (until app close it) = but do not block USB stack detaching/attaching operations. I done this for mixer but dsp code is too complex for me for do same patch. Again: I do not care apps, issue in USB stack detaching/attaching operation= s. I have USB hub with mouse, keyboard and usb sound stick. Some times it lost= USB link and I can not close apps because my mouse and keyboard does not reatta= ch, they wait for USB detaching USB sound stick. This is very annoying. --=20 You are receiving this mail because: You are on the CC list for the bug.=