← Back to team overview

touch-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)

 

I found this affecting 14.04 Trusty.

$ pactl set-card-profile bluez_card.30_17_C8_8B_DF_B1 a2dp
Failure: Input/Output error

so I thought I'd capture some debug logging to "/var/log/syslog" from
bluetoothd (system daemon) by adding "-d" (debug logging) to the Upstart
service file ("/etc/init/bluetooth.conf") so the line reads

exec /usr/sbin/bluetoothd -d

I then restarted the service with

sudo service bluetooth restart

and reconnected to the A2DP headset. I was surprised to see that the
A2DP profile immediately connected!

I then experimented with changing the profile to see if I could
reproduce the error but found that, so far, I cannot:

$ pactl set-card-profile bluez_card.30_17_C8_8B_DF_B1 hsp
$ pactl set-card-profile bluez_card.30_17_C8_8B_DF_B1 a2dp
$

Maybe after a power-off restart, or suspend/resume cycle, the issue will
return, but it seems that restarting the bluetooth service and
reconnecting to the headset solves the issue in my scenario.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded 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

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