kldload acpi_ibm ; echo 'acpi_ibm_load="YES"' >> /boot/loader.conf sysctl dev.acpi_ibm.0.bluetooth=1 ; echo dev.acpi_ibm.0.bluetooth=1 >> /etc/sysctl.conf
kldload ng_ubt
sysrc bthidd_enable=yes ; service bthidd start
sysrc hcsecd_enable=yes ; service hcsecd start
hccontrol or using bluetooth-config script from Phabricator reviewbluetooth-config
hccontrol -n ubt0hci create_connection BT_ADDR_OF_DEVICE
hccontrol -n ubt0hci read_connection_list
pkg install virtual_oss
virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 1024 -R /dev/null -P /dev/bluetooth/BT_ADDR_OF_DEVICE -d dsp
If after src r295440, add -T /dev/sndstat before the -d to enable the device to show up in /dev/sndstat. If you want to use the virtual_oss_ctl package to control the virtual_oss device via GUI, add -t vdsp.ctl to the end. If you have trouble, try changing 48000 to 44100.
Further reading: