← Back to team overview

kernel-packages team mailing list archive

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

 

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 Kernel
Packages, which is subscribed to bluez in 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.)

Status in “bluez” package in Ubuntu:
  Confirmed
Status in “pulseaudio” package in Ubuntu:
  Invalid
Status in “bluez” package in Debian:
  Fix Released

Bug description:
  All my A2DP profile devices can't create a audio device properly...
  My 2 13.04 machines both have this issue(1 notebook, 2 bluetooth dongles)
  UPDATE: Upgraded to 13.10, still reproducible

  Possible root cause & fix: Please refer #15

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: bluez 4.101-0ubuntu8b1
  ProcVersionSignature: Ubuntu 3.8.0-21.32-generic 3.8.8
  Uname: Linux 3.8.0-21-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  Date: Tue Jul  9 01:01:38 2013
  InstallationDate: Installed on 2013-01-26 (162 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130126)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: System manufacturer System Product Name
  MarkForUpload: True
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-21-generic root=UUID=9bce9679-da3a-44fd-84ec-b16339a84004 ro quiet splash vt.handoff=7
  SourcePackage: bluez
  UpgradeStatus: Upgraded to raring on 2013-03-01 (128 days ago)
  dmi.bios.date: 08/18/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1101
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P7H55-M
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1101:bd08/18/2010:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP7H55-M:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  hciconfig:
   hci0:	Type: BR/EDR  Bus: USB
    BD Address: 00:15:83:54:59:9F  ACL MTU: 310:10  SCO MTU: 64:8
    UP RUNNING PSCAN ISCAN
    RX bytes:29508 acl:1270 sco:0 events:461 errors:0
    TX bytes:5249 acl:165 sco:0 commands:95 errors:0

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