Date: Mon, 16 Sep 2019 12:54:10 +0300 From: Stefan Parvu <sparvu@kronometrix.org> To: freebsd-arm@freebsd.org Subject: RBPI3B+ BLE 4.0 USB Dongle question Message-ID: <A97AA3B8-E6FF-4399-9636-F9A4FD454FD2@kronometrix.org>
next in thread | raw e-mail | index | archive | help
Hi, Im trying to see if I can make this device [1] work with FreeBSD 12 = RELEASE. This is a=20 CSR8510 [2] based bluetooth usb dongle, which I understood should be = supported in FreeBSD 12. Is this right ?=20 When Im trying to use this device I see the following: dmesg ubt0 on uhub1 ubt0: <vendor 0x0a12 product 0x0001, class 224/1, rev 2.00/75.58, addr = 5> on usbus0 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() Security policy loaded: MAC/ntpd (mac_ntpd) ubt0: ubt_bulk_read_callback:979: bulk-in transfer failed: = USB_ERR_IOERROR kldstat freebsd@k1iot:~ % kldstat Id Refs Address Size Name 1 21 0xffff000000000000 13d1480 kernel 2 1 0xffff000053600000 41000 tmpfs.ko 3 1 0xffff000053641000 41000 ng_ubt.ko 4 5 0xffff000053682000 41000 netgraph.ko 5 1 0xffff0000536c3000 31000 ng_hci.ko 6 3 0xffff0000536f4000 31000 ng_bluetooth.ko 7 1 0xffff000053725000 31000 ng_l2cap.ko 8 1 0xffff000053756000 51000 ng_btsocket.ko 9 1 0xffff0000537a7000 41000 ng_socket.ko 10 1 0xffff000053800000 31000 mac_ntpd.ko netgraph list root@k1iot:~ # ngctl list There are 6 total nodes: Name: ubt0 Type: ubt ID: 00000001 Num hooks: = 0 Name: btsock_hci_raw Type: btsock_hci_raw ID: 00000002 Num hooks: = 0 Name: btsock_l2c_raw Type: btsock_l2c_raw ID: 00000003 Num hooks: = 0 Name: btsock_l2c Type: btsock_l2c ID: 00000004 Num hooks: = 0 Name: btsock_sco Type: btsock_sco ID: 00000005 Num hooks: = 0 Name: ngctl1117 Type: socket ID: 00000015 Num hooks: = 0 I cannot start the service, something most likely wrong: driver, not = properly configured. root@k1iot:~ # service bluetooth start ubt0 /etc/rc.d/bluetooth: ERROR: Unable to setup Bluetooth stack for device = ubt0 Anyone any ideas ? Thanks. Stefan Parvu sparvu@kronometrix.org [1] - = https://thepihut.com/products/adafruit-bluetooth-4-0-usb-module-v2-1-back-= compatible?ref=3Disp_rel_prd&isp_ref_pos=3D1 [2] - https://www.qualcomm.com/products/csr8510
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A97AA3B8-E6FF-4399-9636-F9A4FD454FD2>