← Back to team overview

kernel-packages team mailing list archive

[Bug 1179801] Re: Can't connect to A2DP Device in Ubuntu 13.04

 

I have the same problem in Ubuntu 13.10 when trying to connect to a
Creative D100 device.

The device connects successfully but the audio sink cannot be set:
"Connection Failed: Stream setup failed" message appears and the
following line appears in /var/log/syslog:

May 25 20:43:18 machinename bluetoothd[763]: Unable to select SEP


I hope it helps.

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

Title:
  Can't connect to A2DP Device in Ubuntu 13.04

Status in The Linux Kernel:
  Invalid
Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  I just upgrade my system from Ubuntu 12.04.1 to Ubuntu 13.04. And I
  found my bluetooth headset which work on Ubuntu 12.04.1 can not work
  on 13.04. My laptop is lenovo X200.

  While I setup the device as Audio Sink with Blueman,  It always report
  "Device added, but connection failed.". And if just set it as Audio
  Sink, It report "Stream setup failed".

  I check /var/log/syslog, and found the bluetoothd has some error
  report:

  bluetoothd[6054]: Permission denied (13)

  if I run bluetoothd with command "bluetooth -dn", the error output:

  bluetoothd[6231]: audio/avdtp.c:avdtp_ref() 0x7fbd674d4de0: ref=2
  bluetoothd[6231]: audio/sink.c:sink_set_state() State changed /org/bluez/6231/hci0/dev_00_11_B1_08_27_13: SINK_STATE_DISCONNECTED -> SINK_STATE_CONNECTING
  bluetoothd[6231]: audio/sink.c:sink_connect() stream creation in progress
  bluetoothd[6231]: plugins/mgmtops.c:mgmt_event() cond 1
  bluetoothd[6231]: plugins/mgmtops.c:mgmt_event() Received 36 bytes from management socket
  bluetoothd[6231]: plugins/mgmtops.c:mgmt_device_connected() hci0 device 00:11:B1:08:27:13 connected eir_len 17
  bluetoothd[6231]: src/adapter.c:adapter_get_device() 00:11:B1:08:27:13
  bluetoothd[6231]: plugins/mgmtops.c:mgmt_event() cond 1
  bluetoothd[6231]: plugins/mgmtops.c:mgmt_event() Received 14 bytes from management socket
  bluetoothd[6231]: plugins/mgmtops.c:mgmt_auth_failed() hci0 auth failed status 5
  bluetoothd[6231]: src/device.c:device_bonding_complete() bonding (nil) status 0x05
  bluetoothd[6231]: Permission denied (13)
  bluetoothd[6231]: audio/avdtp.c:connection_lost() Disconnected from 00:11:B1:08:27:13
  bluetoothd[6231]: audio/avdtp.c:avdtp_unref() 0x7fbd674d4de0: ref=1
  bluetoothd[6231]: audio/sink.c:sink_set_state() State changed /org/bluez/6231/hci0/dev_00_11_B1_08_27_13: SINK_STATE_CONNECTING -> SINK_STATE_DISCONNECTED
  bluetoothd[6231]: audio/sink.c:discovery_complete() connect:connect XCASE detected
  bluetoothd[6231]: audio/sink.c:sink_set_state() State changed /org/bluez/6231/hci0/dev_00_11_B1_08_27_13: SINK_STATE_DISCONNECTED -> SINK_STATE_DISCONNECTED
  bluetoothd[6231]: audio/device.c:device_set_state() state change attempted from disconnected to disconnected
  bluetoothd[6231]: audio/avdtp.c:avdtp_unref() 0x7fbd674d4de0: ref=0
  bluetoothd[6231]: audio/avdtp.c:avdtp_unref() 0x7fbd674d4de0: freeing session and removing from list
  bluetoothd[6231]: audio/sink.c:stream_setup_retry() Stream setup failed, after XCASE connect:connect

  My /etc/bluetooth/audio.conf file contain the line in General section:
  Enable=Source,Sink,Headset,Gateway,Control,Media,Socket

  My bluez version is 4.101-0ubuntu8b1, pulseaudio version is
  1:3.0-0ubuntu6, and kernel is 3.8.0-19-generic x86_64.

  Does anyone can help me figure out what happen and how to solve it?
  --- 
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  AudioDevicesInUse:
   使用者      PID 存取命令
   /dev/snd/controlC0:  billy3321   3049 F.... pulseaudio
  DistroRelease: Ubuntu 13.04
  HibernationDevice: RESUME=UUID=f76cdfcc-0572-42c1-8e1c-fa0ad5f31db8
  InstallationDate: Installed on 2013-05-10 (4 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MachineType: LENOVO 7458AJ4
  MarkForUpload: True
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-19-generic root=UUID=4b12488b-151b-4153-87c2-43737dd6660e ro quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
  RelatedPackageVersions:
   linux-restricted-modules-3.8.0-19-generic N/A
   linux-backports-modules-3.8.0-19-generic  N/A
   linux-firmware                            1.106
  Tags:  raring
  Uname: Linux 3.8.0-19-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm audio bluetooth cdrom dialout dip lpadmin plugdev sambashare sudo video
  dmi.bios.date: 03/10/2010
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 6DET63WW (3.13 )
  dmi.board.name: 7458AJ4
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: dmi:bvnLENOVO:bvr6DET63WW(3.13):bd03/10/2010:svnLENOVO:pn7458AJ4:pvrThinkPadX200:rvnLENOVO:rn7458AJ4:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 7458AJ4
  dmi.product.version: ThinkPad X200
  dmi.sys.vendor: LENOVO

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