From owner-freebsd-usb@freebsd.org Thu Apr 25 17:57:18 2019 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B553C159DC51 for ; Thu, 25 Apr 2019 17:57:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 360309109B for ; Thu, 25 Apr 2019 17:57:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id EAC7F159DC50; Thu, 25 Apr 2019 17:57:17 +0000 (UTC) Delivered-To: usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6A88159DC4F for ; Thu, 25 Apr 2019 17:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 62D1B9109A for ; Thu, 25 Apr 2019 17:57:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 561B496D6 for ; Thu, 25 Apr 2019 17:57:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x3PHvGXE054813 for ; Thu, 25 Apr 2019 17:57:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x3PHvGrX054812 for usb@FreeBSD.org; Thu, 25 Apr 2019 17:57:16 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: usb@FreeBSD.org Subject: [Bug 194727] uaudio device gets disconnected, and hangs usb until everything using /dev/mixer* is closed Date: Thu, 25 Apr 2019 17:57:14 +0000 X-Bugzilla-Reason: AssignedTo 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: matthias@smormegpa.no X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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-usb@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2019 17:57:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194727 Matthias Oestreicher changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthias@smormegpa.no --- Comment #16 from Matthias Oestreicher --- I've had the same issue since FreeBSD 11.2-RELEASE with if_uaudio.ko and audio/cmus. Audio device is a 9 year old HRT MusicStreamer II+. When I was on FreeBSD 11.2, the system would suspend, but USB hung up when resumed. In FreeBSD 12.0-RELEASE, the stalled usb drivers will stall before suspendi= ng has finished. I tried to disconnecting the audio device when USB stalls, but that doesn't help Only solution is to ssh into the machine and kill cmus (no -9 needed) and u= sb keyboard and mouse, etc will come back to life and suspend/resume will fini= sh. /dev/ttyv0 is flooded with "Waiting for mixer..." and "Waiting for sound application to exit"=20 This is on USB 2.0 native on Intel Broadwell CPU. I already posted that on the forums in november 2018: https://forums.freebsd.org/threads/weird-xhci-crash-freeze-after-resume-fro= m-suspend.68277/ I wonder if this is specific to a Intel processor/chipset generation, as al= most every new generation of Intel processors/chipsets comes with a new set of b= ugs. Though that's just a guess. I have another computer with a different audio device using if_uaudio.ko, a Asus Impressario BluRayDrive with Xonar audio. This one works fine with suspend/resume on FreeBSD 12.0-RELEASE. I'll move the audio-devices around and post back, maybe that'll give a hint what's the cause. -Matthias --=20 You are receiving this mail because: You are the assignee for the bug.=