USB bluetooth dongles

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Fri Jul 14 22:16:18 UTC 2006


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?
> > > > > >
> <snip>
> > 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-usb
> > To unsubscribe, send any mail to "freebsd-usb-unsubscribe at 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
> 

<Previous error message snipped>

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 (Олександр Коваленко)



More information about the freebsd-usb mailing list