Github messages for voidlinux
 help / color / mirror / Atom feed
From: dwhughes <dwhughes@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
Date: Mon, 20 Feb 2023 22:18:57 +0100	[thread overview]
Message-ID: <20230220211857.gsSV5nJbxbycljivtEeLVx1jaR8iCG494WhaWBY79-Q@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40018@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 4523 bytes --]

New comment by dwhughes on void-packages repository

https://github.com/void-linux/void-packages/issues/40018#issuecomment-1437556594

Comment:
A few days ago my Bluetooth headphones stopped connecting with the same `br-connection-profile-unavailable` message.

I tried resetting the system state by first removing the device (`remove F8:4E:17:C3:AE:7E` in bluetoothctl), then powering down for half a minute, booting again and re-adding the device via `bluetoothctl`. No change in behaviour.

<details>
<summary>bluetoothctl session transcript (information from other devices elided)</summary>

```
[bluetooth]# scan on
[NEW] Device F8:4E:17:C3:AE:7E WH-1000XM4
[bluetooth]# pair F8:4E:17:C3:AE:7E
Attempting to pair with F8:4E:17:C3:AE:7E
[CHG] Device F8:4E:17:C3:AE:7E Connected: yes
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 00000000-deca-fade-deca-deafdecacaff
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 00001108-0000-1000-8000-00805f9b34fb
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 0000110b-0000-1000-8000-00805f9b34fb
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 0000110c-0000-1000-8000-00805f9b34fb
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 0000110e-0000-1000-8000-00805f9b34fb
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 0000111e-0000-1000-8000-00805f9b34fb
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 81c2e72a-0591-443e-a1ff-05f988593351
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 8901dfa8-5c7e-4d8f-9f0c-c2b70683f5f0
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 931c7e8a-540f-4686-b798-e8df0a2ad9f7
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: 96cc203e-5068-46ad-b32d-e316f5e069ba
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: b9b213ce-eeab-49e4-8fd9-aa478ed1b26b
[CHG] Device F8:4E:17:C3:AE:7E UUIDs: f8d1fbe4-7966-4334-8024-ff96c9330e15
[CHG] Device F8:4E:17:C3:AE:7E ServicesResolved: yes
[CHG] Device F8:4E:17:C3:AE:7E Paired: yes
Pairing successful
[CHG] Device F8:4E:17:C3:AE:7E ServicesResolved: no
[CHG] Device F8:4E:17:C3:AE:7E Connected: no
[bluetooth]# trust F8:4E:17:C3:AE:7E
[CHG] Device F8:4E:17:C3:AE:7E Trusted: yes
Changing F8:4E:17:C3:AE:7E trust succeeded
[bluetooth]# connect F8:4E:17:C3:AE:7E
Attempting to connect to F8:4E:17:C3:AE:7E
Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable
```

</details>

I'm on Ubuntu Jammy, Linux 5.19.0-32-generic (with a heavily personalised SwayWM environment, but I hope that isn't relevant as it worked before and I'm _mostly_ sure I didn't change my environment).

**Package versions and recent changes:**

* bluez: 5.64-0ubuntu1
* pipewire: 0.3.48-1ubuntu3
* libspa*bluetooth: _not installed_

The absence of `libspa-0.2-bluetooth` etc. is presumably irrelevant as my system worked fine without it before.

I checked my `apt` history (`grep -e blue -e pipewire /var/log/apt/history.log`) and I see only one Pipewire- or Bluetooth-related change. Four days ago, I ran `apt install wireplumber` (I forget why) and this changed some packages:

```
Install: pipewire-pulse:amd64 (0.3.48-1ubuntu3, automatic), wireplumber:amd64 (0.4.8-4), libwireplumber-0.4-0:amd64 (0.4.8-4, automatic)
Remove: pipewire-media-session:amd64 (0.4.1-2ubuntu1)
```

I have tried to reverse this by running `apt install pipewire-media-session` (which forces uninstall of wireplumber) and re-running the powercycle-scan-pair-connect recipe above. No improvement.

**Other details:**

Kernel dmesg records no Bluetooth-related messages during the pairing/connection attempt.

`bluetooth.service` systemd journal says:

```
Feb 20 21:43:13 skierfe systemd[1]: Started Bluetooth service.
Feb 20 21:43:13 skierfe bluetoothd[1481]: Starting SDP server
Feb 20 21:43:13 skierfe bluetoothd[1481]: Bluetooth management interface 1.22 initialized
Feb 20 21:44:29 skierfe bluetoothd[1481]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for F8:4E:17:C3:AE:7E: Protocol not available
```

There are a lot of suggested fixes in this thread which seem unlikely to be effective (e.g. "install libspa-bluetooth", when my `apt` history shows that it wasn't installed previously). I would be grateful for advice on which tests to prioritise before I start confusing things with arbitrary changes.

I would _really really love_ if this behaviour could be made more transparent for an "average geek" user. The inscrutability of this error makes it difficult for someone like me, with some geek-fu but mediocre Bluetooth knowledge, to get traction on the issue.


  parent reply	other threads:[~2023-02-20 21:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-18  8:30 [ISSUE] " LinArcX
2022-10-18 12:05 ` Duncaen
2022-10-18 12:27 ` LinArcX
2022-10-18 13:06 ` paper42
2022-10-18 15:55 ` LinArcX
2022-10-18 16:03 ` LinArcX
2022-10-18 16:14 ` LinArcX
2022-10-18 16:27 ` LinArcX
2022-10-26 23:11 ` runrin
2022-12-10  8:20 ` eoli3n
2022-12-10  8:24 ` eoli3n
2023-01-20 18:48 ` cybergsus
2023-01-20 18:49 ` cybergsus
2023-01-20 20:34 ` paper42
2023-01-24  9:38 ` cybergsus
2023-01-24  9:39 ` cybergsus
2023-01-24  9:39 ` cybergsus
2023-01-24  9:43 ` cybergsus
2023-01-24  9:43 ` cybergsus
2023-02-20 21:18 ` dwhughes [this message]
2023-02-20 21:22 ` dwhughes
2023-08-21  5:46 ` GrubBox
2023-08-21  5:48 ` GrubBox
2023-08-21  5:48 ` GrubBox
2023-08-21  5:48 ` GrubBox
2023-08-21  5:49 ` GrubBox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230220211857.gsSV5nJbxbycljivtEeLVx1jaR8iCG494WhaWBY79-Q@z \
    --to=dwhughes@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).