Date: Sun, 17 Sep 2006 14:25:49 -0400 From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: New UMASS driver available for testing Message-ID: <1158517549.754.29.camel@RabbitsDen> In-Reply-To: <200609171214.49165.hselasky@c2i.net> References: <200609171214.49165.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 (Олександр Коваленко)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1158517549.754.29.camel>