Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 17:42:27 -0700
From:      Waitman Gobble <gobble.wa@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: USB 3.0 delay in 'detecting' attached drive
Message-ID:  <CAFuo_fxcKsmY-OqF6urnEZRYmKQyBBoyXRY_m_Uu-WLy6ZFX_A@mail.gmail.com>
In-Reply-To: <201206102359.q5ANxkF1088638@fire.js.berklix.net>
References:  <CAFuo_fwELQ6j6QJ-zQ1=KsALeT81wRaQAb3PFmLJ7yy1w0tuyg@mail.gmail.com> <201206102359.q5ANxkF1088638@fire.js.berklix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey <jhs@berklix.com> wrote:

> Waitman Gobble wrote:
> > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey <jhs@berklix.com>
> wrote:
> >
> > > Waitman Gobble wrote:
> > > > Hi,
> > > >
> > > > I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I
> > > plug
> > > > a USB 3.0 drive / cable into the USB 3.0 port it takes about 70
> seconds
> > > for
> > > > the drive to show up, on the USB 2.0 port it's instantly. I haven't
> used
> > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I
> need
> > > to
> > > > reconfigure something or look at a different kernel config.
> > >
> > > Might be a marginal power issue.
> > > USB 3 devices are allowed to consume 1.0 Amps.
> > > USB2 ports only need provide 0.5.
> > >
> > > I have a tower wont recognise my USB disc on its USB2 ports.
> > > On my new PCI express card in same tower, it comes up quickly.
> > >
> > > Cheers,
> > > Julian
>
> > Thanks.
> >
> > Not sure if there's anything I can do about that. It's a new HP dv6
> laptop
> > which according to box was mfg in May 2012... I would assume hardware
> would
> > be designed and put together properly. :)
>
> Sounds new enough :-)
>
> My USB3 disc on my newish laptop with USB 2 socket & 8.2 & 9.0 come
> up fast enough, not noticed problems, not specificaly timed it though.
>
> Try external power if you have a socket on disk box  ?
>
> Try disk on another known good FreeBSD USB3 card on a tower (my card cost
> 30 Euro BTW)
>
> Or try a power doubler cable (connected via a female to female
> adapter, which Ive never seen on sale, I made my own by cutting up
> a dead mainboard), to the USB 3 male to male cable. (for any who
> dont know, cant omit that cable as USB3 socket on lapop size drives
> is a different shape, flater, wider.
>
> I wonder if it might be taking time dropping back to USB2 speed.
> if eg you don't have xhci in kernel ?
>
> I have all of
>        config -x/boot/kernel/kernel | grep hci
>                device  uhci
>                device  ohci
>                device  xhci
>                device  ehci
> I just havent taken some out yet.
>
> Cheers,
> Julian
> --
> Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
> http://berklix.com
>  Reply below not above, cumulative like a play script, & indent with "> ".
>  Format: Plain text. Not HTML, multipart/alternative, base64,
> quoted-printable.
>        Mail from @yahoo dumped @berklix.  http://berklix.org/yahoo/
>


I believe it uses ohci for usb 2.0, xhci for 3.0, ehci for 1.0 (which I
suppose might be connected to some device internally even if you do not
have 1.0 port?)

I originally built this system on a different machine, with different
hardware, but it really shouldn't make a different AFAIK.
... But I did just csup and rebuild everything on the laptop... i needed to
build some devices into the kernel anyhow,  and NOW the usb 3.0 connect is
instantly, there is now no 70 second delay. I'd have to check, maybe there
was a change in xhci between June 2 and today which could have caused the
issue. Or it was just a 'weird harold' event, for some reason it just felt
like sitting there a minute.

Thanks for your help,

Waitman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fxcKsmY-OqF6urnEZRYmKQyBBoyXRY_m_Uu-WLy6ZFX_A>