From owner-freebsd-usb@FreeBSD.ORG Fri Jul 14 22:16:18 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 57BB116A4E1 for ; Fri, 14 Jul 2006 22:16:18 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03E7E43D49 for ; Fri, 14 Jul 2006 22:16:18 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.160.49]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J2E001LTZ6VBQ0I@vms040.mailsrvcs.net> for freebsd-usb@freebsd.org; Fri, 14 Jul 2006 17:16:08 -0500 (CDT) Date: Fri, 14 Jul 2006 18:15:28 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <1152913957.758.5.camel@RabbitsDen> To: Hans Petter Selasky Message-id: <1152915328.758.12.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-type: text/plain; charset=iso-8859-5 Content-transfer-encoding: 8BIT References: <200607132025.09316.hselasky@c2i.net> <200607131551.01000.amistry@am-productions.biz> <200607132208.47779.hselasky@c2i.net> <200607141645.56279.hselasky@c2i.net> <1152913957.758.5.camel@RabbitsDen> Cc: freebsd-usb@freebsd.org Subject: Re: USB bluetooth dongles 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: Fri, 14 Jul 2006 22:16:18 -0000 On Fri, 2006-07-14 at 17:52 -0400, Alexandre "Sunny" Kovalenko wrote: > On Fri, 2006-07-14 at 16:45 +0200, Hans Petter Selasky wrote: > > On Thursday 13 July 2006 22:08, Hans Petter Selasky wrote: > > > On Thursday 13 July 2006 21:50, Anish Mistry wrote: > > > > On Thursday 13 July 2006 15:41, Hans Petter Selasky wrote: > > > > > On Thursday 13 July 2006 20:53, Anish Mistry wrote: > > > > > > On Thursday 13 July 2006 14:25, Hans Petter Selasky wrote: > > > > > > > Hi, > > > > > > > > > > > > > > Is there anyone on this list using USB Bluetooth dongles, that > > > > > > > can test my new USB system and the USB Bluetooth driver? > > > > > > > > > cd i4b/trunk/i4b/FreeBSD.usb > > > > make S=../src package > > > > make install # you can specify a destination directory by using S=XXX > > > > Then copy the following files to > > "/usr/src/sys/netgraph/bluetooth/drivers/ubt/" (for example) > > > > i4b/trunk/i4b/src/sys/netgraph/bluetooth/drivers/ubt/TODO > > i4b/trunk/i4b/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt.c > > i4b/trunk/i4b/src/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_var.h > > > > Then build a kernel with the following options: > > > > device netgraph_bluetooth_ubt > > device netgraph_bluetooth > > device netgraph > > > > Then I hope it works, after that you have installed the new kernel. Else send > > me dmesg from the panics you get, like usual :-) > > > > Thanks, > > --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" > Error below is what I get with -CURRENT of July 9th. I am building all > USB stuff as modules though, would that be a problem? > > If you need full build log, it is available at > > http://members.verizon.net/~akovalenko/Misc/KernelBuild.log.gz > Including USB into kernel still results in error (below). Full build log is available at http://members.verizon.net/~akovalenko/Misc/USBBuildLog.log.gz Kernel configuration for this build is available at http://members.verizon.net/~akovalenko/Misc/USB Kernel configuration for previous build (one without USB stuff in the kernel) is available at http://members.verizon.net/~akovalenko/Misc/AVERATEC cc -c -O -pipe -march=athlon-xp -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/usb/usb_ethersubr.c In file included from /usr/src/sys/dev/usb/usbdi.h:1, from /usr/src/sys/dev/usb/usb_ethersubr.h:41, from /usr/src/sys/dev/usb/usb_ethersubr.c:69: /usr/src/sys/dev/usb2/usb_subr.h:146: error: syntax error before "bus_dma_tag_t" /usr/src/sys/dev/usb2/usb_subr.h:178: error: syntax error before "bus_dma_tag_t" /usr/src/sys/dev/usb2/usb_subr.h:651: error: syntax error before "tag" /usr/src/sys/dev/usb2/usb_subr.h:652: warning: function declaration isn't a prototype /usr/src/sys/dev/usb2/usb_subr.h:672: error: syntax error before "parent" /usr/src/sys/dev/usb2/usb_subr.h:673: warning: function declaration isn't a prototype /usr/src/sys/dev/usb2/usb_subr.h:681: error: syntax error before "usbd_dma_tag_alloc" /usr/src/sys/dev/usb2/usb_subr.h:681: error: syntax error before "parent" /usr/src/sys/dev/usb2/usb_subr.h:681: warning: type defaults to `int' in declaration of `usbd_dma_tag_alloc' /usr/src/sys/dev/usb2/usb_subr.h:681: warning: function declaration isn't a prototype /usr/src/sys/dev/usb2/usb_subr.h:681: warning: data definition has no type or storage class /usr/src/sys/dev/usb2/usb_subr.h:684: error: syntax error before "tag" /usr/src/sys/dev/usb2/usb_subr.h:684: warning: function declaration isn't a prototype /usr/src/sys/dev/usb2/usb_subr.h:687: error: syntax error before "tag" /usr/src/sys/dev/usb2/usb_subr.h:688: warning: function declaration isn't a prototype *** Error code 1 Stop in /usr/obj/usr/src/sys/USB. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- Alexandre Kovalenko (Олександр Коваленко)