From owner-freebsd-usb@FreeBSD.ORG Sun Jul 15 18:28:54 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 C82931065670 for ; Sun, 15 Jul 2012 18:28:54 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6EA8FC15 for ; Sun, 15 Jul 2012 18:28:54 +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 mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 297436994; Sun, 15 Jul 2012 20:23:45 +0200 From: Hans Petter Selasky To: Aragon Gouveia Date: Sun, 15 Jul 2012 20:24:01 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <4FF624EF.6080603@phat.za.net> <201207060854.30174.hselasky@c2i.net> <4FF8C48F.8000409@phat.za.net> In-Reply-To: <4FF8C48F.8000409@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: <201207152024.01762.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org 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: Sun, 15 Jul 2012 18:28:54 -0000 On Sunday 08 July 2012 01:21:51 Aragon Gouveia wrote: > Hi Hans, > > On 07/06/12 08:54, Hans Petter Selasky wrote: > > 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. > > I know some C, but very little on USB architecture. I'm curious enough > to try, but a bit more direction would be helpful if you can spare some. :) > > > Also, can you post output from "pciconf -lv" ? > > Sure, and pardon my delay: > > http://pastebin.com/Gxgv7W2F > > BTW, is this behaviour BIOS related? I recently setup another machine > that had Intel's Z77 USB3 controller, and I don't remember having these > issues when attaching the same USB3 device... > Hi, XHCI is very new, and there might be hardware differences out there. BTW: The USB 3.0 switching found in Linux is for Pantherpoint only: See /drivers/usb/host/pci-quirks.c in a recent Linux source code tree: bool usb_is_intel_switchable_xhci(struct pci_dev *pdev) { return pdev->class == PCI_CLASS_SERIAL_USB_XHCI && pdev->vendor == PCI_VENDOR_ID_INTEL && pdev->device == PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI; } EXPORT_SYMBOL_GPL(usb_is_intel_switchable_xhci); --HPS