USB bluetooth dongles

Hans Petter Selasky hselasky at c2i.net
Sat Jul 15 08:16:10 UTC 2006


On Friday 14 July 2006 23:52, 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?

No. It seems like I have forgot a small patch. Could you try the following 
patch (just apply it manually):

--- usb_port.h  Fri Mar 17 17:56:07 2006
+++ /sys/dev/usb/usb_port.h        Sat Jul  8 11:14:00 2006
@@ -43,6 +43,7 @@
 #  ifdef __FreeBSD__
 
 #   include <sys/conf.h>
+#   include <machine/bus.h> /* bus_space_xxx() */
 #   include <machine/resource.h> /* SYS_XXX */
 #   include <sys/bus.h> /* device_xxx() */
 #   ifdef INCLUDE_PCIXXX_H

Then try to build again.

--HPS


More information about the freebsd-usb mailing list