From nobody Sat Mar 30 20:14:39 2024 X-Original-To: usb@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 4V6T5W51Xrz5Ftcd for ; Sat, 30 Mar 2024 20:14:39 +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 4V6T5W2kp4z4jfy for ; Sat, 30 Mar 2024 20:14:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711829679; a=rsa-sha256; cv=none; b=x9FszUDVD3DsxUzC1BdapZgVtvetE10qiSGcjaz1Y2JmGjPQ9WvRAkTXuL5DAOsWNEySrf T1nXDNvOmTGOFGNlyIVOFcIKvXxixJt4i/VB3zyqs7xC5jQlKPLYkCC5Py2yOJ0pIIKfGR Xy61iNwNZWWdgHNmvEWxGcrw/rAVKuQpzNQcghjXA03iG9wEw59qRUTiSbCbyScAUm5aJ5 36SFahVayQAG40lwcklIZC23reByESueTcfdBwXsoY+PxC3/Oq81oVn02KTfdvySg7Ynpc tiZVyALJr081T7SYvHTvPtLsPxtotunzh4ZEedZM3xmCquMG02zAEU/lvSJQMg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711829679; 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; bh=Jr8KVzBRdBZGZlBNfd5g6yBJRFo+bi+DPVTVcOifWsE=; b=BDZZEpbMkZ886DaxA+t/IaNMtbb0i68Q3AzH9guAv3j+aAd4QSXX+B6RCG8OFqv0L0qlVn Ph7bbWkdzbVLCiJs71hlNrZSxiW9g6JZ7wMbGbeigj/XdYVISgyCHJKMtVOfhPKC0Atk16 QYPzSjlU60TGgV8XG5LQ/RFJhCxyVddCt7lAuD7rNjhsWI/Q7N83tQqJbfI4AWlOtTVTng Q7LAJp+72wYSrbofDc0w8RcWt33W4EhxgOJanMA1YkwkKo2oUBE9RUZ1OzjjLTXJqA9m7w yIKJ35xX20c5loJmwHww5Q0lFpKY69MmpDWHfWSox6u/GvooCDG4cQ82Mye5IA== 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 4V6T5W2LcLz17Mp for ; Sat, 30 Mar 2024 20:14:39 +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 42UKEdAh012029 for ; Sat, 30 Mar 2024 20:14:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42UKEdpA012028 for usb@FreeBSD.org; Sat, 30 Mar 2024 20:14:39 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 278055] USB devices connected to hub not accessible after audio device inactive Date: Sat, 30 Mar 2024 20:14:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fbsdbugs@sapka.me X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278055 Bug ID: 278055 Summary: USB devices connected to hub not accessible after audio device inactive Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: fbsdbugs@sapka.me Hey. I use a Thinkpad X1 Extreme G2. I have an Ugreen USB hub/switch connected. There are three devices connected to the hub: - digital audio converter (Tempotec Sonata HD) - keyboard (Bastard KB) - yubikey My audio setup after connecting hub: cat /dev/sndstat Installed devices: pcm0: (play) pcm1: (play) pcm2: (play) pcm3: (play) pcm4: (play) default No devices installed from userspace. after connecting the hub, everything works fine. I can change the audio dev= ice via sysctl hw.snd.default_unit=3D4 However, If I disconnect the hub (switch to another device), the keyboard s= tops working. The built-in one on the laptop works. In my dmesg I can see pcm4: unregister: channel pcm4:virtual:dsp4.vp1 busy (pid 96759) pcm4: Waiting for sound application to exit! pcm4: unregister: channel pcm4:virtual:dsp4.vp1 busy (pid 96759) pcm4: Waiting for sound application to exit! pcm4: unregister: channel pcm4:virtual:dsp4.vp1 busy (pid 96759) pcm4: Waiting for sound application to exit! pcm4: unregister: channel pcm4:virtual:dsp4.vp1 busy (pid 96759) pcm4: Waiting for sound application to exit! When I pkill this PID, reconnect the Hub everything starts working again. --=20 You are receiving this mail because: You are the assignee for the bug.=