← Back to team overview

desktop-packages team mailing list archive

[Bug 1181106] 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



** Attachment added: "Package installed Bluetooth"
   https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1181106/+attachment/4516550/+files/packages-bluetooth

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1181106

Title:
  Failed to change profile to A2DP in 13.04 (Raring), 13.10 (saucy), and
  14.04 (trusty)

Status in Bluez Utilities:
  New
Status in pulseaudio package in Ubuntu:
  Confirmed
Status in pulseaudio package in Debian:
  Fix Released

Bug description:
  I upgraded to 13.04 recently and my A2DP profile, which had been
  working great under 12.10 is suddenly gone.  Neither my blueman applet
  nor the built-in bluetooth manager applet can connect my external
  bluetooth speaker to the A2DP profile.  They can connect to the
  bluetooth device itself just fine.

  Steps I'm using:

  * using blueman, I can connect to the external bluetooth speaker and view the device in the devices listing
  * I can connect the device to the Audio sink and I get a message saying it is now connected and will "show in the PulseAudio mixer"
  * After connecting the external speaker to the audio sink, I can also see the device in the "Play sound through" listing in the Sound system control panel, but the icon has a circle with a line through it.
  * but if I right-click the device and choose "Audio Profile" from the context menu and try to select "High Fidelity Playback (A2DP)" as the new profile, I get an error message stating "failed to change profile to a2dp"

  I've already added "Enable=Socket" in /etc/bluetooth/audio.conf,
  without that I can't pair my headset. Now I can pair it, but I can't
  activate the A2DP profile.

  When I try to activate it, I see this message in my syslog :
  pulseaudio[2603]: [pulseaudio] module-bluetooth-device.c: Profile has no transport

  I tried the kernel 3.9.0 because of a sound problem with my soundcard,
  this kernel fixed my soundcard problem, but A2DP still doesn't work

To manage notifications about this bug go to:
https://bugs.launchpad.net/bluez/+bug/1181106/+subscriptions