Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Apr 2014 14:03:19 +0930
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        freebsd-usb@freebsd.org
Subject:   USB 3 devices not reliably connecting at 5Gbps
Message-ID:  <A9616810-7BD9-49FC-BFA7-44206E4CCAC1@gsoft.com.au>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_79B1425C-0D81-41BA-8272-00A14CFA3852
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi,
I have a FreeBSD 9.2 system on which I am developing a USB3 data =
acquisition card (based on the Cypress FX3) and I have found that it =
doesn't reliably connect at 5GBps - quite often it seems to only connect =
at 480MBps.

If I connect it to my macbook pro (running OSX) it reliably connects at =
5Gbps.

Since the FreeBSD system doesn't have onboard USB3 I purchased 2 PCIe =
USB3 cards. I wanted to see if there was a difference in behaviour =
between the 2 cards but that doesn't seem to be the case.

xhci0@pci0:3:0:0:       class=3D0x0c0330 card=3D0x34321106 =
chip=3D0x34321106 rev=3D0x03 hdr=3D0x00
xhci1@pci0:5:0:0:	class=3D0x0c0330 card=3D0x70521b6f =
chip=3D0x70521b6f rev=3D0x00 hdr=3D0x00


xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfbeff000-0xfbefffff irq =
17 at device 0.0 on pci3
xhci0: 32 byte context size.
usbus1 on xhci0

xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfbcf8000-0xfbcfffff irq =
17 at device 0.0 on pci5
xhci1: 64 byte context size.
usbus2 on xhci1

Also, when it does connect at 5Gbps the speed seems quite slow - on my =
laptop (with USB controller VID 0x8086 PID 0x9c31 - Lynx point I think) =
I get 225MB/sec using libusb. On FreeBSD I get around 92MB/sec although =
only after lowering(!!) the amount read per transfer.

I booted a 10.0 DVD and it seems to behave the same way.

I also tried a USB 3 HD enclosure and it frequently connects at 480MBit =
as well so I don't think it's an issue with the firmware I wrote.

Does anyone have a recommendation, or a path to debugging it?

Thanks.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C







--Apple-Mail=_79B1425C-0D81-41BA-8272-00A14CFA3852
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iD8DBQFTR3CP5ZPcIHs/zowRAv32AJ4zm7gxTVIRRi2pJ7mZq4gwwdt8ugCgobdB
dGberYwIXgzltDc8adNlHKM=
=/XXs
-----END PGP SIGNATURE-----

--Apple-Mail=_79B1425C-0D81-41BA-8272-00A14CFA3852--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A9616810-7BD9-49FC-BFA7-44206E4CCAC1>