Hi, I just purchased the XSSIVE XSS-AIRC01 device, a Bluetooth 5.3 device that uses the AC7006F4 chip.
Does anyone know if is there a way to use this with FreeBSD.
Does anyone know if is there a way to use this with FreeBSD.
sudo hccontrol -n ubt0hci create_connection headphones
BD_ADDR: headphones
Connection handle: 256
Encryption mode: Disabled [0]
sudo hccontrol -n ubt0hci read_connection_list
Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State
headphones 256 ACL 0 MAST NONE 0 0 OPEN
sudo hccontrol -n ubt0hci read_connection_list
after a couple of seconds the device "headphones" no longer exists.sudo virtual_oss -S -a o,-4 -C 2 -c 2 -r 44100 -b 16 -s 1024 -R /dev/dsp0 -P /dev/bluetooth/headphones -d dsp -t vdsp.ctl
hw.snd.basename_clone: 0 -> 0
virtual_oss: Could not create CUSE DSP device
virtual_oss: Could not create CUSE DSP device
message, I don't know why in /boot/loader.conf
I had:cuse4bsd_load="YES"
cuse_load="YES"
sudo hccontrol -n ubt0hci read_connection_list
shows the device even after a while, before the cuse_load
it disconnected.sudo hccontrol -n ubt0hci write_authentication_enable 1
read_connection_list
returns this:Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State
headphones 3865 ACL 0 MAST NONE 0 0 W4_CONN_COMPLETE
Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State
headphones 512 ACL 0 MAST NONE 0 0 OPEN
sudo virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 20ms -P /dev/bluetooth/headphones -R /dev/null -w dsp.ctl -d dsp -l mixer
hw.snd.basename_clone: 0 -> 0
backend_bt: Could not open SDP
backend_bt: PSM=0xffffffff
backend_bt: PSM not found
sudo hccontrol -n ubt0hci read_connection_list
, returns an empty list, even after it changed from OPEN to W4_CONN_COMPLETE, let's continue investigating.sudo service hcsecd restart
sudo service bluetooth restart ubt0 (two times)
Now press the power button on the headphones for two seconds, to enable "pairing mode".
sudo hccontrol -n ubt0hci create_connection headphones
sudo hccontrol -n ubt0hci write_authentication_enable 1
sudo hccontrol -n ubt0hci read_connection_list
and getRemote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State
headphones 256 ACL 0 MAST NONE 0 0 OPEN
Remote BD_ADDR Handle Type Mode Role Encrypt Pending Queue State
headphones 3865 ACL 0 MAST NONE 0 0 W4_CONN_COMPLETE
sudo virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 20ms -P /dev/bluetooth/headphones -R /dev/null -w dsp.ctl -d dsp -l mixer
hw.snd.basename_clone: 0 -> 0
backend_bt: Could not open SDP
backend_bt: PSM=0xffffffff
backend_bt: PSM not found
backend_bt: Could not open SDP
backend_bt: PSM=0xffffffff
backend_bt: PSM not found
backend_bt: Could not open SDP
backend_bt: PSM=0xffffffff
backend_bt: PSM not found
backend_bt: Could not open SDP
backend_bt: PSM=0xffffffff
backend_bt: PSM not found
hccontrol -n ubt0hci write_authentication_enable 1
sudo service sdpd onestart
mplayer myfile.wav
, now I must test audio output from Firefox/Chrome. media.cubeb.backend: oss
on Firefox before, now audio output runs without issues, tested with Youtube.sudo virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 20ms -P /dev/bluetooth/headphones -R /dev/null -w dsp.ctl -d dsp -l mixer
hw.snd.basename_clone: 1 -> 0
backend_bt: PSM=0x19