From owner-freebsd-usb@FreeBSD.ORG Fri Apr 11 14:13:13 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A93FAB1 for ; Fri, 11 Apr 2014 14:13:13 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6610D1FEE for ; Fri, 11 Apr 2014 14:13:12 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id B14671FE027; Fri, 11 Apr 2014 16:13:10 +0200 (CEST) Message-ID: <5347F8A7.1020206@selasky.org> Date: Fri, 11 Apr 2014 16:13:59 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Daniel O'Connor Subject: Re: USB 3 devices not reliably connecting at 5Gbps References: <53478D5B.3090205@selasky.org> <5347BF39.2000704@selasky.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 14:13:13 -0000 On 04/11/14 12:19, Daniel O'Connor wrote: > > 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. > Hi, Try this patch. I'm pretty sure you can get +256 MByte/second using LibUSB too. http://svnweb.freebsd.org/changeset/base/264344 --HPS