I'm not sure this is just bluez and not a little of pulseaudio, but i'm
still not an expert.

I pulled the source for bluez and recompiled without the  
enable_audio_sources.patch file using quilt:
apt-get source bluez
quilt pop -a
quilt delete enable_audio_sources.patch
quilt push -a
debuild -us -uc
dpkg -i *.deb

This gets me audio. I've commented out everything in
/etc/bluetooth/audio.conf to leave it all to defaults. Here's what I
currently have to do to get working audio (after installing the patch-
modified version as above):

1. Computer start
2. Attempt connection to paired A2DP device. Fails ("bluetoothd: Unable to 
select SEP" in syslog)
3. pactl load-module module-bluetooth-discover (endpoints registered in syslog)
4. Attempt connection to paired A2DP device. Success! Pulseaudio device created 
and available.
5. Open Pulseaudio volume control (to assign default audio output device). 
Pulseaudio crash!:
Jan 22 23:07:11 chrispad pulseaudio[1955]: [pulseaudio] 
module-bluetooth-device.c: Failed to acquire transport 
/org/bluez/999/hci0/dev_00_02_3C_41_CA_0D/fd0
Jan 22 23:07:11 chrispad pulseaudio[1955]: [pulseaudio] 
module-bluetooth-device.c: Assertion 'u->transport' failed at 
modules/bluetooth/module-bluetooth-device.c:363, function 
bt_transport_acquire(). Aborting.
6. Attempt connection to paired A2DP device. Fails ("bluetoothd: Unable to 
select SEP" in syslog)
7. pactl load-module module-bluetooth-discover (endpoints registered in syslog)
8. Attempt connection to paired A2DP device. Success! Pulseaudio device created 
and available.
9. Open Pulseaudio volume control (to assign default audio output device). Can 
finally open and assign output device.

Pulseaudio does seem to crash, as I receive a crash report notification
after step 5, and the Volume Control loses connection to the PA server.

All the while, blueman experiences connection issues to the server,
particularly after "Unable to select SEP", though that may be poor error
handling on blueman's side.

This is on 13.04. I could upgrade to 13.10, but not sure if that will do
anything for this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1199059

Title:
  PulseAudio doesn't load bluetooth modules automatically(orig.: A2DP
  audio sink devices failed to work with "bluetoothd : Unable to select
  SEP" in system log.)

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to