Bluetooth headset

This article describes the configuration of a Bluetooth headset.

Prerequisites
This article assumes that Bluetooth and ALSA have been previously configured.

ALSA

 * Add one of the following code snippets to (system-wide) or  (user-level), and substitute the MAC address with the MAC address of your Bluetooth device.

OpenRC
 * Restart ALSA.

systemd

Testing

 * Play a sound file.

If it works, please add your device to the table of working devices.

Audio socket
Some setups (non-PulseAudio) need Socket enabled, if there's no sound.

BlueZ 5
Non-PulseAudio setups need to skip BlueZ 5 for now, as the ALSA plugin has been removed.

Can't open input device
Compile and load the uinput kernel module, when things don't work, and the logs show this error: Output of Syslog

No audio service is available
After updating to -5.xx it might happen, that a Bluetooth headset is connected, but ALSA / PulseAudio fails to pick up the connected device.

An error message like this might be shown in the output of PulseAudio: Debug output of PulseAudio

To fix this, the following needs to be done:
 * 1) Enable the audio socket of bluetoothd


 * 1) Restart bluetoothd by doing one of the following things:
 * 2) * Turn the software wireless kill switch off and on again


 * 1) * Turn the hardware wireless kill switch off and on again
 * 2) * Reboot the computer
 * 3) Reconnect the Bluetooth headset