Error Unable To Set Up Bluetooth Stack For Device Ubt0
[ subject ] [ author ] Hello list, my system: 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #1: Sat Nov 21 16:55:14 GMT 2009 root at potato:/usr/src/sys/amd64/compile/POTATO amd64 The kernel is generic apart from ehci being commented out. Sources cvsupped earlier today from cvsup.uk.freebsd.org I'm trying to get my sony erikson T610 to work with a nexus bluemicro pro dongle on 7.2-R. The galling thing is, I got it to work once, but it was late and I forgot how. I can't get the bluetooth stack to start, and I'm following the instructins as per the handbook Firstly, the small size of the device means that it is very awkward to pull the dongle out once it's pushed in. When restarting the computer, is it sufficient to reboot(8) then power the machine off, wait a few seconds then power it back up? I mean does this properly reset the dongle, or does it truly have to be pulled out and pushed back in for the system to re-read it? I've tried various suggestions while googling trying to find the answer. One suggestion (with a different device) was to disable ehci and recompile the kernel, which I've done. No difference. Another was to stop the bluetooth script before starting it: potato# /etc/rc.d/bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 potato# /etc/rc.d/bluetooth stop ubt0 potato# /etc/rc.d/bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 I find that when the system boots up, only one bluetooth-related kernel module is loaded: potato# kldstat Id Refs Address Size Name 1 9 0xffffffff80100000 768b98 kernel 2 1 0xffffffff80869000 7128 geom_concat.ko 3 1 0xffffffff80871000 9808 ng_ubt.ko 4 2 0xffffffff8087b000 14e08 netgraph.ko 5 1 0xffffffff80a22000 978 pflog.ko 6 1 0xffffffff80a23000 2ae8c pf.ko 7 1 0xffffffff80a4e000 aa7a fuse.ko 8 1 0xffffffff80a59000 82e accf_http.ko potato# ngctl li There are 1 total nodes: Name: ngctl1196 Type: socket ID: 00000001 Num hooks:0 When I try to start the stack, this happens: potato# /etc/rc.d/bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 potato# /etc/rc.d/bluetooth stop ubt0 potato# /etc/rc.d/bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 let's do a kldstat again: potato# kldstat Id Refs Address Size Name 1 14 0xffffffff80100000 768b98 kernel 2 1 0xffffffff80869000 7128 geom_concat.ko 3 1 0xffffffff80871000 9808 ng_ubt.ko 4 6 0xffffffff8087b000 14e08 netgraph.ko 5 1 0xffffffff80a22000 978 pflog.ko 6 1 0xffffffff80a23000 2ae8c pf.ko
a GitHub account Sign in Create a gist now Instantly share code, notes, and snippets. Star 0 Fork 0 waitman/bt scan 1 Created Mar 18, 2015 Embed What would you like to do? Embed Embed this gist in your website. Embed Share Copy sharable URL for this gist. Share Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. HTTPS Learn more about clone URLs Download ZIP https://lists.freebsd.org/pipermail/freebsd-bluetooth/2009-November/001476.html Code Revisions 1 Raw bt scan 1 # uname -a FreeBSD blynk.waitman.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r275492: Fri Dec 5 06:52:11 PST 2014 waitman@blynk.waitman.net:/usr/obj/usr/src/sys/BLYNK amd64 # usbconfig -d 0.5 dump_device_desc ugen0.5:
Num hooks: 1 Name: btsock_l2c Type: btsock_l2c ID: 0003 Num hooks: 1 Name: btsock_sco Type: btsock_sco ID: 0004 Num https://www.mail-archive.com/search?l=freebsd-bluetooth@freebsd.org&q=subject:%22Re%5C%3A+Bluetooth+BCM20702A0%22&o=newest&f=1 hooks: 0 Name: ubt0 Type: ubt ID: 0005 Num hooks: 1 Name: ubt0hci Type: hci ID: 0007 Num hooks: 3 Name: ubt0l2cap Type: l2cap ID: 000b Num hooks: 3 Name: ngctl1215 Type: socket ID: 0011 Num hooks: 0 root@:/home/darren # The first test complained about a config file(not error unable in tutorial). It seems to not pick it up from defaults, so :/etc/defaults # cp bluetooth.device.conf /etc/bluetooth/ubt0.conf So far so good. Thank you for your insight! From: Maksim Yevmenkin maksim.yevmen...@gmail.com To: Darren darren...@yahoo.com Cc: freebsd-bluetooth@freebsd.org freebsd-bluetooth@freebsd.org Sent: Tuesday, May 7, 2013 6:33:54 PM Subject: Re: Bluetooth BCM20702A0 On Fri, May 3, 2013 at error unable to 12:55 PM, Darren darren...@yahoo.com wrote: I've been trying to follow the instructions at http://www.freebsd.org/doc/en/books/...bluetooth.html however I am just not getting the same results. BCM20702A0 is supported as I found it mentioned in the ng_ubt.c driver. Code: /* Broadcom USB dongles, mostly BCM20702 and BCM20702A0 */ { USB_VENDOR(USB_VENDOR_BROADCOM), USB_IFACE_CLASS(UICLASS_VENDOR), USB_IFACE_SUBCLASS(UDSUBCLASS_RF), USB_IFACE_PROTOCOL(UDPROTO_BLUETOOTH) }, }; Code: ugen7.2: Broadcom Corp at usbus7 ubt0: Broadcom Corp BCM20702A0, rev 2.00/1.12, addr 2 on usbus7 WARNING: attempt to domain_add(netgraph) after domainfinalize()Also no device exists: that is fine Code: % cd /dev % ls *bt* ls: No match. that is fine too. no /dev entry is created for ubt(4) devices. instead just plug your device and do # ngctl li % service bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 well, it might be a problem. please run it as # sh -x /etc/rc.d/bluetooth start ubt0 to see what exactly is failing max ___ freebsd-bluetooth@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-blu