Comment 49 for bug 1181106

Revision history for this message
f mds (fmds) wrote : Re: Failed to change profile to A2DP in 13.04 (Raring), 13.10 (saucy), and 14.04 (trusty)

Hi,
Before update error
fmds@fmds-note:~$ sudo grep a2dp /var/log/syslog
[sudo] password for fmds:
Nov 10 13:05:12 fmds-note pulseaudio[2183]: [pulseaudio] module.c: Failed to load module "module-bluetooth-device" (argument: "address=5C:32:5B:00:A1:92 profile=a2dp"): initialization failed.
Nov 10 21:24:40 fmds-note pulseaudio[2078]: [pulseaudio] module-bluetooth-device.c: Profile not connected, refused to switch profile to a2dp

In atached file package's install bluetooth

After update kernel 3.19.0-33 *** connection A2DP successful
fmds@fmds-note:~$ uname -a
Linux fmds-note 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

/var/log/syslog
Nov 10 21:25:37 fmds-note bluetoothd[890]: /org/bluez/890/hci0/dev_5C_32_5B_00_A1_92/fd3: fd(25) ready
Nov 10 21:25:41 fmds-note bluetoothd[890]: Audio connection got disconnected
Nov 10 21:25:41 fmds-note bluetoothd[890]: /org/bluez/890/hci0/dev_5C_32_5B_00_A1_92/fd4: fd(24) ready
Nov 10 21:35:23 fmds-note pulseaudio[2078]: [bluetooth] module-bluetooth-device.c: Skipping 10685 us (= 1884 bytes) in audio stream
Nov 10 21:41:23 fmds-note pulseaudio[2078]: [bluetooth] module-bluetooth-device.c: Skipping 1083 us (= 188 bytes) in audio stream

My /etc/bluetooth/audio.conf

# 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
Enable=Source,Sink,Media
Disable=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

# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
MaxConnected=1

# 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