From owner-freebsd-usb@FreeBSD.ORG Mon Sep 18 10:29:55 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C55BA16A407 for ; Mon, 18 Sep 2006 10:29:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.swip.net [212.247.154.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7020143D53 for ; Mon, 18 Sep 2006 10:29:50 +0000 (GMT) (envelope-from hselasky@c2i.net) X-T2-Posting-ID: gvlK0tOCzrqh9CPROFOFPw== X-Cloudmark-Score: 0.000000 [] Received: from [193.217.36.68] (HELO [10.0.0.249]) by mailfe02.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 284344211; Mon, 18 Sep 2006 12:29:48 +0200 From: Hans Petter Selasky To: "Alexandre \"Sunny\" Kovalenko" Date: Mon, 18 Sep 2006 12:30:04 +0200 User-Agent: KMail/1.7 References: <200609171214.49165.hselasky@c2i.net> <1158517549.754.29.camel@RabbitsDen> In-Reply-To: <1158517549.754.29.camel@RabbitsDen> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609181230.05147.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: New UMASS driver available for testing 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: Mon, 18 Sep 2006 10:29:55 -0000 On Sunday 17 September 2006 20:25, Alexandre "Sunny" Kovalenko wrote: > On Sun, 2006-09-17 at 12:14 +0200, Hans Petter Selasky wrote: > > Hi, > > > > I have finished the conversion of the UMASS driver to my new USB API. If > > you have got a UMASS device laying around, and want to help the USB > > project, please give the new driver a test. > > > > I want you to collect some statistics first: > > > > dd if=/dev/daX of=/dev/null bs=131072 > > > > dd if=/dev/daX of=/dev/null bs=524288 > > > > 1) > > > > What is the maximum speed you get before and after installing the driver? > > > > 2) > > > > What is the maximum CPU load reported by "ps aux" before and after > > installing the driver [while doing the "dd"]? > > > > # > > # How to install the new USB driver > > # on FreeBSD 6.x / 7.x: > > # > > > > # > > # First get all the sources > > # (you need /usr/ports/devel/subversion installed): > > # > > > > svn --username anonsvn --password anonsvn \ > > checkout svn://svn.turbocat.net/i4b > > > > # > > # The following commands will > > # install the driver on FreeBSD 6.x/7.x: > > # > > > > cd i4b/trunk/i4b/FreeBSD.usb > > make S=../src package > > make install > > > > # > > # Then build a new kernel (with modules) > > # > > > > NOTE: You still can't detach the UMASS device while it is in use, but > > this problem is being worked on. > > > > --HPS > > _______________________________________________ > > freebsd-usb@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" > > At first crack I get this: > > ===> netgraph/bluetooth/ubtbcmfw (all) > cc -O2 -fno-strict-aliasing -pipe -march=athlon-xp -Werror -D_KERNEL > -DKLD_MODULE -std=c99 -nostdi nc -I- > -I/usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw/../../../../netgraph/blu >etooth/include > -I/usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw/../../../../netgraph/blu >etooth/drivers/ubtbcmfw -DHAVE_KERNEL_OPTION_HEADERS -include > /usr/obj/usr/src/sys/AVERATEC/opt_global.h -I. -I@ -I@/cont rib/altq > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -fn o-common -g -I/usr/obj/usr/src/sys/AVERATEC > -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow > -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls > -Wnested-e xterns -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith > -Winline -Wcast-qual -Wundef -ff ormat-extensions -c > /usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw/../../../../netgraph/bluet >oot h/drivers/ubtbcmfw/ubtbcmfw.c > /usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw/../../../../netgraph/bluet >ooth/drivers/ubtbcmfw/u btbcmfw.c:56:1: "USBDEVNAME" redefined In file > included from @/dev/usb2/usb.h:49, > from @/dev/usb/usb.h:1, > > from > /usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw/../../../../netgraph/bluet >o oth/drivers/ubtbcmfw/ubtbcmfw.c:47: @/dev/usb2/usb_port.h:312:1: this is > the location of the previous > definition > *** Error code 1 > I found another bug in my install script which prevented UMASS from compiling. Just type "make deinstall" where you typed "make install". Then type "svn update" and repeat the packaging process. Then install and build new kernel. Sorry for the inconvenience --HPS