Thread (4 messages) read the whole thread 4 messages, 2 authors, 2012-07-21

RE: FW: Can no longer connect to audio stream with bluez > 0.96 and pulseaudio-2

From: John Frankish <hidden>
Date: 2012-07-21 08:05:02

-----Original Message-----
From: Mikel Astiz [mailto:mikel.astiz.oss@gmail.com]
Sent: Saturday, 21 July, 2012 11:15
To: John Frankish
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: FW: Can no longer connect to audio stream with bluez > 0.96 and
pulseaudio-2

Hi John,

On Sat, Jul 21, 2012 at 8:57 AM, John Frankish [off-list ref] wrote:
quoted
Forgot bluetoothd output - added below

-----Original Message-----
From: John Frankish
Sent: Friday, 20 July, 2012 21:19
To: linux-bluetooth@vger.kernel.org
Subject: Can no longer connect to audio stream with bluez > 0.96 and
pulseaudio-2

Using bluez-0.96 and pulseaudio-1.xx I could use bluetooth headphones
without problems using blueman-1.23 to connect to an a2dp sink.
quoted
With bluez-0.99/0.101 and pulseaudio-2 I can no longer connect and
blueman gives the following error:
quoted
Stream setup failed

I see that bluez has moved to the MediaEndpoint format and that I need a
/usr/local/etc/bluetooth/audio.conf for the first time, but things still don't
work (details below), there are no error messages to speak of, am I doing
something wrong?

I can't tell for sure but I can reproduce similar problem with a2dp sources. I
actually fails with some devices only, so chances are that it's due to some
race condition.

This seems to be a regression introduced recently, which I didn't have time to
check further.

In any case, could you provide us with the audio.conf you're using?
----------------
Here's the latest attempt at an audio.conf, which BTW, "make install" does not copy to the file system, despite "--enable-datafiles"

[General]
Enable=Source,Sink,Headset,Gateway,Control,Media

Master=true

AutoConnect=true

[Headset]
HFP=true

MaxConnected=1

FastConnectable=false

----
Note that I'm using the latest mac mini server, which seems to have an odd BT setup:

$ lsusb -vv
Bus 001 Device 003: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0         8
  idVendor           0x0a5c Broadcom Corp.
  idProduct          0x4500 BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
  bcdDevice            1.00
  iManufacturer           1 Apple Inc.
  iProduct                2 BRCM20702 Hub


Bus 001 Device 008: ID 05ac:8281 Apple, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         1 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  idVendor           0x05ac Apple, Inc.
  idProduct          0x8281 
  bcdDevice            0.38
  iManufacturer           1 Apple Inc.
  iProduct                2 Bluetooth USB Host Controller
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help