thewierdnut / asha_pipewire_sink

Asha audio protocol implementation for linux.
The Unlicense
28 stars 3 forks source link

Not work with bluez 5.77 and pipewire 1.2.1 #23

Closed tomektom closed 3 months ago

tomektom commented 4 months ago

I recently updated my system and among other changes there was bluez upgrade to 5.77 and pipewire to 1.2.1. Also since this update my hearing aids automatically connect when BT is enabled. Last time when I checked, everything worked (somehow) -> #10

Connection test from latest commit (older commits also not work, same result) :

./asha_connection_test
(process:13010): GLib-GIO-DEBUG: 18:34:20.619: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
** INFO: 18:34:20.627: Adding bluetooth device TOMASZ
** INFO: 18:34:20.634: TOMASZ is not an asha-enabled device
** INFO: 18:34:20.636: Adding bluetooth device TOMASZ
** INFO: 18:34:20.642: TOMASZ is not an asha-enabled device
^CStopping...

And btmoon result from this – started test, enabled hearing aids and then connection test connection.snoop.txt

Also, pipewire sink don't create sink – maybe because TOMASZ is not an asha-enabled device?

thewierdnut commented 4 months ago

bluez 5.77 contains the new asha code written by @ford-prefect. It is known not to work with this project, though I haven't dug into the details to figure out why.

barolo commented 3 months ago

Weirdly enough I'm using the same versions and have no issues. Isn't the asha stuff under experimental toggle?

tomektom commented 3 months ago

I discovered what's issue (at least how to solve this). In /etc/bluetooth/main.conf you must set Experimental to false. It's by default set to false but I had it set to true for battery status for other device :sweat_smile: