Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754958AbZKVWRi (ORCPT ); Sun, 22 Nov 2009 17:17:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753933AbZKVWRh (ORCPT ); Sun, 22 Nov 2009 17:17:37 -0500 Received: from netrider.rowland.org ([192.131.102.5]:37995 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752748AbZKVWRg (ORCPT ); Sun, 22 Nov 2009 17:17:36 -0500 Date: Sun, 22 Nov 2009 17:17:42 -0500 (EST) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: Simon Arlott cc: USB list , Kernel development list Subject: Re: cxacru usb_bulk_msg() firmware upload 36x slower with OHCI vs. UHCI In-Reply-To: <4B0971F2.8020702@simon.arlott.org.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1175 Lines: 27 On Sun, 22 Nov 2009, Simon Arlott wrote: > I've tried sending 64 and 2048 bytes at a time, with the same speed > (4ms and 128ms), so that time is just a coincidence. These timings indicate that one packet is getting transmitted every 4 frames. In theory the slowness could be caused by either the host controller or the device, but you'd need a bus analyzer to tell which. Certainly there's no good reason for the controller to run that slowly, but there's also no good reason for the device to run that slowly only with OHCI. > Submitting it all as multiple asynchronous URBs in one go doesn't help > either. I've been trying to get EHCI working too (via two different > high speed hubs) but that's not working even if I add long delays. Have you tried using a non-high-speed hub, or forcing the port into full speed and adding a hub? That is, does the presence of a hub with OHCI make any difference? Alan Stern -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/