Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluetooth speaker doesn't auto-connect
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
piii_man
n00b
n00b


Joined: 18 Jul 2004
Posts: 38

PostPosted: Wed May 15, 2024 11:59 pm    Post subject: Bluetooth speaker doesn't auto-connect Reply with quote

Hi all,

I have a bluetooth speaker that I can connect to just fine using bluetoothctl. However when I restart or logout/login the speakers don't automatically reconnect. My audio stack is KDE, Pipewire, Wireplumber. My bluetooth adapter automatically is enabled on restart, it just doesn't re-establish connections.

Code:

bluetoothctl connect 01:29:B5:21:56:9B
Attempting to connect to 01:29:B5:21:56:9B
[CHG] Device 01:29:B5:21:56:9B Connected: yes
[NEW] Endpoint /org/bluez/hci0/dev_01_29_B5_21_56_9B/sep5
[NEW] Endpoint /org/bluez/hci0/dev_01_29_B5_21_56_9B/sep3
[NEW] Endpoint /org/bluez/hci0/dev_01_29_B5_21_56_9B/sep1
[NEW] Transport /org/bluez/hci0/dev_01_29_B5_21_56_9B/sep5/fd5
Connection successful


I have set the device to trusted, which I thought should allow auto-reconnection:

Code:

bluetoothctl info 01:29:B5:21:56:9B
Device 01:29:B5:21:56:9B (public)
        Name: Audioengine 2+
        Alias: Audioengine 2+
        Class: 0x00200428 (2098216)
        Icon: audio-card
        Paired: yes
        Bonded: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)


I honestly don't know where to begin with this one. What service owns reconnecting a Bluetooth device? Is it bluedevlil? bluetooth.service? Any advice here would be helpful.
Back to top
View user's profile Send private message
iq8qi
n00b
n00b


Joined: 15 May 2024
Posts: 2
Location: Poland, Masovian

PostPosted: Thu May 16, 2024 7:02 am    Post subject: Reply with quote

Since You are using kde plasma maybe You would like to install kde-plasma/bluedevil
Managing speakers with graphical interface may resolve the issue

I saw here https://unix.stackexchange.com/questions/334386/how-to-set-up-automatic-connection-of-bluetooth-headset that some people are using an script to connect they headsets, maybe it will be a temporary workaround for You

Also I found this https://wiki.archlinux.org/title/bluetooth_headset?ref=itsfoss.com#Setting_up_auto_connection, but it require PulseAudio so it might require switching

Hope anything above helps
Back to top
View user's profile Send private message
piii_man
n00b
n00b


Joined: 18 Jul 2004
Posts: 38

PostPosted: Thu May 16, 2024 8:42 am    Post subject: Reply with quote

Thanks for your reply. Interestingly I also stumbled across that StackExchange post is what prompted me to investigate the device was set as trusted (which it was).

I have BlueDevil installed and unfortunately it does not restore the connection state after logout.
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
Page 1 of 1

 
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