From owner-freebsd-usb@FreeBSD.ORG Sun Jul 6 03:44:19 2014 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2577E118 for ; Sun, 6 Jul 2014 03:44:19 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D92F02B4F for ; Sun, 6 Jul 2014 03:44:18 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id AE1131FE02D; Sun, 6 Jul 2014 05:44:16 +0200 (CEST) Message-ID: <53B8C61C.9060103@selasky.org> Date: Sun, 06 Jul 2014 05:44:28 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Tur-Wei Chan , freebsd-usb@FreeBSD.org Subject: Re: Zotac ID91 USB3 devices attach as USB2 (Solved) References: <53B025AF.3010602@singnet.com.sg> <53B046A0.4010102@selasky.org> <53B18D8C.3080401@singnet.com.sg> <53B843EB.3000904@singnet.com.sg> <53B8C153.3040603@selasky.org> In-Reply-To: <53B8C153.3040603@selasky.org> Content-Type: multipart/mixed; boundary="------------080107070004050504070504" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 03:44:19 -0000 This is a multi-part message in MIME format. --------------080107070004050504070504 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Can you try the attached patch and remove the xhci port routing setting from /boot/loader.conf ? --HPS --------------080107070004050504070504 Content-Type: text/x-patch; name="xhci_lynx_point.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xhci_lynx_point.diff" === ./xhci_pci.c ================================================================== --- ./xhci_pci.c (revision 268289) +++ ./xhci_pci.c (local) @@ -157,6 +157,9 @@ temp |= set; temp &= ~clear; + /* Don't set bits which the hardware doesn't support */ + temp &= pci_read_config(self, PCI_XHCI_INTEL_USB3PRM, 4); + pci_write_config(self, PCI_XHCI_INTEL_USB3_PSSEN, temp, 4); pci_write_config(self, PCI_XHCI_INTEL_XUSB2PR, temp, 4); === ./xhcireg.h ================================================================== --- ./xhcireg.h (revision 268289) +++ ./xhcireg.h (local) @@ -35,7 +35,9 @@ #define PCI_XHCI_FLADJ 0x61 /* RW frame length adjust */ #define PCI_XHCI_INTEL_XUSB2PR 0xD0 /* Intel USB2 Port Routing */ +#define PCI_XHCI_INTEL_USB2PRM 0xD4 /* Intel USB2 Port Routing Mask */ #define PCI_XHCI_INTEL_USB3_PSSEN 0xD8 /* Intel USB3 Port SuperSpeed Enable */ +#define PCI_XHCI_INTEL_USB3PRM 0xDC /* Intel USB3 Port Routing Mask */ /* XHCI capability registers */ #define XHCI_CAPLENGTH 0x00 /* RO capability */ --------------080107070004050504070504--