From owner-freebsd-current@FreeBSD.ORG Mon Feb 25 14:21:58 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3368023C; Mon, 25 Feb 2013 14:21:58 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 93443F56; Mon, 25 Feb 2013 14:21:57 +0000 (UTC) X-T2-Spam-Status: No, hits=0.0 required=5.0 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 380120051; Mon, 25 Feb 2013 15:16:48 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org, Daniel Eischen Subject: Re: USB not working Date: Mon, 25 Feb 2013 15:18:04 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201302250938.23012.hselasky@c2i.net> In-Reply-To: X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list 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:21:58 -0000 On Monday 25 February 2013 15:01:24 Daniel Eischen wrote: > 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 > It should be minus one. --HPS