You are not logged in.

#1 2021-07-24 16:58:29

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

[SLVD] Bluetooth disabled when resuming from suspend since latest upd.

Hey,

Since I updated my system a few days ago, Bluetooth is suddenly disabled when resuming from suspend. I have to re-enable it every time, e.g., by clicking on the blueman-applet symbol in the sys tray.

I'm on a Lenovo Thinkpad T480 running vanilla kernel 5.13.4 and i3 wm with the blueman-applet. File /etc/bluetooth/main.conf is default, i.e., nothing set and all options commented out.

Any hints where to look?

Thanks! Seb

Last edited by epinephrine (2021-07-25 15:39:30)

Offline

#2 2021-07-25 15:16:29

brandonlotero
Member
Registered: 2021-07-22
Posts: 6

Re: [SLVD] Bluetooth disabled when resuming from suspend since latest upd.

Greetings, perhaps blueman's service gets disabled for some reason, it might be better if you use bluetoothctl instead for enabling the service. If you use xinit or xprofile, you might be interested to include a line like:

bluetoothctl power on

in your .xinit or .xprofile. I use it this way and it never gives me issues when suspending or rebooting in my qtile desktop.

If this doesn't work for you figure out exactly what's happening by writing

systemctl status bluetooth 

After this, if you find issues from the prevoius output, play with some of the commands offered by

 bluetoothctl --help 

Most common problems might be related to the agent and the power status itself.
These ways are more reliable (and extensible) than the blueman applet.

Have a good day!

Offline

#3 2021-07-25 15:28:04

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,812
Website

Re: [SLVD] Bluetooth disabled when resuming from suspend since latest upd.

You need `AutoEnable=true` in your /etc/bluetooth/main.conf and make sure the bluetooth.service is enabled


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#4 2021-07-25 15:34:36

epinephrine
Member
From: Frankfurt
Registered: 2012-10-18
Posts: 92

Re: [SLVD] Bluetooth disabled when resuming from suspend since latest upd.

Hey @brandonlotero thanks for your reply! Executing `bluetoothctl power on` only enables it once for me. After suspend, it is off again.

I just read the bluetooth wiki and tried out what @ugjka also just suggested. This works! Thanks! The default setting seems to have been changed.

Last edited by epinephrine (2021-07-25 15:37:42)

Offline

Board footer

Powered by FluxBB