From owner-freebsd-usb@FreeBSD.ORG Fri Apr 11 10:19:29 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D5E6FB7 for ; Fri, 11 Apr 2014 10:19:29 +0000 (UTC) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B2E581374 for ; Fri, 11 Apr 2014 10:19:28 +0000 (UTC) Received: from ur.dons.net.au (ppp118-210-194-169.lns20.adl6.internode.on.net [118.210.194.169]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id s3BAJFje041009 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 11 Apr 2014 19:49:24 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Subject: Re: USB 3 devices not reliably connecting at 5Gbps Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: "Daniel O'Connor" In-Reply-To: <5347BF39.2000704@selasky.org> Date: Fri, 11 Apr 2014 19:49:13 +0930 Message-Id: References: <53478D5B.3090205@selasky.org> <5347BF39.2000704@selasky.org> To: Hans Petter Selasky X-Mailer: Apple Mail (2.1874) X-Spam-Score: 0.163 () BAYES_00,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2014 10:19:29 -0000 --Apple-Mail=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=iso-8859-1 On 11 Apr 2014, at 19:38, Hans Petter Selasky wrote: > On 04/11/14 09:29, Daniel O'Connor wrote: >> usb_xf[i].xf = libusb_alloc_transfer(0); >> usb_xf[i].idx = i; >> usb_xf[i].done = 0; >> usb_xf[i].submitted = 0; > > I think you can get more speed in libusb: > bufsize = 16384; > > ^^^ add a clause for super-speed to use 32K/64K here: I think that only applies to libusb 0.1 - I am using the 1.0 API. -- 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=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A 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 iD8DBQFTR8Gi5ZPcIHs/zowRAmkIAJ4gb1x0IQmue5d5p15PMSiqNvcSdwCeIQtC MG6oLlTzJkkKe35EC797BoU= =K3hN -----END PGP SIGNATURE----- --Apple-Mail=_4D5C5299-8C32-477E-A5E4-A9985DA01B9A--