From owner-freebsd-usb@FreeBSD.ORG Tue Apr 10 20:44:30 2007 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 551A916A418 for ; Tue, 10 Apr 2007 20:44:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swip.net [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id DAF1413C4C2 for ; Tue, 10 Apr 2007 20:44:29 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.48] (account mc467741@c2i.net HELO [10.0.0.249]) by mailfe13.swip.net (CommuniGate Pro SMTP 5.1.7) with ESMTPA id 68657721; Tue, 10 Apr 2007 22:44:28 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 10 Apr 2007 22:44:06 +0200 User-Agent: KMail/1.9.5 References: <200704022300.30522.hselasky@c2i.net> <20070410195828.GA1318@linwhf.opal.com> <200704102207.24028.hselasky@c2i.net> In-Reply-To: <200704102207.24028.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704102244.06335.hselasky@c2i.net> Cc: Subject: Re: axe(4) with Ax88178 and Ax88772 support (update) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 20:44:30 -0000 On Tuesday 10 April 2007 22:07, Hans Petter Selasky wrote: > On Tuesday 10 April 2007 21:58, J.R. Oldroyd wrote: > > On Apr 02, 23:00, Hans Petter Selasky wrote: > > > Could you install the new USB stack and see if your AXE device works? > > > > I have tested the Ax88772 import in your new USB stack. > > > > It does move packets, but rx is very slow. > > > > Tx gets me around 650-750 kB/s on a large file scp. > > Rx gets me only 35 kB/s on the same file. > > > > By comparisson, this driver in the current USB stack in 6-stable > > gets me full speed for both tx and rx. > > > > Haven't had time to debug but will try to over the next few > > days. > > Good that it works. You know that there is a sysctl, hw.usb.axe.debug, that > you can set to 15, to see what is going on. It might have something to do with me setting burst size to the maximum, which didn't work at all, according to you, in the old USB stack. Hope to hear from you soon. --HPS PS: If you didn't know, you can save some debugging time by loading/unloading the if_axe module instead of building a new kernel every time you make a change to the source code.