Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Unable to connect bluetooth headset to pipewire
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
KhoDialga
n00b
n00b


Joined: 25 Jun 2024
Posts: 16

PostPosted: Sat Jun 29, 2024 12:13 am    Post subject: Reply with quote

Excluding when I run pulseaudio instead of pipewire, they've never worked before, and they work fine on Arch and Void with pipewire.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Sat Jun 29, 2024 12:44 am    Post subject: Reply with quote

You probably need a good config for pipewire, I'm not sure what default, if any, is being used.

I would at least copy pipewire.conf and wireplumber.conf to .config/pipewire and .config/wireplumber from /usr/share/pipewire and wireplumber

If you have the config files from either Arch or Void you could probably use those.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
KhoDialga
n00b
n00b


Joined: 25 Jun 2024
Posts: 16

PostPosted: Sat Jun 29, 2024 1:10 am    Post subject: Reply with quote

I downloaded the Arch Linux packages for pipewire and wireplumber, and copied the config files they included onto my .config folder, but again, nothing changed. On a possibly unrelated note, I'm not sure whether this relates to pipewire, but elogind isn't starting up correctly.
Running loginctl shows:
Code:

Failed to list sessions: The name org.freedesktop.login1 was not provided by any .service files

If that is indeed the issue, should I open another thread for this?
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Sat Jun 29, 2024 10:43 am    Post subject: Reply with quote

Do you use elogind? Is wireplumber compiled with elogind use flag? if so then yes, elogind needs to be running.

Whether this thread or another it needs to be addressed.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
KhoDialga
n00b
n00b


Joined: 25 Jun 2024
Posts: 16

PostPosted: Sun Jun 30, 2024 6:29 pm    Post subject: Reply with quote

Wireplumber is compiled with the elogind use flag, which is enabled globally, and I have the elogind service enabled at boot level, and running ps -afex | grep elogind shows that elogind-daemon is running, but I have no clue if it found an error. Sorry for taking so long to answer btw.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6145
Location: Dallas area

PostPosted: Sun Jun 30, 2024 7:44 pm    Post subject: Reply with quote

You need a copy of wireplumber.conf, if you don't have one, copy from /usr/share/wireplumber, and put in .config/wireplumber

look for wireplumber.profiles, then main below and add this to the bottom of main.

Code:
monitor.bluez.seat-monitoring = disabled


save and restart wireplumber and see if it will connect.
I had forgotten that monitoring might need to be disabled.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
KhoDialga
n00b
n00b


Joined: 25 Jun 2024
Posts: 16

PostPosted: Mon Jul 01, 2024 1:11 am    Post subject: Reply with quote

Anon-E-moose wrote:
You need a copy of wireplumber.conf, if you don't have one, copy from /usr/share/wireplumber, and put in .config/wireplumber

look for wireplumber.profiles, then main below and add this to the bottom of main.

Code:
monitor.bluez.seat-monitoring = disabled


save and restart wireplumber and see if it will connect.
I had forgotten that monitoring might need to be disabled.


That fixed it! Thank you so much for the help!
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2234
Location: Barcelona

PostPosted: Sat Jul 13, 2024 2:36 pm    Post subject: Reply with quote

I have a similar problem

With kernel gentoo-sources-6.6.21, bluetooth headphone works OK. It has 2 profiles (AD2P and HFP) and it reports battery charge status

With 6.6.30 or 6.6.28 kernel, the headphone connects for a few seconds and then disconnects , If occasionaly works, it only has the AD2P profile. And there is no battery info.

What's the problem?
_________________
pcmaster
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum