Bluetooth BCM20702A0

Darren darren780 at yahoo.com
Sat May 11 02:10:53 UTC 2013


root@:/home/darren # ngctl li
There are 8 total nodes:
  Name: btsock_hci_raw  Type: btsock_hci_raw  ID: 00000001   Num hooks: 1
  Name: btsock_l2c_raw  Type: btsock_l2c_raw  ID: 00000002   Num hooks: 1
  Name: btsock_l2c      Type: btsock_l2c      ID: 00000003   Num hooks: 1
  Name: btsock_sco      Type: btsock_sco      ID: 00000004   Num hooks: 0
  Name: ubt0            Type: ubt             ID: 00000005   Num hooks: 1
  Name: ubt0hci         Type: hci             ID: 00000007   Num hooks: 3
  Name: ubt0l2cap       Type: l2cap           ID: 0000000b   Num hooks: 3
  Name: ngctl1215       Type: socket          ID: 00000011   Num hooks: 0
root@:/home/darren # 

The first test complained about a config file(not 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.yevmenkin at gmail.com>
To: Darren <darren780 at yahoo.com> 
Cc: "freebsd-bluetooth at freebsd.org" <freebsd-bluetooth at freebsd.org> 
Sent: Tuesday, May 7, 2013 6:33:54 PM
Subject: Re: Bluetooth BCM20702A0
 

On Fri, May 3, 2013 at 12:55 PM, Darren <darren780 at 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


More information about the freebsd-bluetooth mailing list