Re: usb stick problem [Was: HEADSUP usb2 (usb4bsd) to become default in 2 weeks.]

[ Available lists | Index of freebsd-current | Month of Dec 2008 | Week of 26 Dec 2008 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Hans Petter Selasky <hselasky@c2i.net>
Date
26 Dec 2008 16:19:32
Subject
Re: usb stick problem [Was: HEADSUP usb2 (usb4bsd) to become default in 2 weeks.]
Message-ID
200812261721.49279.hselasky@c2i.net

In reply to

[ Hide this part ]
On Thursday 25 December 2008, Alexey Shuvaev wrote:
> On Thu, Dec 25, 2008 at 11:35:27AM +0100, Hans Petter Selasky wrote:
> > On Wednesday 24 December 2008, Alexey Shuvaev wrote:
> > > On Wed, Dec 24, 2008 at 12:12:02PM +0100, Hans Petter Selasky wrote:

> Subtle timing probem?

No so easy to tell.

There are some debugging sysctl which you can try to tune/increase:

hw.usb2.pr_recovery_delay: 250

hw.usb2.ss_delay: 0

hw.usb2.ehci.no_hs: 0

Try double the values until it works reliably.

The logs don't tell me so much except that one of the control transactions
fail. Maybe you can dump the descriptors of your device?

usbconfig -u xxx -a yyy dump_device_desc dump_curr_config_desc

--HPS


Elapsed time: 0.113 seconds