USB 3.0 delay in 'detecting' attached drive
gobble.wa at gmail.com
Mon Jun 11 00:42:29 UTC 2012
On Sun, Jun 10, 2012 at 4:59 PM, Julian H. Stacey <jhs at berklix.com> wrote:
> Waitman Gobble wrote:
> > On Sun, Jun 10, 2012 at 1:56 PM, Julian H. Stacey <jhs at berklix.com>
> > > 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
> > > for
> > > > the drive to show up, on the USB 2.0 port it's instantly. I haven't
> > > > USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I
> > > 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
> > which according to box was mfg in May 2012... I would assume hardware
> > 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.
> Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich
> Reply below not above, cumulative like a play script, & indent with "> ".
> Format: Plain text. Not HTML, multipart/alternative, base64,
> 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,
More information about the freebsd-questions