USB bluetooth dongles

Alexandre "Sunny" Kovalenko Alex.Kovalenko at verizon.net
Sat Jul 15 12:54:44 UTC 2006


On Sat, 2006-07-15 at 10:12 +0200, Hans Petter Selasky wrote:
> 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
At least on my system (-CURRENT as of July 9) sys/dev/usb/usb_port.h
merely includes sys/dev/usb2/usb_port.h, so I have patched that instead.
Kernel build was successfull, but attempt to load ng_ubt module results
in

link_elf: symbol usbd_driver_load undefined

This is the system built with configuration AVERATEC from my previous
posts.

I will try to build kernel with USB inside and see if that fares any
better. Might not be until later today or tomorrow though...

-- 
Alexandre Kovalenko (Олександр Коваленко)



More information about the freebsd-usb mailing list