Re: USB not working

From: Daniel Eischen <deischen_at_freebsd.org>
Date: Mon, 25 Feb 2013 09:01:24 -0500 (EST)
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

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: <Unknown> at usbus0 (disconnected)
Feb 25 08:56:21 rigel kernel: uhub_reattach_port: could not allocate new device

-- 
DE
Received on Mon Feb 25 2013 - 13:01:30 UTC

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