Date: Tue, 24 Jul 2018 23:00:49 +0200 From: Stefan Bethke <stb@lassitu.de> To: Mike Tancsa <mike@sentex.net> Cc: freebsd-usb@freebsd.org Subject: Re: USB problems on PC Engines APU2C4 Message-ID: <819CF258-CD67-4E8B-9267-AC47A70EDCB0@lassitu.de> In-Reply-To: <6a8453c5-fac7-31dc-c899-23a391c0230d@sentex.net> References: <CF83933C-DECF-4B93-A4F3-3B4C5271F6BB@lassitu.de> <43997AE2-089D-48AE-9285-9B3C6864DC9D@lassitu.de> <4d1b92dc-d675-ac9b-63d9-7239b902b73d@selasky.org> <03FBBC5B-D359-41D8-9508-B3890EDEF540@lassitu.de> <27C05F37-7D65-48E9-A7D3-26B555002081@lassitu.de> <6a8453c5-fac7-31dc-c899-23a391c0230d@sentex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> Am 24.07.2018 um 21:13 schrieb Mike Tancsa <mike@sentex.net>: >=20 > On 7/24/2018 2:48 PM, Stefan Bethke wrote: >> The USB2 ports on the APU are not exposed in the case, and I don=E2=80=99= t 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. >>=20 >> How could I go about debugging the XHCI driver that apparently has = trouble communicating? Is there some more debug bits I can enable? >=20 >=20 > Not sure about debugging the xhci driver, but if you compile out the > xhci driver from your kernel, and then after the APU2 has booted load = it > (or leave it unloaded) does the USB device behave as expected on its > normal external ports ? I had to do this on an older version of the > board to work around some timing issues. Thank you for that suggestion! I=E2=80=99ve compiled and installed = MINIMAL, and am loading xhci.ko through rc.conf. The first reboot was = successful, but since then I=E2=80=99ve had one problematic one out of = five more. The one problematic one looked like it only affected the = Huawei modem, though, so it might be something specific to that device. The Kingston thumb drive appears to be probed quickly, and I can = transfer ~24 MB/s with dd, which seems reasonable for a budget USB2 = stick. I=E2=80=99ll see how stable this is over the next couple of days; = hopefully this workaround will allow me to put the box into production. If Hans-Petter or anyone else would like me to dig into xhci further, = I=E2=80=99m happy to do that, but I will need some pointers. I could = compile the module with USB_DEBUG and post the output, if that would be = helpful, for example. Stefan --=20 Stefan Bethke <stb@lassitu.de> Fon +49 151 14070811
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?819CF258-CD67-4E8B-9267-AC47A70EDCB0>