You are not logged in.

#1 2024-08-07 16:25:33

i6n8pn3g
Member
Registered: 2023-09-17
Posts: 7

Pairing Problem with Bluetooth + PipeWire + Wireplumber

Hello everyone,

I'm encountering an issue while trying to connect a Bluetooth headphone on my system. When I enable Bluetooth, I receive the following errors in the journalctl logs. I'm using an Intel AX211 Bluetooth card.
PipeWire and Wireplumber are used for handling audio.

Apart from the errors for when I enable Bluetooth, I get nothing when I attempt to pair the Bluetooth audio device. I have tried a few Bluetooth audio devices, such as a speaker, a headphone etc, but none of them is working correctly.
I see that it is paired in Gnome settings, however the speaker/headphone never announced that the pairing process has taken place/succeeded, where normally the speaker/headphone will play a sound/voice when a successful pairing has taken place.

Hope someone will be able to point me to the correct direction on how to get Bluetooth audio to work.

Here are the logs:

$ lsusb -s 003:034
Bus 003 Device 034: ID 8087:0033 Intel Corp. AX211 Bluetooth
 8月 07 05:15:18 kernel: Bluetooth: hci0: Device revision is 0
 8月 07 05:15:18 kernel: Bluetooth: hci0: Secure boot is enabled
 8月 07 05:15:18 kernel: Bluetooth: hci0: OTP lock is enabled
 8月 07 05:15:18 kernel: Bluetooth: hci0: API lock is enabled
 8月 07 05:15:18 kernel: Bluetooth: hci0: Debug lock is disabled
 8月 07 05:15:18 kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
 8月 07 05:15:18 kernel: Bluetooth: hci0: Bootloader timestamp 2019.40 buildtype 1 build 38
 8月 07 05:15:18 kernel: Bluetooth: hci0: DSM reset method type: 0x00
 8月 07 05:15:18 kernel: Bluetooth: hci0: Found device firmware: intel/ibt-0040-0041.sfi
 8月 07 05:15:18 kernel: Bluetooth: hci0: Boot Address: 0x100800
 8月 07 05:15:18 kernel: Bluetooth: hci0: Firmware Version: 120-18.24
 8月 07 05:15:18 systemd[2064]: Reached target Bluetooth.
 8月 07 05:15:18 systemd[1]: Reached target Bluetooth Support.
 8月 07 05:15:19 kernel: Bluetooth: hci0: Waiting for firmware download to complete
 8月 07 05:15:19 kernel: Bluetooth: hci0: Firmware loaded in 1412678 usecs
 8月 07 05:15:19 kernel: Bluetooth: hci0: Waiting for device to boot
 8月 07 05:15:19 kernel: Bluetooth: hci0: Malformed MSFT vendor event: 0x02
 8月 07 05:15:19 kernel: Bluetooth: hci0: Device booted in 16623 usecs
 8月 07 05:15:19 kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0040-0041.ddc
 8月 07 05:15:19 kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
 8月 07 05:15:19 kernel: Bluetooth: hci0: Firmware timestamp 2024.18 buildtype 1 build 81528
 8月 07 05:15:19 kernel: Bluetooth: hci0: Firmware SHA1: 0xa8bb3f39
 8月 07 05:15:19 kernel: Bluetooth: hci0: Fseq status: Success (0x00)
 8月 07 05:15:19 kernel: Bluetooth: hci0: Fseq executed: 00.00.02.41
 8月 07 05:15:19 kernel: Bluetooth: hci0: Fseq BT Top: 00.00.02.41
 8月 07 05:15:19 bluetoothd[1936]: Battery Provider Manager created
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/avrcp.c:avrcp_controller_server_probe() Unable to register AVRCP service record
 8月 07 05:15:19 bluetoothd[1936]: avrcp-controller: Operation not permitted (1)
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/avrcp.c:avrcp_target_server_probe() Unable to register AVRCP target service record
 8月 07 05:15:19 bluetoothd[1936]: audio-avrcp-target: Operation not permitted (1)
 8月 07 05:15:19 bluetoothd[1936]: src/profile.c:ext_register_record() Failed to register service record
 8月 07 05:15:19 bluetoothd[1936]: src/profile.c:ext_register_record() Failed to register service record
 8月 07 05:15:19 kernel: Bluetooth: MGMT ver 1.22
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/ldac: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSink/aptx_hd: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/aptx_hd: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSink/aptx: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/aptx: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSink/aac: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/aac: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSink/opus_g: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/opus_g: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSink/sbc: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/sbc: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/aptx_ll_1: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/aptx_ll_0: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/aptx_ll_duplex_1: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/aptx_ll_duplex_0: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/faststream: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/faststream_duplex: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSink/opus_05: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/opus_05: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSink/opus_05_duplex: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:app_register_endpoint() Unable to register endpoint :1.62:/MediaEndpoint/A2DPSource/opus_05_duplex: Success
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:client_ready_cb() No valid external Media objects found
 8月 07 05:15:19 wireplumber[2884]: spa.bluez5: RegisterApplication() failed: org.bluez.Error.Failed
 8月 07 05:15:19 wireplumber[2884]: spa.bluez5: Using legacy bluez5 API for A2DP - only SBC will be supported. Please upgrade bluez5.
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110a-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 bluetoothd[1936]: profiles/audio/media.c:media_endpoint_create() Unable initialize endpoint for UUID 0000110b-0000-1000-8000-00805f9b34fb
 8月 07 05:15:19 wireplumber[2884]: spa.bluez5: RegisterEndpoint() failed: org.bluez.Error.InvalidArguments
 8月 07 05:15:19 wireplumber[2884]: spa.bluez5: RegisterEndpoint() failed: org.bluez.Error.InvalidArguments
 8月 07 05:15:23 systemd[1]: systemd-rfkill.service: Deactivated successfully.

Offline

#2 2024-08-09 09:44:56

bonbon12
Member
Registered: 2024-08-08
Posts: 7

Re: Pairing Problem with Bluetooth + PipeWire + Wireplumber

If you are sure everything is updated (especially bluez, bluez-utils, pipewire, wireplumber, and pulseaudio ++ sudo pacman -Syu), you can try restarting the bluetooth service with:

sudo systemctl restart bluetooth.service

and reinstalling BlueZ:

sudo pacman -S bluez bluez-utils

You can also try using bluetoothctl to pair your Bluetooth devices:

bluetoothctl

Last edited by bonbon12 (2024-08-09 09:47:42)


Have a great day smile

Create website designs

Offline

#3 2024-08-10 17:49:31

gcb
Member
Registered: 2014-02-12
Posts: 212

Re: Pairing Problem with Bluetooth + PipeWire + Wireplumber

Avoid intel based wifi+bluetooth dongles! They work fine on PCI boards, infact they are great on pci models, but on USB they are often installed with less components and bluez do not play well with them. I tested some four chinese models using AX23 a few years ago and none of the usb ones had the correct reference implementation. They always cut corners and then shipped with windows drivers to work around those corners.

anyway, what do you see on `bluetoothctl  show` after the steps from bonbon12?

Last edited by gcb (2024-08-10 17:49:54)

Offline

Board footer

Powered by FluxBB