Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2013 09:01:24 -0500 (EST)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: USB not working
Message-ID:  <Pine.GSO.4.64.1302250859110.11714@sea.ntplx.net>
In-Reply-To: <201302250938.23012.hselasky@c2i.net>
References:  <Pine.GSO.4.64.1302241423150.8338@sea.ntplx.net> <201302250938.23012.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1302250859110.11714>