From owner-freebsd-usb@FreeBSD.ORG Mon Sep 3 15:53:57 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E786C106566B for ; Mon, 3 Sep 2012 15:53:56 +0000 (UTC) (envelope-from dantavious313@gmail.com) Received: from mail-yw0-f45.google.com (mail-yw0-f45.google.com [209.85.213.45]) by mx1.freebsd.org (Postfix) with ESMTP id 9B0128FC0C for ; Mon, 3 Sep 2012 15:53:56 +0000 (UTC) Received: by yhpp34 with SMTP id p34so955504yhp.18 for ; Mon, 03 Sep 2012 08:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:references:in-reply-to:cc :mime-version:content-type:content-transfer-encoding:message-id; bh=b5OWv3GeGC2oPEeJy9l9K+X6lZzciv2quZp8gn5sTZk=; b=mEfFeInUX9vrBUSkZptap8frIPpXDc+5eha30eKQ2PIAfxq/4Yf8iSeqSyRxAmadxe 9lFp2wHsDgsITXHZWXgo4GDRdjw+zJs2RCEkKdSA9kMUBs+FKrcqouDW8zTUA6xEuOf5 q3DyVRteqLka3nQKGgNRQgRgPcsrD8eB4XmjcSiEWt3suocJZziZ4xFXF3GB+LVXFUOb 0nNorOnNxdtHToNel9sLja3ynrLqbweW9RpHxFPbohcDIKXPZnGYhDh1plqq/azESJXJ jVSo1srZslzmf1GfZbCThEzM9EuKiVPhRiY/16UlNsq6fqypM+xguFsWLo0YCx/jQJmk 7hRA== Received: by 10.236.191.233 with SMTP id g69mr15234079yhn.113.1346687630660; Mon, 03 Sep 2012 08:53:50 -0700 (PDT) Received: from joker.localnet (c-71-226-137-213.hsd1.ga.comcast.net. [71.226.137.213]) by mx.google.com with ESMTPS id o25sm24847536yhm.14.2012.09.03.08.53.49 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Sep 2012 08:53:50 -0700 (PDT) From: Derrick Edwards To: freebsd-usb@freebsd.org Date: Mon, 3 Sep 2012 11:53:48 -0400 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.4; amd64; ; ) References: <201209021248.21905.dantavious313@gmail.com> <201209022117.04464.hselasky@c2i.net> In-Reply-To: <201209022117.04464.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201209031153.48984.dantavious313@gmail.com> Cc: Subject: Re: USB 3.0 Issues 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: Mon, 03 Sep 2012 15:53:57 -0000 On Sunday, September 02, 2012 03:17:04 PM Hans Petter Selasky wrote: > On Sunday 02 September 2012 18:48:16 Derrick Edwards wrote: > > When I disable USB 3.0 support in the BIOS, USB functions properly. Any > > ideas on what could be causing this? Please let me know what additional > > information you need. > > Hi, > > I'm afraid I need my hand on your device to figure this out. > > When the device init fails, it means that SET-ADDRESS fails, and without > that we are lost. > > You could try setting this variable in /boot/loader.conf > > hw.usb.xhci.xhci_port_route="0xFFFFFFFF" > hw.usb.xhci.xhci_port_route="0x0" > hw.usb.xhci.xhci_port_route="0x1" > hw.usb.xhci.xhci_port_route="0x2" > hw.usb.xhci.xhci_port_route="0x4" > hw.usb.xhci.xhci_port_route="0x8" > > And so on. > > --HPS Hans, Thanks for the reply. I added your suggestions to /boot/loader.conf and now the enabled USB 3.0 system works 90 percent of the time so far. For example in the below example the USB stick was recongized, then not, the recongized again after multiple inserts and detachs. Sep 3 08:05:45 joker kernel: ugen2.3: at usbus2 (disconnected) Sep 3 08:05:45 joker kernel: umass0: at uhub3, port 4, addr 3 (disconnected) Sep 3 08:05:45 joker kernel: (da0:umass-sim0:0:0:0): lost device - 0 outstanding, 1 refs Sep 3 08:05:45 joker kernel: (da0:umass-sim0:0:(pass3:0:umass-sim0:0:0): removing device entry Sep 3 08:05:45 joker kernel: 0:0): passdevgonecb: devfs entry is gone Sep 3 08:06:12 joker kernel: xhci_do_command: Command timeout! Sep 3 08:06:12 joker kernel: usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) Sep 3 08:06:12 joker kernel: ugen0.2: at usbus0 (disconnected) Sep 3 08:06:12 joker kernel: uhub_reattach_port: could not allocate new device Sep 3 08:06:36 joker kernel: ugen2.3: at usbus2 Sep 3 08:06:36 joker kernel: umass0: on usbus2 Sep 3 08:06:36 joker kernel: umass0: SCSI over Bulk-Only; quirks = 0x0100 Sep 3 08:06:36 joker kernel: umass0:6:0:-1: Attached to scbus6 Sep 3 08:06:36 joker kernel: da0 at umass-sim0 bus 0 scbus6 target 0 lun 0 Sep 3 08:06:36 joker kernel: da0: Removable Direct Access SCSI-4 device Sep 3 08:06:36 joker kernel: da0: 40.000MB/s transfers Sep 3 08:06:36 joker kernel: da0: 3864MB (7913472 512 byte sectors: 255H 63S/T 492C)