From nobody Fri Oct 01 11:21:08 2021 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 7BC7A17E3FD2 for ; Fri, 1 Oct 2021 11:21:08 +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 4HLSNN2sF3z3nQG for ; Fri, 1 Oct 2021 11:21:08 +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 4269B1E9A2 for ; Fri, 1 Oct 2021 11:21:08 +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 191BL8ee085209 for ; Fri, 1 Oct 2021 11:21:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 191BL8b6085207 for usb@FreeBSD.org; Fri, 1 Oct 2021 11:21:08 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 258839] ure(4) needs a detach/reattch to work on SUPER Date: Fri, 01 Oct 2021 11:21:08 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258839 Bug ID: 258839 Summary: ure(4) needs a detach/reattch to work on SUPER Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: bz@FreeBSD.org Hi, I had this USB dongle for a long time on a single direct XHCI root port and= it came up with 480 speed and worked without issues (the HIGH speed only is another issue on that port). For debugging other things I moved it to a USB3 HUB port attached to a 2nd = (but same dwc3 xhci root) port and ther eit comes up as SUPER speed but after ve= ry little use it has a hiccup. When running ifconfig then it slightly hangs and then reports a media statu= s of 100 half (the addresses are printed so I assume that query takes time). It will no longer pass packets at that point. Doing an ue0 down up will (a) cause the driver to detach and re-attach, and= (b) after it comes back up again it seems to work flawlessly. I have yet to take usb traces but in case it sounds familar to anyone.. I cannot rule out that it is something specific to the roots/hub currently but I wanted to document the status quo before I start messing around more. ugen1.5: at usbus1, cfg=3D0 md=3DHOST spd=3DS= UPER (5.0Gbps) pwr=3DON (72mA) bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0300=20 bDeviceClass =3D 0x0000 bDeviceSubClass =3D 0x0000=20 bDeviceProtocol =3D 0x0000=20 bMaxPacketSize0 =3D 0x0009=20 idVendor =3D 0x0bda=20 idProduct =3D 0x8153=20 bcdDevice =3D 0x3000=20 iManufacturer =3D 0x0001 iProduct =3D 0x0002 iSerialNumber =3D 0x0006 <000001> bNumConfigurations =3D 0x0002 --=20 You are receiving this mail because: You are the assignee for the bug.=