From owner-freebsd-usb@freebsd.org Tue Jul 24 18:48:37 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EA3110533FF for ; Tue, 24 Jul 2018 18:48:37 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 22FFD7B45A for ; Tue, 24 Jul 2018 18:48:36 +0000 (UTC) (envelope-from stb@lassitu.de) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 307841A8E02; Tue, 24 Jul 2018 18:48:35 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: USB problems on PC Engines APU2C4 From: Stefan Bethke In-Reply-To: <03FBBC5B-D359-41D8-9508-B3890EDEF540@lassitu.de> Date: Tue, 24 Jul 2018 20:48:33 +0200 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <27C05F37-7D65-48E9-A7D3-26B555002081@lassitu.de> References: <43997AE2-089D-48AE-9285-9B3C6864DC9D@lassitu.de> <4d1b92dc-d675-ac9b-63d9-7239b902b73d@selasky.org> <03FBBC5B-D359-41D8-9508-B3890EDEF540@lassitu.de> To: Hans Petter Selasky X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2018 18:48:37 -0000 Am 15.07.2018 um 11:51 schrieb Stefan Bethke : >=20 >>=20 >> On 07/13/18 22:57, Stefan Bethke wrote: >>> 22:51:32.351126 usbus0.2 = DONE-BULK-EP=3D00000002,SPD=3DHIGH,NFR=3D0,SLEN=3D0,IVAL=3D0,ERR=3DTIMEOUT= >>> 22:51:32.858070 usbus0.2 = SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D8,IVAL=3D500 >>=20 >> The timeout might indicate an interrupt problem at the host = controller. >>=20 >> There are some EHCI quirks you can try: >>=20 >> hw.usb.ehci.lostintrbug: 0 >> hw.usb.ehci.iaadbug: 0 >=20 > Here=E2=80=99s the attach sequence with sysctl hw.usb.xhci.debug=3D1. I=E2=80=99ve now tried the USB2 ports (after obtaining an appropriate = cable), and both the USB stick and the Huawei modem appear to be working = as expected on the USB2 ports. The USB2 ports on the APU are not exposed in the case, and I don=E2=80=99t= really feel like trying to drill a hole into the case to try and get = the adapter cable out. The only ports available on the case are the two = USB3 ports. How could I go about debugging the XHCI driver that apparently has = trouble communicating? Is there some more debug bits I can enable? Thanks, Stefan --=20 Stefan Bethke Fon +49 151 14070811