USB 3.0 delay in 'detecting' attached drive

Waitman Gobble gobble.wa at gmail.com
Mon Jun 11 17:31:55 UTC 2012


On Mon, Jun 11, 2012 at 1:36 AM, Julian H. Stacey <jhs at berklix.com> wrote:

> Waitman Gobble wrote:
> > 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>
> > > 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
>
> > I believe it uses ohci for usb 2.0,
>
> I doubt that.
>
> > xhci for 3.0,
>
> Yes
>
> > ehci for 1.0
>
> No
>
>
> Reading manuals:
>  ehci : for a controller chip that Only does USB 2.0, not 1.0
>  ohci : OHCI v1.0 USB1
>  uhci : UHCI v1.1 USB1
>  xhci : USB 1.0, 2.0 and 3.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.
>
> Good.  BTW I'd not considered you might be seeing something on current,
> as this questions@ was originaly created for people new to FreeBSD
> Machine my end was 8.3-RELEASE. The current@ list would know if xhci
> was problematic.
>
> > 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,
>
> :-)
>
> 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/
>

Hi,

thanks - good point. maybe even freebsd-usb group would be better.
i'll see if it happens again and post in there.


Waitman


More information about the freebsd-questions mailing list