From owner-freebsd-current@FreeBSD.ORG Mon Feb 25 14:38:27 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 0EC02863; Mon, 25 Feb 2013 14:38:27 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id 75997E0; Mon, 25 Feb 2013 14:38:26 +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 mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 381878293; Mon, 25 Feb 2013 15:38:18 +0100 From: Hans Petter Selasky To: Daniel Eischen Subject: Re: USB not working Date: Mon, 25 Feb 2013 15:39:34 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201302251518.04798.hselasky@c2i.net> In-Reply-To: X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: freebsd-current@freebsd.org 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:38:27 -0000 On Monday 25 February 2013 15:32:26 Daniel Eischen wrote: > On Mon, 25 Feb 2013, Hans Petter Selasky wrote: > > 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. > > Oops, that blended right in with the '='. I just tried -1 and it > didn't work: > > $ sysctl hw.usb.xhci.xhci_port_route > hw.usb.xhci.xhci_port_route: -1 > > Feb 25 09:28:25 rigel kernel: xhci_do_command: Command timeout! > Feb 25 09:28:25 rigel kernel: usb_alloc_device: device init 2 failed > (USB_ERR_TIMEOUT, ignored) Feb 25 09:28:25 rigel kernel: ugen0.2: > at usbus0 (disconnected) Feb 25 09:28:25 rigel kernel: > uhub_reattach_port: could not allocate new device > > Should I reboot just to start fresh? Hi, You need to set this in /boot/loader.conf and reboot before you test. --HPS