From owner-freebsd-usb@freebsd.org Sun Aug 21 03:21:03 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1E546BC0857 for ; Sun, 21 Aug 2016 03:21:03 +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 mx1.freebsd.org (Postfix) with ESMTPS id 0DF7815C7 for ; Sun, 21 Aug 2016 03:21:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7L3L2kZ081698 for ; Sun, 21 Aug 2016 03:21:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 03:21:03 +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 Some People X-Bugzilla-Who: nwhitehorn@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 attachments.created 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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 03:21:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 Bug ID: 212021 Summary: xhci(4) broken on big-endian systems Product: Base System Version: CURRENT Hardware: ppc OS: Any Status: New Severity: Affects Some People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: nwhitehorn@FreeBSD.org Created attachment 173901 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173901&action= =3Dedit Log from ppc64 QEMU with an xhci controller. usb_debug and xhcidebug have b= een set to 10 and QEMU's usb tracing has also been enabled. xhci(4) times out after interrupts turn on while probing the USB bus on big-endian hardware, notably newer POWER8 servers that come with USB3. The problem is reproducible on qemu-system-ppc64 with an emulated xhci devi= ce for debugging without access to the hardware. I've attached a boot log with= all the USB debugging in FreeBSD and QEMU turned on. Nothing was immediately obvious as the source of the problem but I'm not that familiar with USB. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 04:56:49 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E46E7BB995A for ; Sun, 21 Aug 2016 04:56:49 +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 mx1.freebsd.org (Postfix) with ESMTPS id C730A1BE9 for ; Sun, 21 Aug 2016 04:56:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7L4unCv059517 for ; Sun, 21 Aug 2016 04:56:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 208791] USB audio playback issue Date: Sun, 21 Aug 2016 04:56:50 +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: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: alex@inferiorhumanorgans.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 04:56:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208791 --- Comment #4 from alex@inferiorhumanorgans.com --- I believe I purchased mine from Amazon, although the version I have (1.2, I= IRC) has since been discontinued. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 08:45:51 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA10BBC0A92 for ; Sun, 21 Aug 2016 08:45:51 +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 mx1.freebsd.org (Postfix) with ESMTPS id ACA62189F for ; Sun, 21 Aug 2016 08:45:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7L8jpwH059432 for ; Sun, 21 Aug 2016 08:45:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 08:45:51 +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 Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 08:45:51 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Hi, The FreeBSD XHCI driver only supports little endian PCI interface / register set and DMA descriptors. There are no wrappers or flags to support big-endian XHCI yet like with the EHCI driver. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 15:24:23 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83DC6BC0711 for ; Sun, 21 Aug 2016 15:24:23 +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 mx1.freebsd.org (Postfix) with ESMTPS id 73D5B1EEE for ; Sun, 21 Aug 2016 15:24:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LFON3I084769 for ; Sun, 21 Aug 2016 15:24:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 15:24:23 +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 Some People X-Bugzilla-Who: nwhitehorn@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 15:24:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #2 from Nathan Whitehorn --- (In reply to Hans Petter Selasky from comment #1) You misunderstand, I think. This is a bog-standard PCI-E XHCI card with little-endian registers. The driver just doesn't work when the CPU is big-endian (or, at least, it doesn't work on ppc64 -- I'm assuming the prob= lem is an endianness one). --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 17:57:32 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6EAD5BC10B7 for ; Sun, 21 Aug 2016 17:57:32 +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 mx1.freebsd.org (Postfix) with ESMTPS id 5131C19CE for ; Sun, 21 Aug 2016 17:57:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LHvWk8063573 for ; Sun, 21 Aug 2016 17:57:32 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 17:57:32 +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 Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 17:57:32 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #3 from Hans Petter Selasky --- Got it. OK, Look at this error: xhci: output context at 831a000 xhci: invalid input context control 00000000 00000003 13236@1471749323.871077:usb_xhci_queue_event v 0, idx 8, ER_COMMAND_COMPLET= E, CC_TRB_ERROR, p 000000000499fdf0, s 05000000, c 0x01008401 13236@1471749323.871080:usb_xhci_irq_intx level 1 And this piece of code which I simply Googled: hcd-xhci.c: cpu_physical_memory_read(ictx, (uint8_t *) ictl_ctx, sizeof(ictl_ctx)); if (ictl_ctx[0] !=3D 0x0 || ictl_ctx[1] !=3D 0x3) { fprintf(stderr, "xhci: invalid input context control %08x %08x\n", ictl_ctx[0], ictl_ctx[1]); return CC_TRB_ERROR; } It looks like the ictl_ctx[1] read should have a le32_to_cpu() wrapper arou= nd it. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 18:14:59 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3702CBC1766 for ; Sun, 21 Aug 2016 18:14:59 +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 mx1.freebsd.org (Postfix) with ESMTPS id 270D3167D for ; Sun, 21 Aug 2016 18:14:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LIEwN5080603 for ; Sun, 21 Aug 2016 18:14:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 18:14:59 +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 Some People X-Bugzilla-Who: nwhitehorn@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 18:14:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #4 from Nathan Whitehorn --- (In reply to Hans Petter Selasky from comment #3) That is probably true, but I think that can't be the problem in this case, = for two reasons: 1. The host CPU for my QEMU is little-endian, so that change would be a no-= op. 2. I have exactly the same problem on real hardware. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 18:28:00 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 053B3BC19F5 for ; Sun, 21 Aug 2016 18:28:00 +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 mx1.freebsd.org (Postfix) with ESMTPS id E97071B98 for ; Sun, 21 Aug 2016 18:27:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LIRxY3056381 for ; Sun, 21 Aug 2016 18:27:59 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 18:28:00 +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 Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 18:28:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #5 from Hans Petter Selasky --- The qemu prints the values x=3D0 and y=3D3 in hex. And the check is (x !=3D= 0 || y !=3D 3) which I find very odd. I'll check if we are writing a 32-bit field with 64-bit ops. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 18:43:30 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9897BC1E47 for ; Sun, 21 Aug 2016 18:43:30 +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 mx1.freebsd.org (Postfix) with ESMTPS id D97A8163D for ; Sun, 21 Aug 2016 18:43:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LIhUwY090218 for ; Sun, 21 Aug 2016 18:43:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 18:43:31 +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 Some People X-Bugzilla-Who: nwhitehorn@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 18:43:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #6 from Nathan Whitehorn --- (In reply to Hans Petter Selasky from comment #5) The QEMU code that is printing the error is this in xhci_configure_slot(): if ((ictl_ctx[0] & 0x3) !=3D 0x0 || (ictl_ctx[1] & 0x3) !=3D 0x1) { DPRINTF("xhci: invalid input context control %08x %08x\n", ictl_ctx[0], ictl_ctx[1]); return CC_TRB_ERROR; } Unfortunately, they have several identical error messages from different places. Does QEMU's emulated xhci work with the amd64 target? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 18:53:43 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37E95BC003D for ; Sun, 21 Aug 2016 18:53:43 +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 mx1.freebsd.org (Postfix) with ESMTPS id 27BA31A70 for ; Sun, 21 Aug 2016 18:53:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LIrgx8015221 for ; Sun, 21 Aug 2016 18:53:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken on big-endian systems Date: Sun, 21 Aug 2016 18:53:43 +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 Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 18:53:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #7 from Hans Petter Selasky --- Created attachment 173916 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173916&action= =3Dedit Fix XHCI compatibility with QEMU Hi, Can you test the attached patch. Looks like a XHCI compatibility issue. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Sun Aug 21 21:30:18 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F5C9BC172E for ; Sun, 21 Aug 2016 21:30:18 +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 mx1.freebsd.org (Postfix) with ESMTPS id 5F0FC1652 for ; Sun, 21 Aug 2016 21:30:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7LLUI6k039027 for ; Sun, 21 Aug 2016 21:30:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken with qemu-devel Date: Sun, 21 Aug 2016 21:30:18 +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 Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2016 21:30:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|xhci(4) broken on |xhci(4) broken with |big-endian systems |qemu-devel --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 03:48:09 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32984BC1BD5 for ; Mon, 22 Aug 2016 03:48:09 +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 mx1.freebsd.org (Postfix) with ESMTPS id 221DB1258 for ; Mon, 22 Aug 2016 03:48:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7M3m94p081232 for ; Mon, 22 Aug 2016 03:48:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken with qemu-devel Date: Mon, 22 Aug 2016 03:48:09 +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 Some People X-Bugzilla-Who: nwhitehorn@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 03:48:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #8 from Nathan Whitehorn --- (In reply to Hans Petter Selasky from comment #7) That doesn't seem to help. The ppc64 QEMU behavior seems identical. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 07:28:23 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1738BC2BBE for ; Mon, 22 Aug 2016 07:28:23 +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 mx1.freebsd.org (Postfix) with ESMTPS id E0E371C82 for ; Mon, 22 Aug 2016 07:28:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7M7SNwx037764 for ; Mon, 22 Aug 2016 07:28:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken with qemu-devel Date: Mon, 22 Aug 2016 07:28:24 +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 Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 07:28:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #9 from Hans Petter Selasky --- Hi, I looked into this yesterday and there are some missing pieces in the QEMU control endpoint handling code. FreeBSD sends the SETUP, DATA and STATUS st= age as separate events, while QEMU expects them all at the same time. That's why the getting the device descriptor times out. This part should be fixed in Q= EMU. I might be able to provide a patch. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 10:21:58 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8D9B9BC04AF for ; Mon, 22 Aug 2016 10:21:58 +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 mx1.freebsd.org (Postfix) with ESMTPS id 7DAC31DB2 for ; Mon, 22 Aug 2016 10:21:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7MALwTR014325 for ; Mon, 22 Aug 2016 10:21:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken with qemu-devel Date: Mon, 22 Aug 2016 10:21:58 +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 Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 10:21:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #10 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Mon Aug 22 10:21:25 UTC 2016 New revision: 304597 URL: https://svnweb.freebsd.org/changeset/base/304597 Log: Fix for invalid use of bits in input context. Basically split configuring of EP0 and non-EP0 into xhci_cmd_evaluate_ctx() and xhci_cmd_configure_ep() respectivly. This resolves some errors when using XHCI under QEMU and gets is more in line with the XHCI specification. PR: 212021 MFC after: 1 week Changes: head/sys/dev/usb/controller/xhci.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 14:03:44 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 021A5BC2B8F for ; Mon, 22 Aug 2016 14:03:44 +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 mx1.freebsd.org (Postfix) with ESMTPS id E5EF71DFA for ; Mon, 22 Aug 2016 14:03:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7ME3g1c025608 for ; Mon, 22 Aug 2016 14:03:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212043] panic when detaching USB mass storage Date: Mon, 22 Aug 2016 14:03:43 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to component 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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 14:03:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212043 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- CC|freebsd-amd64@FreeBSD.org | Assignee|freebsd-bugs@FreeBSD.org |freebsd-usb@FreeBSD.org Component|kern |usb --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 14:29:58 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0FB4FBC1E27 for ; Mon, 22 Aug 2016 14:29:58 +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 mx1.freebsd.org (Postfix) with ESMTPS id F3C0D1679 for ; Mon, 22 Aug 2016 14:29:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7METvaU079593 for ; Mon, 22 Aug 2016 14:29:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212043] panic when detaching USB mass storage Date: Mon, 22 Aug 2016 14:29:58 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 14:29:58 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212043 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #1 from Hans Petter Selasky --- Hi, This is not a USB subsystem bug, but general filesystem related. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 14:33:59 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BDE4BC20FE for ; Mon, 22 Aug 2016 14:33:59 +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 mx1.freebsd.org (Postfix) with ESMTPS id 0BF441A95 for ; Mon, 22 Aug 2016 14:33:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7MEXwB3091804 for ; Mon, 22 Aug 2016 14:33:58 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212043] panic when detaching USB mass storage Date: Mon, 22 Aug 2016 14:33:59 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 14:33:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212043 Warner Losh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imp@FreeBSD.org --- Comment #2 from Warner Losh --- I suspect that we shouldn't be panicing in this case, but instead destroying the dirty buffer. The underlying device is gone, and we should have a flag = in the mount that would tell us so (I believe), and we should not panic in this case. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 19:33:13 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26B77BC2B53 for ; Mon, 22 Aug 2016 19:33:13 +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 mx1.freebsd.org (Postfix) with ESMTPS id 16E031738 for ; Mon, 22 Aug 2016 19:33:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7MJXCZf014770 for ; Mon, 22 Aug 2016 19:33:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken with qemu-devel Date: Mon, 22 Aug 2016 19:33:13 +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 Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 19:33:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 --- Comment #11 from commit-hook@freebsd.org --- A commit references this bug: Author: hselasky Date: Mon Aug 22 19:32:50 UTC 2016 New revision: 304629 URL: https://svnweb.freebsd.org/changeset/base/304629 Log: Don't separate the status stage of the XHCI USB control transfers into its own job because this breaks the simplified QEMU XHCI TRB parser, which expects the complete USB control transfer as a series of back to back TRBs. The old behaviour is kept under #ifdef in case this change breaks enumeration of any USB devices. PR: 212021 MFC after: 1 week Changes: head/sys/dev/usb/controller/xhci.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 19:36:00 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B50C0BC2BFE for ; Mon, 22 Aug 2016 19:36:00 +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 mx1.freebsd.org (Postfix) with ESMTPS id A47F118DC for ; Mon, 22 Aug 2016 19:36:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7MJa0iT018513 for ; Mon, 22 Aug 2016 19:36:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212021] xhci(4) broken with qemu-devel Date: Mon, 22 Aug 2016 19:36:00 +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 Some People X-Bugzilla-Who: hselasky@FreeBSD.org 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.isobsolete bug_status assigned_to 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-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 19:36:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212021 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #173916|0 |1 is obsolete| | Status|New |In Progress Assignee|freebsd-usb@FreeBSD.org |hselasky@FreeBSD.org --- Comment #12 from Hans Petter Selasky --- Created attachment 173956 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173956&action= =3Dedit Fix bug in QEMU XHCI emulation --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Mon Aug 22 19:48:18 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 33BF0BC2EC1 for ; Mon, 22 Aug 2016 19:48:18 +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 mx1.freebsd.org (Postfix) with ESMTPS id 238A21FCB for ; Mon, 22 Aug 2016 19:48:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7MJmHQa044111 for ; Mon, 22 Aug 2016 19:48:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 211205] USB_ERR_TIMEOUT errors after upgrade from 10.2 Date: Mon, 22 Aug 2016 19:48:18 +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: 10.3-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2016 19:48:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211205 --- Comment #3 from Hans Petter Selasky --- Hi, You might find the following two patches useful candidates for testing: https://svnweb.freebsd.org/changeset/base/304597 https://svnweb.freebsd.org/changeset/base/304629 --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Aug 23 07:29:28 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27929BC228E for ; Tue, 23 Aug 2016 07:29:28 +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 mx1.freebsd.org (Postfix) with ESMTPS id 15C7311D0 for ; Tue, 23 Aug 2016 07:29:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7N7TQGI082842 for ; Tue, 23 Aug 2016 07:29:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 212043] panic when detaching USB mass storage Date: Tue, 23 Aug 2016 07:29:26 +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: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to 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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 07:29:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212043 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trasz@FreeBSD.org Assignee|freebsd-usb@FreeBSD.org |freebsd-fs@FreeBSD.org --- Comment #3 from Andriy Gapon --- Bug #210316 seems to be related. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Wed Aug 24 13:26:57 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91171BC4F0E for ; Wed, 24 Aug 2016 13:26:57 +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 mx1.freebsd.org (Postfix) with ESMTPS id 80C341EC8 for ; Wed, 24 Aug 2016 13:26:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7ODQtnG016503 for ; Wed, 24 Aug 2016 13:26:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 211967] USB Keyboard is detected as USB mouse when USB mouse is plugged in at boot Date: Wed, 24 Aug 2016 13:26:56 +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: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also 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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 13:26:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211967 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freebsd.org/bu | |gzilla/show_bug.cgi?id=3D2= 118 | |84 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Aug 26 05:42:28 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 52AD0BC6163 for ; Fri, 26 Aug 2016 05:42:28 +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 mx1.freebsd.org (Postfix) with ESMTPS id 3FA9219EC for ; Fri, 26 Aug 2016 05:42:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7Q5gS7N095394 for ; Fri, 26 Aug 2016 05:42:28 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 211895] 11.0-RC1: Exception: AE_ERROR, Thread ... could not acquire Mutex after resume from sleep Date: Fri, 26 Aug 2016 05:42:28 +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: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: afiskon@devzen.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@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 MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 05:42:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211895 --- Comment #2 from Aleksander Alekseev --- I've found very easy way to reproduce this issue. You need a laptop with working suspend/resume and Logitech K360 keyboard. 1. Reboot the system 2. Login as root 3. Suspend: acpiconf -s 3 4. Turn off Logitech keyboard (there is a switch on it) 5a. Resume... 5b. ...quickly turn the keyboard on... 5c. ... and start typing. 6. If keyboard doesn't work and `usbconfig` hangs as described above, you reproduced an issue 7. Otherwise repeat steps 3-5 a few more times. I usually need 2-3 attempts. I didn't see "Exception: AE_ERROR ..." for a while, in fact I saw it only o= nce. Thus I think it's an unrelated problem. I'm also pretty sure that this prob= lem could exist before 11.0-RC1. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Aug 26 05:44:50 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C1C3BC61E7 for ; Fri, 26 Aug 2016 05:44:50 +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 mx1.freebsd.org (Postfix) with ESMTPS id 4B7551A64 for ; Fri, 26 Aug 2016 05:44:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7Q5ioOQ098900 for ; Fri, 26 Aug 2016 05:44:50 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 211895] Logitech K360 keyboard: `usbconfig` hangs after suspend/resume Date: Fri, 26 Aug 2016 05:44:50 +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: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: afiskon@devzen.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc 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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 05:44:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211895 Aleksander Alekseev changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|11.0-RC1: Exception: |Logitech K360 keyboard: |AE_ERROR, Thread ... could |`usbconfig` hangs after |not acquire Mutex after |suspend/resume |resume from sleep | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Aug 26 07:42:01 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25F48A939FB for ; Fri, 26 Aug 2016 07:42:01 +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 mx1.freebsd.org (Postfix) with ESMTPS id 159D31AC for ; Fri, 26 Aug 2016 07:42:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7Q7fxo0042074 for ; Fri, 26 Aug 2016 07:42:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 211895] Logitech K360 keyboard: `usbconfig` hangs after suspend/resume Date: Fri, 26 Aug 2016 07:42:00 +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: 11.0-RC1 X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hselasky@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 07:42:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211895 Hans Petter Selasky changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hselasky@FreeBSD.org --- Comment #3 from Hans Petter Selasky --- Hi, There hasn't been any USB changes between 11.0-BETA4 and 11.0-RC1, so I sus= pect the problem is somewhere else. When usbconfig hangs, you might be able to enter kgdb, and show the backtra= ce of the "USB process" threads. --HPS --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Fri Aug 26 13:38:52 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B987B702B9; Fri, 26 Aug 2016 13:38:52 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EDE7FE54; Fri, 26 Aug 2016 13:38:51 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1bdHLN-003sae-8A>; Fri, 26 Aug 2016 15:38:49 +0200 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=freyja.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (envelope-from ) id <1bdHLM-000Mpz-TV>; Fri, 26 Aug 2016 15:38:49 +0200 Date: Fri, 26 Aug 2016 15:38:42 +0200 From: "O. Hartmann" To: Ian Lepore Cc: Warner Losh , Kevin Oberman , FreeBSD CURRENT , "freebsd-usb@FreeBSD.org\" Subject: Re: Digi Watchport/T temperature sensor as /dev/ttyU Message-ID: <20160826153842.586a559b@freyja.zeit4.iv.bundesimmobilien.de> In-Reply-To: <1469387555.84197.48.camel@freebsd.org> References: <20160722183556.2fc39fd7.ohartman@zedat.fu-berlin.de> <1469206374.84197.14.camel@freebsd.org> <20160723220430.34ce02fe.ohartman@zedat.fu-berlin.de> <1469306951.84197.31.camel@freebsd.org> <20160724080330.3a27e875.ohartman@zedat.fu-berlin.de> <20160724083859.4c0dd392@ernst.home> <20160724105134.184f0b7f.ohartman@zedat.fu-berlin.de> <1469379334.84197.40.camel@freebsd.org> <1469387555.84197.48.camel@freebsd.org> Organization: FU Berlin X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 13:38:52 -0000 On Sun, 24 Jul 2016 13:12:35 -0600 Ian Lepore wrote: > On Sun, 2016-07-24 at 12:52 -0600, Warner Losh wrote: > > On Sun, Jul 24, 2016 at 12:42 PM, Kevin Oberman > > wrote: > > > There are several different USB serial drivers. Off-hand I see > > > ubser, ubsa, > > > uchcom, ucom, ucycom, uftdi, ubgensa, umcs, umct, umoscom, uplcom, > > > usb_serial, uslcom, and uvscom. Whether any of these will support > > > the TI > > > chip, I can't say. Most have man pages, but a few, as has been > > > noted, are > > > lacking one. > > > > I tried to automate discovery of these things. However, the only way > > you can really know for sure about the TI chip is to read it's > > datasheet > > and compare that with extant drivers. It's actually easier than it > > sounds. > > > > I've often thought of unification of the TTY USB drivers, since they > > are > > most (but not all) based on the standard plus extra bits. > > > > Warner > > To reiterate: we do not have a driver for TI 5052 chips. > > It's not much like other usb-serial chips. In fact it's not strictly a > usb-serial chip, it's a multifunction chip that includes a software > -controllable usb hub, 2 serial ports, gpio, an i2c bus master, an MCU > interface, a multichannel DMA controller, and apparently even has the > ability to download your own 8052-compatible microcontroller code into > the 5052 and have it take over from the built-in rom code. > > It would be reasonable enough to write a driver that initially > supported only the uart part of the chip. > > -- Ian It is me again. I opened one of those digi watchports since I read that Ti has discontinued the TI5052 chip and encourage developers to use a newer one. The print on the chip itself residing on the PCB is TUSB3410I and this refers to a Ti TUSB3410 as it is referred to by the TI 5052 page: http://www.ti.com/product/TUSB3410 I never wrote a driver my own, so starting from scratch would be inefficient, but for the long shot, it might be an idea. Thanks anyway for the efford taken to look into it. I hope we will see at least some manpage for ugensa. I'm still looking for simple sensor devices which could be attached to FreeBSD for monitoring temperature and/or humidity - as it was intended by using the digi watchport. I'm now with an experimental piece of hardware with two DALLAS DS18B20 temperature sensors. It is a USB interface PCB with an AT90USB162 microcontroler chip. Attached to a FreeBSD 12-CURRENT system, it reports itself as a UHID device. there is also a software package available - for Windows and Linux, but it doesn't work for FreeBSD, the package compiles and produces a cmdline binary, but it fails reading the sensor data - the uhid driver seems to be unloaded during the call. I have no skills in writing low-level USB software, so my explanation is slopy, sorry. But there is hope I can use this one. Kind regards, Oliver From owner-freebsd-usb@freebsd.org Fri Aug 26 13:49:25 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8F46B70779; Fri, 26 Aug 2016 13:49:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ADC6A9C8; Fri, 26 Aug 2016 13:49:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id BA61F1FE022; Fri, 26 Aug 2016 15:49:23 +0200 (CEST) Subject: Re: Digi Watchport/T temperature sensor as /dev/ttyU To: "O. Hartmann" , Ian Lepore References: <20160722183556.2fc39fd7.ohartman@zedat.fu-berlin.de> <1469206374.84197.14.camel@freebsd.org> <20160723220430.34ce02fe.ohartman@zedat.fu-berlin.de> <1469306951.84197.31.camel@freebsd.org> <20160724080330.3a27e875.ohartman@zedat.fu-berlin.de> <20160724083859.4c0dd392@ernst.home> <20160724105134.184f0b7f.ohartman@zedat.fu-berlin.de> <1469379334.84197.40.camel@freebsd.org> <1469387555.84197.48.camel@freebsd.org> <20160826153842.586a559b@freyja.zeit4.iv.bundesimmobilien.de> Cc: Warner Losh , Kevin Oberman , FreeBSD CURRENT , "\"freebsd-usb@FreeBSD.org\\\" " From: Hans Petter Selasky Message-ID: <36ca2c4c-bf9d-ed12-0b14-a2afc861c5f7@selasky.org> Date: Fri, 26 Aug 2016 15:53:55 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160826153842.586a559b@freyja.zeit4.iv.bundesimmobilien.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 13:49:26 -0000 On 08/26/16 15:38, O. Hartmann wrote: > It is a USB interface PCB with an AT90USB162 microcontroler chip. > Attached to a FreeBSD 12-CURRENT system, it reports itself as a UHID device. > there is also a software package available - for Windows and Linux, but it > doesn't work for FreeBSD, the package compiles and produces a cmdline binary, > but it fails reading the sensor data - the uhid driver seems to be unloaded > during the call. I have no skills in writing low-level USB software, so my > explanation is slopy, sorry. But there is hope I can use this one. Hi, Could you send a link to this Linux software? It should work basically! Is your libusb up-to-date? You can trace USB activity using "usbdump -i usbusX -f Y -s 65536 -vvv". Maybe some command failed. Did you try "usbhidaction" to decode the data received? --HPS From owner-freebsd-usb@freebsd.org Fri Aug 26 17:53:04 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED858A94016; Fri, 26 Aug 2016 17:53:04 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A87DEC94; Fri, 26 Aug 2016 17:53:04 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1bdLJO-000lIr-4G>; Fri, 26 Aug 2016 19:53:02 +0200 Received: from x4e340b03.dyn.telefonica.de ([78.52.11.3] helo=thor.walstatt.dynvpn.de) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (envelope-from ) id <1bdLJN-000fD8-Qm>; Fri, 26 Aug 2016 19:53:02 +0200 Date: Fri, 26 Aug 2016 19:52:56 +0200 From: "O. Hartmann" To: Hans Petter Selasky Cc: Ian Lepore , Warner Losh , Kevin Oberman , FreeBSD CURRENT , "\"freebsd-usb@FreeBSD.org\\\" " Subject: Re: Digi Watchport/T temperature sensor as /dev/ttyU Message-ID: <20160826195256.67a63dbd.ohartman@zedat.fu-berlin.de> In-Reply-To: <36ca2c4c-bf9d-ed12-0b14-a2afc861c5f7@selasky.org> References: <20160722183556.2fc39fd7.ohartman@zedat.fu-berlin.de> <1469206374.84197.14.camel@freebsd.org> <20160723220430.34ce02fe.ohartman@zedat.fu-berlin.de> <1469306951.84197.31.camel@freebsd.org> <20160724080330.3a27e875.ohartman@zedat.fu-berlin.de> <20160724083859.4c0dd392@ernst.home> <20160724105134.184f0b7f.ohartman@zedat.fu-berlin.de> <1469379334.84197.40.camel@freebsd.org> <1469387555.84197.48.camel@freebsd.org> <20160826153842.586a559b@freyja.zeit4.iv.bundesimmobilien.de> <36ca2c4c-bf9d-ed12-0b14-a2afc861c5f7@selasky.org> Organization: FU Berlin X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.29; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/rPUBVDOm7DXQbqCeJwoBe+7"; protocol="application/pgp-signature" X-Originating-IP: 78.52.11.3 X-ZEDAT-Hint: A X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Aug 2016 17:53:05 -0000 --Sig_/rPUBVDOm7DXQbqCeJwoBe+7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Fri, 26 Aug 2016 15:53:55 +0200 Hans Petter Selasky schrieb: > On 08/26/16 15:38, O. Hartmann wrote: > > It is a USB interface PCB with an AT90USB162 microcontroler chip. > > Attached to a FreeBSD 12-CURRENT system, it reports itself as a UHID de= vice. > > there is also a software package available - for Windows and Linux, but= it > > doesn't work for FreeBSD, the package compiles and produces a cmdline b= inary, > > but it fails reading the sensor data - the uhid driver seems to be unlo= aded > > during the call. I have no skills in writing low-level USB software, so= my > > explanation is slopy, sorry. But there is hope I can use this one. =20 >=20 > Hi, >=20 > Could you send a link to this Linux software? >=20 > It should work basically! >=20 > Is your libusb up-to-date? >=20 > You can trace USB activity using "usbdump -i usbusX -f Y -s 65536 -vvv". >=20 > Maybe some command failed. >=20 > Did you try "usbhidaction" to decode the data received? >=20 > --HPS >=20 >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" Hello, I would already have, but the site was offline due to maintenance cycles th= is noon. It is in German ;-) The software can be downloaded via http://www.led-genial.de/mediafiles//Sonstiges/TempSensorTester.zip Please do not misunderstand me: I just did a dirty test and it worked half = way, but never got values from the temperature sensor. Since the device is recognized by FreeBSD as a UHID device, I guess there i= s a much more convenient and standardized way to look for the device and pick up data for= , say ICINGA-2 or other measurements. The software provided works well on Linux. On FreeBS= D, running the binary as root, firt unloads the uhid kernel module. So I guess the procedu= re is Linux'ish and needs to be rewritten for proper *BSD usage. Anyway - this part is more bringing up my personal thoughts and intentions = and not so much related to the initial stuff I asked the list for - this PCB in questi= on is much to expensive for a simple temp sensor via 1-wire protocol, so I'm looking for = something much cheaper. There are offerings for very small Arduino PCBs with USB port and = I2C or 1-wire connectors for approx. 3 - 5 EUR. For a server-based USB attached DS18B20 s= ensor which could be simply interrogated by some simple C code via tty/uhid or somethin= g high level would be very nice. The digi Watchport provided this with Linux - the acces= s was done via Perl. Looking for a small and autonomous sensor station I stumbled over a lot of = useful Linux stuff realized via Raspberry Pi. There is very little for FreeBSD and I hes= itate buying a nice RaspberryPi 3 B or ODROID-C2 for that purpose. For autonomous monitori= ng of a server room we use very expensive (~300 EUR each) web based devices. It is a littl= e box with a DS18B20, I guess and fancy LEDs as well as a NIC. attached to the network, = you can configure the device and there is some rrdtool-like graphical output.=20 I think, with the fancy framework of FreeBSD it should be possible to adapt= NanoBSD with small nginx or reduced Apache to perform the stuff ... So, sorry for listening to my little-boy's dreaming Kind regards, Oliver --Sig_/rPUBVDOm7DXQbqCeJwoBe+7 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJXwIH4AAoJEOgBcD7A/5N8NcIH/1gUYKlIZY1yalDtmzNSBAF5 tgm7gDKvx5OcBRZrCgUVMOxoqyr/w8cgaDnf0yx2ow93+L4ybZLYcmf8RyGDvW1Z bvRRZGY7pd7dXcq+cQcKT5N06mm2T1F8YFrb936r2a4vmo03d/F4c6ULQNMjOBo7 ZFI53Q7VnNAA0rR7KndEC+WEjBF3RJp5Kkz6a/7lijyUCuUb/q0InLEhJOEYbWu3 QNWf+kps2xarYBgKS7+aSlIBA22MphO9OQq3QjpCsQmJmqb/6ZQFQkRBwTbHXOQZ YbaZXpr5snM3S/mljE4FOqVEON02wr7Xg4fzS9J+FaQph4LwexDsozb5JUnUqFg= =YQqT -----END PGP SIGNATURE----- --Sig_/rPUBVDOm7DXQbqCeJwoBe+7-- From owner-freebsd-usb@freebsd.org Sat Aug 27 16:41:24 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD930B775B2 for ; Sat, 27 Aug 2016 16:41:24 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F6BC6BB for ; Sat, 27 Aug 2016 16:41:24 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: by mail-lf0-x22d.google.com with SMTP id b199so75727456lfe.0 for ; Sat, 27 Aug 2016 09:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=xWPaSSHb3aSL3pCCkdNkDjRFMTi3SWgp/HJOujUd9Io=; b=w839gZj3A2WvJ3w2mhc7r3wJ1OqMKYjFnFY9oBssjvYz23Bd9xkkC1zjqxZYI/CeWt XFc37VSrj4Y5J1wKBZ3cTNX+j8xXJVdfMJK6qNiBbEiEYxGTaIv7EWmjtoAOrMkQS8VH yWkC9VbPXMeNAEovcnmpEFhgwJxE8C0GF8NypScH6YBmlSVRL7ug0UmdTS2F5Rd1Mavd 6D3XyDzvmvIdr5nhgSi5qTb6p7iY+aGeYVKKI4Zm5HF4I/9o4lN4ehGwF+lhy90LNFxe fTiaC6zBgjyD1Am9fWKkn+Za3jN8M/hSpoUhrbIWWbBJ84RQeECyGF08a7JBBOyJBCmC TE7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xWPaSSHb3aSL3pCCkdNkDjRFMTi3SWgp/HJOujUd9Io=; b=J6j8A9s8bzfmw03kow0MDi+qXTi/Bv17B3l2GEMMURxbS1RIMrkLUvQYhDrPXhTi9O qvQQOB4QjIUaryxUi8XoQXdToxnlYGZNwCLxRFBuG2zdweB87RcEnlFGbF+9Adsssiyq 5suovXzDwS6oBbnjoJR/ZEU6IviWDTGKxCW5ltfvd6XL2RzVz/MjEmBQ++j99Sk2DFB+ vVlaOI9noOno3PkJC8r97hE6LzC4XroD3rFCMwlZ0d0H4aRjO2MFeov0WP2PEqqGvYhE YWI7ZxVaIzAYRVfvh1as8mxlRpn7OemSIQooM9wPMn6RKMdfl07d/nc8rvvYkvuLnjkV 30wg== X-Gm-Message-State: AE9vXwP2EqWHi2dAhhJILp3nXqJ/RXo/nBYbQJK1y2IUz5dQH6N3occW2ReBYxHGIdZXmyjO7VSn8Ie06DE9xA== X-Received: by 10.46.32.203 with SMTP id g72mr2895831lji.30.1472316082151; Sat, 27 Aug 2016 09:41:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.30.83 with HTTP; Sat, 27 Aug 2016 09:41:21 -0700 (PDT) From: Adam Stylinski Date: Sat, 27 Aug 2016 12:41:21 -0400 Message-ID: Subject: USB 3.0 devices negotiate to spd=HIGH for all ports To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2016 16:41:25 -0000 Hello, I definitely have a USB 3.0 controller that is being recognized by XHCI: [adam@nasbox ~]$ sudo usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen5.1: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen7.1: at usbus7, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen8.1: at usbus8, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (200mA) xhci0@pci0:3:0:0: class=0x0c0330 card=0x70231849 chip=0x70231b6f rev=0x01 hdr=0x00 vendor = 'Etron Technology, Inc.' device = 'EJ168 USB 3.0 Host Controller' class = serial bus subclass = USB xhci1@pci0:4:0:0: class=0x0c0330 card=0x70231849 chip=0x70231b6f rev=0x01 hdr=0x00 vendor = 'Etron Technology, Inc.' device = 'EJ168 USB 3.0 Host Controller' class = serial bus subclass = USB However, when I connect a USB 3.0 device into a USB 3.0 port, it only gives me spd=HIGH. This is a Sandisk CZ80, but I've other devices in the past and have had the same behavior. Plugging a device in with hw.usb.xhci.debug=1 doesn't appear to print too many useful things, at least not to an end user. I won't yet paste the full output, but it looks something like this: xhci_transfer_insert: qh_pos = 2 xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_check_transfer: TD is last xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_device_generic_enter: xhci_setup_generic_chain_sub: NTRB=1 xhci_setup_generic_chain_sub: LINK=0x241ff800 xhci_setup_generic_chain: first=0xfffff800241ff980 last=0xfffff800241ff980 xhci_device_generic_start: xhci_transfer_insert: qh_pos = 2 xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_check_transfer: TD is last xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_device_generic_enter: xhci_setup_generic_chain_sub: NTRB=1 xhci_setup_generic_chain_sub: LINK=0x55fc6a300 xhci_setup_generic_chain: first=0xfffff8055fc6a480 last=0xfffff8055fc6a480 xhci_device_generic_start: xhci_transfer_insert: qh_pos = 0 xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_check_transfer: TD is last xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_device_generic_enter: xhci_setup_generic_chain_sub: NTRB=1 xhci_setup_generic_chain_sub: LINK=0x3d958d000 xhci_setup_generic_chain: first=0xfffff803d958d180 last=0xfffff803d958d180 xhci_device_generic_start: xhci_transfer_insert: qh_pos = 1 xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_check_transfer: TD is last xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_device_generic_enter: xhci_setup_generic_chain_sub: NTRB=1 xhci_setup_generic_chain_sub: LINK=0x7d676f000 xhci_setup_generic_chain: first=0xfffff807d676f180 last=0xfffff807d676f180 xhci_device_generic_start: xhci_transfer_insert: qh_pos = 0 xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 xhci_check_transfer: TD is last xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 xhci_check_transfer: stream_id=0 What can I do to end this frustrating issue of USB 2.0 only-ness? From owner-freebsd-usb@freebsd.org Sat Aug 27 17:39:26 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 61F29B777F9 for ; Sat, 27 Aug 2016 17:39:26 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1BF8C5A for ; Sat, 27 Aug 2016 17:39:25 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C9E881FE022; Sat, 27 Aug 2016 19:39:16 +0200 (CEST) Subject: Re: USB 3.0 devices negotiate to spd=HIGH for all ports To: Adam Stylinski , freebsd-usb@freebsd.org References: From: Hans Petter Selasky Message-ID: <2a28aa4b-3256-b091-9a6e-c2a29f993d6c@selasky.org> Date: Sat, 27 Aug 2016 19:43:50 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2016 17:39:26 -0000 On 08/27/16 18:41, Adam Stylinski wrote: > Hello, > > I definitely have a USB 3.0 controller that is being recognized by XHCI: > > [adam@nasbox ~]$ sudo usbconfig > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=SAVE (0mA) > ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER > (5.0Gbps) pwr=SAVE (0mA) > ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen5.1: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > ugen7.1: at usbus7, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) > pwr=SAVE (0mA) > ugen8.1: at usbus8, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=SAVE (0mA) > ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) > pwr=ON (200mA) > > > xhci0@pci0:3:0:0: class=0x0c0330 card=0x70231849 chip=0x70231b6f rev=0x01 > hdr=0x00 > vendor = 'Etron Technology, Inc.' > device = 'EJ168 USB 3.0 Host Controller' > class = serial bus > subclass = USB > xhci1@pci0:4:0:0: class=0x0c0330 card=0x70231849 chip=0x70231b6f rev=0x01 > hdr=0x00 > vendor = 'Etron Technology, Inc.' > device = 'EJ168 USB 3.0 Host Controller' > class = serial bus > subclass = USB > > However, when I connect a USB 3.0 device into a USB 3.0 port, it only gives > me spd=HIGH. This is a Sandisk CZ80, but I've other devices in the past > and have had the same behavior. Plugging a device in with > hw.usb.xhci.debug=1 doesn't appear to print too many useful things, at > least not to an end user. I won't yet paste the full output, but it looks > something like this: > > xhci_transfer_insert: qh_pos = 2 > xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_check_transfer: TD is last > xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_device_generic_enter: > xhci_setup_generic_chain_sub: NTRB=1 > xhci_setup_generic_chain_sub: LINK=0x241ff800 > xhci_setup_generic_chain: first=0xfffff800241ff980 last=0xfffff800241ff980 > xhci_device_generic_start: > xhci_transfer_insert: qh_pos = 2 > xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_check_transfer: TD is last > xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_device_generic_enter: > xhci_setup_generic_chain_sub: NTRB=1 > xhci_setup_generic_chain_sub: LINK=0x55fc6a300 > xhci_setup_generic_chain: first=0xfffff8055fc6a480 last=0xfffff8055fc6a480 > xhci_device_generic_start: > xhci_transfer_insert: qh_pos = 0 > xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_check_transfer: TD is last > xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_device_generic_enter: > xhci_setup_generic_chain_sub: NTRB=1 > xhci_setup_generic_chain_sub: LINK=0x3d958d000 > xhci_setup_generic_chain: first=0xfffff803d958d180 last=0xfffff803d958d180 > xhci_device_generic_start: > xhci_transfer_insert: qh_pos = 1 > xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_check_transfer: TD is last > xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_device_generic_enter: > xhci_setup_generic_chain_sub: NTRB=1 > xhci_setup_generic_chain_sub: LINK=0x7d676f000 > xhci_setup_generic_chain: first=0xfffff807d676f180 last=0xfffff807d676f180 > xhci_device_generic_start: > xhci_transfer_insert: qh_pos = 0 > xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > xhci_check_transfer: TD is last > xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 > xhci_check_transfer: stream_id=0 > > What can I do to end this frustrating issue of USB 2.0 only-ness? Try to google the PCI IDs of your device and see if Linux has any quirks for your card. Sometimes these cards need special register writes to enable USB 3.0. --HPS From owner-freebsd-usb@freebsd.org Sat Aug 27 18:05:05 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 48FA5B77082 for ; Sat, 27 Aug 2016 18:05:05 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABCC0ACF for ; Sat, 27 Aug 2016 18:05:04 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id l89so76406800lfi.1 for ; Sat, 27 Aug 2016 11:05:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=zLVPHc8KTeevulfYwrasGqdULPpIHQF/T07yCZ61Afw=; b=l+TaZm8XN2WIayrEPJHSqoLXg0/pQQP/tbKKv1XHGmdq5gwCMYrk3otWi+PJrfjF/i z1zGU7rniT6G5CwzbUgalZYtmVMI7UdfVPcuz9sB+XGP6Ct5ujLMGnbvA0As9QAjM/X7 PPkDIi3Gzj8fsZypCP6FNQJoMxhffxbaM6kMJTi6Xtp+4zk8gRbpOxKFza15L3UWH4Fe HeAUvfODxPwg91zuB5+KcYZLzT9m1eiLvonAgH56l9zYgY22pMH22wMALi3SClc+dBjg bPlFBwQetoQpLpFStb6/+iPYnyrSkj2SwL7xxo5qgQN6c7iXvKJ3RtKx0xYJnIsiTwY3 2WSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=zLVPHc8KTeevulfYwrasGqdULPpIHQF/T07yCZ61Afw=; b=MmtDWyAaHsYmK3dwBP/pwB6tmGj04Wb6gGRpn4QZCWFMAwcFqPlJpSUWMXtECVQEBL Sr+ZJavxwbmb2nICyeb+9sMDevQbdgDf4/MgMa2rkkmb2vS6uZYQV5Dk/MD33SfSHVSM plBuSWBVrtlJKEITPxrDUnTsJS1MraBF3V5yK23F5grjpjKuik2mJhU8HaDdqNp6B/Op 5GRbYk51cUmT1KZZvaah1YQQrzzsnwQmAqTGKdUll9Zsuo8EYFdV+VQLEv0uUfTLjOAD XD+HFgrbJNT7/PseS/5/NpY8HH/IshwvQ5cXCmbapJmCP/J6qVSd14MbpGZ3Fx4xocoG rr6A== X-Gm-Message-State: AE9vXwOe9JTHHYoKdTCj37wbEsC0NA7UV3X0h68HHMBQeGK+4s4yWwFbeon/PuSKStEsIlGsvGpvI7LKXymTeA== X-Received: by 10.25.80.212 with SMTP id e203mr3691031lfb.115.1472321102385; Sat, 27 Aug 2016 11:05:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.30.83 with HTTP; Sat, 27 Aug 2016 11:05:01 -0700 (PDT) In-Reply-To: <2a28aa4b-3256-b091-9a6e-c2a29f993d6c@selasky.org> References: <2a28aa4b-3256-b091-9a6e-c2a29f993d6c@selasky.org> From: Adam Stylinski Date: Sat, 27 Aug 2016 14:05:01 -0400 Message-ID: Subject: Re: USB 3.0 devices negotiate to spd=HIGH for all ports To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2016 18:05:05 -0000 The only quirk specific code I can find in Linux's kernel for XHCI is this: http://lxr.free-electrons.com/source/drivers/usb/host/pci-quirks.c I believe I have one of the SBxxx AMD chipsets, though I can't recall which one. I don't see anything in there referring to my PCI IDs, unless I'm looking at the wrong outputs in pciconf -lv. I see one quirk in particular regarding power management but that seems to be more about stability rather than speed. I'm sure I'm missing something. On Sat, Aug 27, 2016 at 1:43 PM, Hans Petter Selasky wrote: > On 08/27/16 18:41, Adam Stylinski wrote: > >> Hello, >> >> I definitely have a USB 3.0 controller that is being recognized by XHCI: >> >> [adam@nasbox ~]$ sudo usbconfig >> ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER >> (5.0Gbps) pwr=SAVE (0mA) >> ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen1.1: at usbus1, cfg=0 md=HOST spd=SUPER >> (5.0Gbps) pwr=SAVE (0mA) >> ugen3.1: at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=SAVE (0mA) >> ugen4.1: at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen5.1: at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=SAVE (0mA) >> ugen7.1: at usbus7, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen6.1: at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) >> pwr=SAVE (0mA) >> ugen8.1: at usbus8, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=SAVE (0mA) >> ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) >> pwr=ON (200mA) >> >> >> xhci0@pci0:3:0:0: class=0x0c0330 card=0x70231849 chip=0x70231b6f rev=0x01 >> hdr=0x00 >> vendor = 'Etron Technology, Inc.' >> device = 'EJ168 USB 3.0 Host Controller' >> class = serial bus >> subclass = USB >> xhci1@pci0:4:0:0: class=0x0c0330 card=0x70231849 chip=0x70231b6f rev=0x01 >> hdr=0x00 >> vendor = 'Etron Technology, Inc.' >> device = 'EJ168 USB 3.0 Host Controller' >> class = serial bus >> subclass = USB >> >> However, when I connect a USB 3.0 device into a USB 3.0 port, it only >> gives >> me spd=HIGH. This is a Sandisk CZ80, but I've other devices in the past >> and have had the same behavior. Plugging a device in with >> hw.usb.xhci.debug=1 doesn't appear to print too many useful things, at >> least not to an end user. I won't yet paste the full output, but it looks >> something like this: >> >> xhci_transfer_insert: qh_pos = 2 >> xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_check_transfer: TD is last >> xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_device_generic_enter: >> xhci_setup_generic_chain_sub: NTRB=1 >> xhci_setup_generic_chain_sub: LINK=0x241ff800 >> xhci_setup_generic_chain: first=0xfffff800241ff980 last=0xfffff800241ff980 >> xhci_device_generic_start: >> xhci_transfer_insert: qh_pos = 2 >> xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_check_transfer: TD is last >> xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_device_generic_enter: >> xhci_setup_generic_chain_sub: NTRB=1 >> xhci_setup_generic_chain_sub: LINK=0x55fc6a300 >> xhci_setup_generic_chain: first=0xfffff8055fc6a480 last=0xfffff8055fc6a480 >> xhci_device_generic_start: >> xhci_transfer_insert: qh_pos = 0 >> xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_check_transfer: TD is last >> xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_device_generic_enter: >> xhci_setup_generic_chain_sub: NTRB=1 >> xhci_setup_generic_chain_sub: LINK=0x3d958d000 >> xhci_setup_generic_chain: first=0xfffff803d958d180 last=0xfffff803d958d180 >> xhci_device_generic_start: >> xhci_transfer_insert: qh_pos = 1 >> xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_check_transfer: TD is last >> xhci_check_transfer: slot=1 epno=3 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_device_generic_enter: >> xhci_setup_generic_chain_sub: NTRB=1 >> xhci_setup_generic_chain_sub: LINK=0x7d676f000 >> xhci_setup_generic_chain: first=0xfffff807d676f180 last=0xfffff807d676f180 >> xhci_device_generic_start: >> xhci_transfer_insert: qh_pos = 0 >> xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> xhci_check_transfer: TD is last >> xhci_check_transfer: slot=1 epno=4 stream=256 remainder=0 status=1 >> xhci_check_transfer: stream_id=0 >> >> What can I do to end this frustrating issue of USB 2.0 only-ness? >> > > Try to google the PCI IDs of your device and see if Linux has any quirks > for your card. Sometimes these cards need special register writes to enable > USB 3.0. > > --HPS > >