Hi . Welcome to GhostBSD!
Basic bluetooth set up. Be warned that your earbuds may not be supported yet in GhostBSD.
Edit your /etc/rc.conf file and add these
sdpd_enable="YES"
hcsecd_enable="YES"
Then save changes
Install packages
pkg ins iwmbt-firmware virtual_oss
Create a ubt0.conf file
cd /etc/bluetooth
touch ubt0.conf
Then edit ubt0.conf and add these lines
authentication_enable="YES"
connectable="YES"
discoverable="YES"
role_switch="YES"
Reboot
Run the Bluetooth configuration service (as root) so you can pair your earbuds. Make sure your earbuds are not paired with any other device.
Turn your earbuds on then run
bluetooth-config scan
Look at the output in the terminal and see if your earbuds get detected. If they aren't detected put them into pairing mode and run again
bluetooth-config scan
If your earbuds are still not detected, then they probably not compatible yet
If they are, follow the directions given in the terminal. I would recommend giving your earbuds an easy name.
# Now create a virtual sound device so you can use your Bluetooth headphones as a sound sink:
virtual_oss -T /dev/sndstat -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
Change /dev/bluetooth/headphones to the name you gave your earbuds i.e. /dev/bluetooth/buds
virtual_oss -T /dev/sndstat -S -a o,-4 -C 2 -c 2 -r 44100 -b 16 -s 1024 -R /dev/dsp0 -P /dev/bluetooth/buds -d dsp -t vdsp.ctl
Try out the sound! If you had your browser open and you want to test sound in your browser, restart your browser first
If your sound is a little strange, change the 44100 to 48000
Hope it works!
Basic bluetooth set up. Be warned that your earbuds may not be supported yet in GhostBSD.
Edit your /etc/rc.conf file and add these
sdpd_enable="YES"
hcsecd_enable="YES"
Then save changes
Install packages
pkg ins iwmbt-firmware virtual_oss
Create a ubt0.conf file
cd /etc/bluetooth
touch ubt0.conf
Then edit ubt0.conf and add these lines
authentication_enable="YES"
connectable="YES"
discoverable="YES"
role_switch="YES"
Reboot
Run the Bluetooth configuration service (as root) so you can pair your earbuds. Make sure your earbuds are not paired with any other device.
Turn your earbuds on then run
bluetooth-config scan
Look at the output in the terminal and see if your earbuds get detected. If they aren't detected put them into pairing mode and run again
bluetooth-config scan
If your earbuds are still not detected, then they probably not compatible yet
If they are, follow the directions given in the terminal. I would recommend giving your earbuds an easy name.
# Now create a virtual sound device so you can use your Bluetooth headphones as a sound sink:
virtual_oss -T /dev/sndstat -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
Change /dev/bluetooth/headphones to the name you gave your earbuds i.e. /dev/bluetooth/buds
virtual_oss -T /dev/sndstat -S -a o,-4 -C 2 -c 2 -r 44100 -b 16 -s 1024 -R /dev/dsp0 -P /dev/bluetooth/buds -d dsp -t vdsp.ctl
Try out the sound! If you had your browser open and you want to test sound in your browser, restart your browser first
If your sound is a little strange, change the 44100 to 48000
Hope it works!
Statistics: Posted by neville — Mon Sep 09, 2024 8:01 am