From owner-freebsd-current@FreeBSD.ORG Mon Feb 25 14:01:30 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3191C9F2 for ; Mon, 25 Feb 2013 14:01:30 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id DFE3CE3D for ; Mon, 25 Feb 2013 14:01:29 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.6/8.14.6/NETPLEX) with ESMTP id r1PE1OMg005906; Mon, 25 Feb 2013 09:01:24 -0500 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.4.1 (mail.netplex.net [204.213.176.10]); Mon, 25 Feb 2013 09:01:24 -0500 (EST) Date: Mon, 25 Feb 2013 09:01:24 -0500 (EST) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: Hans Petter Selasky Subject: Re: USB not working In-Reply-To: <201302250938.23012.hselasky@c2i.net> Message-ID: References: <201302250938.23012.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2013 14:01:30 -0000 On Mon, 25 Feb 2013, Hans Petter Selasky wrote: > On Sunday 24 February 2013 20:31:52 Daniel Eischen wrote: >> Hey, I've got a Dell Inspiron 15R Special Edition and haven't >> had working USB since first installing FreeBSD on it. I'm >> currently at r247154. >> >> When I insert a flash drive (which works fine on my desktop >> -current system), it is not recognized. I've tried multiple >> different USB drives (external HDD, flash) that all work >> on my desktop, but aren't recognized on me Dell notebook. >> This is what is in dmesg: >> >> xhci_do_command: Command timeout! >> usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) >> ugen0.2: at usbus0 (disconnected) >> uhub_reattach_port: could not allocate new device >> >> I've got the output of a dmesg, pciconf -lv, and messages >> during insertion with: >> >> hw.usb.dev.debug=1 >> hw.usb.umass.debug=1 >> hw.usb.uhub.debug=1 >> hw.usb.ugen.debug=1 >> hw.usb.xhci.debug=1 >> >> here: >> >> http://people.freebsd.org/~deischen/usb/dmesg.txt >> http://people.freebsd.org/~deischen/usb/pciconf.txt >> http://people.freebsd.org/~deischen/usb/usb_flash_insertion.tx >> >> Any suggestions? > > Try to set: > > sysctl hw.usb.xhci.xhci_port_route=-1 > > In /boot/loader.conf > > I see you have a Pantherpoint chipset, and those have special port routing > features. Thanks, that didn't help. $ sysctl hw.usb.xhci.xhci_port_route hw.usb.xhci.xhci_port_route: 1 And from /var/log/messages with the above: Feb 25 08:56:21 rigel kernel: xhci_do_command: Command timeout! Feb 25 08:56:21 rigel kernel: usb_alloc_device: device init 2 failed (USB_ERR_TIMEOUT, ignored) Feb 25 08:56:21 rigel kernel: ugen0.2: at usbus0 (disconnected) Feb 25 08:56:21 rigel kernel: uhub_reattach_port: could not allocate new device -- DE