From bb698cf5e01346f22da7e1e2e41393c9ea56469f Mon Sep 17 00:00:00 2001 From: Benedict Reuschling Date: Wed, 2 Jan 2019 18:01:55 +0000 Subject: Add more information about Bluetooth usage. The patch shows how to create a remote device connection and how to manage devices in /etc/bluetooth/hosts. The multimedia chapter was extended with a description on how to set up and connect a Bluetooth audio device as a sound sink. It also adds man page references to man-refs.ent for hcsecd(8) and virtual_oss(8), respectively. I cleaned up the patch a bit for consistency and proper markup. PR: 228879 Submitted by: nekoxmachina@gmail.com Take a look at this PR by: lme --- .../books/handbook/multimedia/chapter.xml | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) (limited to 'en_US.ISO8859-1/books/handbook/multimedia/chapter.xml') diff --git a/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml b/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml index 3351673e28..a62776be79 100644 --- a/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml +++ b/en_US.ISO8859-1/books/handbook/multimedia/chapter.xml @@ -84,6 +84,10 @@ Configure an image scanner. + + + Configure a Bluetooth headset. + Before reading this chapter, you should: @@ -286,6 +290,49 @@ pcm2: <Conexant CX20590 (Analog 2.0+HP/2.0)> (play/rec) default + + Setting up Bluetooth Sound Devices + + + Bluetooth audio + + + Connecting to a Bluetooth device is out of scope for this + chapter. Refer to for more information. + + To get Bluetooth sound sink working with FreeBSD's sound + system, users have to install + audio/virtual_oss first: + + &prompt.root; pkg install virtual_oss + + audio/virtual_oss requires + cuse to be loaded into the kernel: + + &prompt.root; kldload cuse + + To load cuse during system startup, run + this command: + + &prompt.root; sysrc -f /boot/loader.conf cuse_load=yes + + To use headphones as a sound sink with + audio/virtual_oss, users need to create a + virtual device after connecting to a Bluetooth audio + device: + + &prompt.root; virtual_oss -C 2 -c 2 -r 48000 -b 16 -s 768 -R /dev/null -P /dev/bluetooth/headphones -d dsp + + + headphones in this example is + a hostname from /etc/bluetooth/hosts. + BT_ADDR could be used instead. + + + Refer to &man.virtual_oss.8; for more information. + + Troubleshooting Sound -- cgit v1.2.3