From owner-freebsd-usb@FreeBSD.ORG Fri Jul 6 06:59:38 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCE19106566B for ; Fri, 6 Jul 2012 06:59:38 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.c2i.net [212.247.154.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6DFFA8FC12 for ; Fri, 6 Jul 2012 06:59:38 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe01.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 297051614; Fri, 06 Jul 2012 08:54:30 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Fri, 6 Jul 2012 08:54:30 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <4FF624EF.6080603@phat.za.net> In-Reply-To: <4FF624EF.6080603@phat.za.net> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207060854.30174.hselasky@c2i.net> Cc: Subject: Re: debugging failed USB3 device attachment X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 06:59:38 -0000 On Friday 06 July 2012 01:36:15 Aragon Gouveia wrote: > Hi, > > I have some hardware with a USB3 controller that is detected by xhci(4), > but when I try attach a USB3 device, it fails to attach to a USB3 bus, > and after timing out it connects to a USB2 bus. Here's a verbose dmesg > with xhci debugging enabled from when I plug the device in: > > http://pastebin.com/nM8nQFg3 > > I've captured xhci(4)'s verbose boot time dmesg output here: > > http://pastebin.com/EA3k7RLE > > The full verbose boot dmesg is at: > > http://pastebin.com/Y0qKiDZg > > And a regular boot dmesg is at: > > http://pastebin.com/e3tS8eS4 > > I've tried tweaking a handful of BIOS options like XHCI handoff and USB > transfer timeout thresholds, but nothing seems to help. Have already > upgraded to the latest BIOS available too. This FreeBSD 9.0-STABLE > build is about 1 week old. > > Any help greatly appreciated! > Hi, There is some magic to switch USB ports to USB 3.0 which is not in FreeBSD yet. They have it in Linux, and you might be able to port that code to BSD and try. Also, can you post output from "pciconf -lv" ? --HPS