2021-03-31 14:55:51

by [email protected]

[permalink] [raw]
Subject: cannot get a2dp profile enabled

Hello,

I hope this is the place to ask for user questions, bluez.org offers no
other mailing list....

I have a Jabra headphone/headset device and pulseaudio can´t activate
the a2dp_sink, I want to be sure, A2DP is properly enabled in bluez.

bluetoothctl info MAC-OF-HEADPHONE says:

UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)

Thus, the device supports a2dp.

At the bottom I put output from "show CONTROLLER-MAC".

I tried

register-service 0000110d-0000-1000-8000-00805f9b34fb

to no avail, still no a2dp_sink in pulseaudio.

How can I ensure using bluetoothctl that a2dp is really enabled in bluez?

I´m not sure, if I deal with a bluetooth or pulseaudio issue, I want to
exclude a misconfigured bt device.

I´m using bluez 5.48 and kernel 5.11.3.

Thank you very much in advance!



This is the output from bluetoothctl show CONTROLLER-MAC:


Controller 00:F4:8D:C9:40:5E (public)
Name: foobar
Alias: onboard
Class: 0x007c010c
Powered: yes
Discoverable: no
Pairable: yes
UUID: Message Notification Se..
(00001133-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control
(0000110e-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push
(00001105-0000-1000-8000-00805f9b34fb)
UUID: Message Access Server
(00001132-0000-1000-8000-00805f9b34fb)
UUID: IrMC Sync
(00001104-0000-1000-8000-00805f9b34fb)
UUID: PnP Information
(00001200-0000-1000-8000-00805f9b34fb)
UUID: Vendor specific
(00005005-0000-1000-8000-0002ee000001)
UUID: Headset AG
(00001112-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target
(0000110c-0000-1000-8000-00805f9b34fb)
UUID: Headset
(00001108-0000-1000-8000-00805f9b34fb)
UUID: Phonebook Access Server
(0000112f-0000-1000-8000-00805f9b34fb)
UUID: Audio Sink
(0000110b-0000-1000-8000-00805f9b34fb)
UUID: Generic Access Profile
(00001800-0000-1000-8000-00805f9b34fb)
UUID: Generic Attribute Profile
(00001801-0000-1000-8000-00805f9b34fb)
UUID: Handsfree Audio Gateway
(0000111f-0000-1000-8000-00805f9b34fb)
UUID: Audio Source
(0000110a-0000-1000-8000-00805f9b34fb)
UUID: OBEX File Transfer
(00001106-0000-1000-8000-00805f9b34fb)
UUID: Handsfree
(0000111e-0000-1000-8000-00805f9b34fb)
Modalias: usb:v1D6Bp0246d0530
Discovering: no


2021-03-31 18:39:41

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: cannot get a2dp profile enabled

Hi,

On Wed, Mar 31, 2021 at 7:55 AM [email protected]
<[email protected]> wrote:
>
> Hello,
>
> I hope this is the place to ask for user questions, bluez.org offers no
> other mailing list....

People start using github for this type of problems:

https://github.com/bluez/bluez/issues

> I have a Jabra headphone/headset device and pulseaudio can´t activate
> the a2dp_sink, I want to be sure, A2DP is properly enabled in bluez.
>
> bluetoothctl info MAC-OF-HEADPHONE says:
>
> UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
>
> Thus, the device supports a2dp.
>
> At the bottom I put output from "show CONTROLLER-MAC".
>
> I tried
>
> register-service 0000110d-0000-1000-8000-00805f9b34fb
>
> to no avail, still no a2dp_sink in pulseaudio.
>
> How can I ensure using bluetoothctl that a2dp is really enabled in bluez?
>
> I´m not sure, if I deal with a bluetooth or pulseaudio issue, I want to
> exclude a misconfigured bt device.
>
> I´m using bluez 5.48 and kernel 5.11.3.
>
> Thank you very much in advance!
>
>
>
> This is the output from bluetoothctl show CONTROLLER-MAC:
>
>
> Controller 00:F4:8D:C9:40:5E (public)
> Name: foobar
> Alias: onboard
> Class: 0x007c010c
> Powered: yes
> Discoverable: no
> Pairable: yes
> UUID: Message Notification Se..
> (00001133-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control
> (0000110e-0000-1000-8000-00805f9b34fb)
> UUID: OBEX Object Push
> (00001105-0000-1000-8000-00805f9b34fb)
> UUID: Message Access Server
> (00001132-0000-1000-8000-00805f9b34fb)
> UUID: IrMC Sync
> (00001104-0000-1000-8000-00805f9b34fb)
> UUID: PnP Information
> (00001200-0000-1000-8000-00805f9b34fb)
> UUID: Vendor specific
> (00005005-0000-1000-8000-0002ee000001)
> UUID: Headset AG
> (00001112-0000-1000-8000-00805f9b34fb)
> UUID: A/V Remote Control Target
> (0000110c-0000-1000-8000-00805f9b34fb)
> UUID: Headset
> (00001108-0000-1000-8000-00805f9b34fb)
> UUID: Phonebook Access Server
> (0000112f-0000-1000-8000-00805f9b34fb)
> UUID: Audio Sink
> (0000110b-0000-1000-8000-00805f9b34fb)
> UUID: Generic Access Profile
> (00001800-0000-1000-8000-00805f9b34fb)
> UUID: Generic Attribute Profile
> (00001801-0000-1000-8000-00805f9b34fb)
> UUID: Handsfree Audio Gateway
> (0000111f-0000-1000-8000-00805f9b34fb)
> UUID: Audio Source
> (0000110a-0000-1000-8000-00805f9b34fb)
> UUID: OBEX File Transfer
> (00001106-0000-1000-8000-00805f9b34fb)
> UUID: Handsfree
> (0000111e-0000-1000-8000-00805f9b34fb)
> Modalias: usb:v1D6Bp0246d0530
> Discovering: no

It seems you have all the profiles necessary, perhaps there is some
interoperability problem, try checking bluetoothd and btmon logs.

--
Luiz Augusto von Dentz

2021-04-01 20:21:57

by [email protected]

[permalink] [raw]
Subject: Re: cannot get a2dp profile enabled

Am 31.03.21 um 20:37 schrieb Luiz Augusto von Dentz:
> (....)
>> I have a Jabra headphone/headset device and pulseaudio can´t activate
>> the a2dp_sink, I want to be sure, A2DP is properly enabled in bluez.
>>
>> bluetoothctl info MAC-OF-HEADPHONE says:
>>
>> UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
>>
> (...)
> It seems you have all the profiles necessary, perhaps there is some
> interoperability problem, try checking bluetoothd and btmon logs.

I can´t believe, how quickly I now found the solution....
I did not have loaded the hidp module, after loading hidp the a2dp_sink
was available....
I don´t know, why hidp was not loaded automatically, but now I know it
is needed to get a2dp working. Maybe many others with the same issue
just need hidp to load...

best regards
Malte