Date: Mon, 6 Apr 2015 22:05:15 -0700 From: "Sven Brehmer" <sven.brehmer@polycoresoftware.com> To: <freebsd-arm@freebsd.org> Subject: Bluetooth on the Wandboard Quad Message-ID: <04cf01d070f0$6f993d40$4ecbb7c0$@polycoresoftware.com>
next in thread | raw e-mail | index | archive | help
Hello, We are running FreeBSD on the Wandboard and are trying get Bluetooth working using a Bluetooth USB adapter. The Adapter is an IOGEAR GBU521W6 Bluetooth 4.0 Micro Adapter USB, based on the Broadcom BCM20702A chip. We can't get the Bluetooth network stack started. We have searched the internet and found advice and settings which we have tested, to no avail. Some information below. Loaded drivers: # kldstat Id Refs Address Size Name 1 16 0xc2000000 6996a4 kernel 2 1 0xc269a000 e6e4 ng_ubt.ko 3 2 0xc26a9000 132e4 ng_hci.ko 4 4 0xc26bd000 9f78 ng_bluetooth.ko 5 6 0xc26c7000 1696c netgraph.ko 6 1 0xc79b2000 22000 ng_btsocket.ko 7 1 0xc7a48000 15000 ng_l2cap.ko 8 1 0xc7881000 b000 ng_socket.ko loader.conf related entries (probably not required): ng_ubt_load="YES" ng_l2cap_load="YES" rc.conf related entries: #bluetooth hcsecd_enable="YES" hcsecd_config="/etc/bluetooth/hcsecd.conf" sdpd_enable="YES" bthidd_enable="YES" bthidd_config="/etc/bluetooth/bthidd.conf" /etc/bluetooth files: ubt0.conf entries: authentication_enable="NO" connectable="YES" discoverable="YES" hci_debug_level="4" l2cap_debug_level="4" local_name="wandboard-quad" role_switch="YES" hcsecd.conf sample entries: device { bdaddr 00:11:22:33:44:55; name "Dummy"; key "0x00112233445566778899aabbccddeeff"; pin nopin; } device { bdaddr e4:32:ab:34:4e:ae; name "SvenB"; key nokey; pin nopin; } bthidd.conf has a blank line. hosts have entries. a snippet from the output of # sh -x /etc/rc.d/bluetooth start ubt0, below. + read _line + return 0 + bluetooth_setup_stack ubt0 hook + dev=ubt0 + shift + hook=hook + shift + ngctl mkpeer ubt0: hci hook drv + ngctl name ubt0:hook ubt0hci + ngctl msg ubt0hci: set_debug 3 + ngctl mkpeer ubt0hci: l2cap acl hci + ngctl name ubt0hci:acl ubt0l2cap + ngctl msg ubt0l2cap: set_debug 3 + ngctl connect ubt0hci: btsock_hci_raw: raw ubt0raw + ngctl connect ubt0l2cap: btsock_l2c_raw: ctl ubt0ctl + ngctl connect ubt0l2cap: btsock_l2c: l2c ubt0l2c + /usr/sbin/hccontrol -n ubt0hci reset + return 1 + bluetooth_shutdown_stack ubt0 + dev=ubt0 + ngctl shutdown ubt0hci: + ngctl shutdown ubt0l2cap: + return 0 + err 1 'Unable to setup Bluetooth stack for device ubt0' + exitval=1 + shift + [ -x /usr/bin/logger ] + logger '/etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0' + echo '/etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0' /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device ubt0 + exit 1 Any advice would be appreciated. Regards, Sven Brehmer
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04cf01d070f0$6f993d40$4ecbb7c0$>