Re: USB not working

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Mon, 25 Feb 2013 15:39:34 +0100
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: <Unknown> 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:
> <Unknown> 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
Received on Mon Feb 25 2013 - 13:38:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:35 UTC