From owner-freebsd-usb@FreeBSD.ORG Sun Sep 17 18:26:38 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 E3E1916A416 for ; Sun, 17 Sep 2006 18:26:37 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2482343D8A for ; Sun, 17 Sep 2006 18:26:27 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.201.244]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J5R00N8Z1VW1H50@vms044.mailsrvcs.net> for freebsd-usb@freebsd.org; Sun, 17 Sep 2006 13:26:21 -0500 (CDT) Date: Sun, 17 Sep 2006 14:25:49 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <200609171214.49165.hselasky@c2i.net> To: Hans Petter Selasky Message-id: <1158517549.754.29.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8BIT References: <200609171214.49165.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: Sun, 17 Sep 2006 18:26:38 -0000 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/bluetooth/include -I/usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw/../../../../netgraph/bluetooth/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/bluetoot h/drivers/ubtbcmfw/ubtbcmfw.c /usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw/../../../../netgraph/bluetooth/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/blueto oth/drivers/ubtbcmfw/ubtbcmfw.c:47: @/dev/usb2/usb_port.h:312:1: this is the location of the previous definition *** Error code 1 Stop in /usr/src/sys/modules/netgraph/bluetooth/ubtbcmfw. *** Error code 1 Stop in /usr/src/sys/modules/netgraph/bluetooth. *** Error code 1 Stop in /usr/src/sys/modules/netgraph. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/AVERATEC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. 1004.105u 184.043s 26:25.45 74.9% 3481+7531k 21489+40773io 494pf +0w I will look into it more later today, unless this is something you know of and can straighten me right away. My system is 7-CURRENT as of late September 12 (EST). -- Alexandre Kovalenko (Олександр Коваленко)