14.04 bluetooth headset won't save a2dp setting
Since updating to ubuntu 14.04, every time my Bluetooth device goes idle or I turn it off then back on, it defaults to the Telephony setting and I cannot get it to default to a2dp.
I have searched and only found a couple possible solutions such as
Bluetooth speaker: preferred mode “High fidelity playback” (A2DP) is not getting saved
but these haven't worked for me. When I use the Disable=Headset
as suggested in that post, it works temporarily but after a while, if my device disconnects it will then not reconnect as an audio device.
I'm using Bose Soundlink headphones and my /etc/bluetooth/audio.conf
file is as follows:
# Configuration file for the audio service
# This section contains options which are not specific to any
# particular interface
[General]
# Switch to master role for incoming connections (defaults to true)
#Master=true
# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Gateway,Source,Socket
# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM
# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
AutoConnect=true
# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
[Headset]
# Set to true to support HFP, false means only HSP is supported
# Defaults to true
HFP=false
HSP=false
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=0
# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incoming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable=false
# Just an example of potential config options for the other interfaces
#[A2DP]
#SBCSources=1
#MPEG12Sources=0
Using pavucontrol
from the pavucontrol package, it is really easy to setup A2DP for your device, and map connections to it. Your paired headphones should appear as an option to output audio.
Don't forget to put it in high quality mode (A2DP) in the configuration tab. This is necessary for some devices that have mixed mode.
Source: https://wiki.debian.org/BluetoothUser/a2dp