From owner-freebsd-usb@FreeBSD.ORG Fri Jul 14 21:53: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 2452A16A4ED for ; Fri, 14 Jul 2006 21:53:38 +0000 (UTC) (envelope-from Alex.Kovalenko@verizon.net) Received: from vms042pub.verizon.net (vms042pub.verizon.net [206.46.252.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C52F943D45 for ; Fri, 14 Jul 2006 21:53:37 +0000 (GMT) (envelope-from Alex.Kovalenko@verizon.net) Received: from RabbitsDen ([70.21.160.49]) by vms042.mailsrvcs.net (Sun Java System Messaging Server 6.2-4.02 (built Sep 9 2005)) with ESMTPA id <0J2E00JXOY4SO9PL@vms042.mailsrvcs.net> for freebsd-usb@freebsd.org; Fri, 14 Jul 2006 16:53:18 -0500 (CDT) Date: Fri, 14 Jul 2006 17:52:37 -0400 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <200607141645.56279.hselasky@c2i.net> To: Hans Petter Selasky Message-id: <1152913957.758.5.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> 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 21:53:38 -0000 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 ===> netgraph/bluetooth/ubt (all) cc -O2 -fno-strict-aliasing -pipe -march=athlon-xp -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I- -I/usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/include -I/usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/AVERATEC/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-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-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -c /usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c In file included from /usr/src/sys/modules/netgraph/bluetooth/ubt/../../../../netgraph/bluetooth/drivers/ubt/ng_ubt.c:43: @/dev/usb2/usb_subr.h:146: error: syntax error before "bus_dma_tag_t" @/dev/usb2/usb_subr.h:178: error: syntax error before "bus_dma_tag_t" @/dev/usb2/usb_subr.h:651: error: syntax error before "tag" @/dev/usb2/usb_subr.h:652: warning: function declaration isn't a prototype @/dev/usb2/usb_subr.h:672: error: syntax error before "parent" @/dev/usb2/usb_subr.h:673: warning: function declaration isn't a prototype @/dev/usb2/usb_subr.h:681: error: syntax error before "usbd_dma_tag_alloc" @/dev/usb2/usb_subr.h:681: error: syntax error before "parent" @/dev/usb2/usb_subr.h:681: warning: type defaults to `int' in declaration of `usbd_dma_tag_alloc' @/dev/usb2/usb_subr.h:681: warning: function declaration isn't a prototype @/dev/usb2/usb_subr.h:681: warning: data definition has no type or storage class @/dev/usb2/usb_subr.h:684: error: syntax error before "tag" @/dev/usb2/usb_subr.h:684: warning: function declaration isn't a prototype @/dev/usb2/usb_subr.h:687: error: syntax error before "tag" @/dev/usb2/usb_subr.h:688: warning: function declaration isn't a prototype *** Error code 1 Stop in /usr/src/sys/modules/netgraph/bluetooth/ubt. *** 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. RabbitsDen# -- Alexandre Kovalenko (Олександр Коваленко)