Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Networking] Bluetooth always disabled when starting Debian 12

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
scorpyous
Posts: 4
Joined: 2024-04-11 16:50
Has thanked: 2 times

[Networking] Bluetooth always disabled when starting Debian 12

#1 Post by scorpyous »

Previously, when starting Debian 12, Bluetooth was always activated, making my life easier with my mouse and keyboard. Now, Debian always starts with Bluetooth disabled, making it necessary to go to the settings to activate it and then use the peripherals. How can I make Debian automatically turn Bluetooth back on? Thanks in advance.

User avatar
bbbhltz
Posts: 168
Joined: 2024-01-10 14:53
Location: Normandy
XMMP/Jabber: bbbhltz@mailbox.org
Has thanked: 52 times
Been thanked: 34 times

Re: [Networking] Bluetooth always disabled when starting Debian 12

#2 Post by bbbhltz »

Hi

In /etc/bluetooth/main.conf under the [General] section is there an entry that looks like this?

DiscoverableTimeout = 0

And also under the [Policy] section

AutoEnable=true
bbbhltz
longtime desktop Linux user; eternal newbie

scorpyous
Posts: 4
Joined: 2024-04-11 16:50
Has thanked: 2 times

Re: [Networking] Bluetooth always disabled when starting Debian 12

#3 Post by scorpyous »

hi @bbbhltz, thanks for your help... only DiscoverableTimeout was disabled/commented out. AutoEnable was enabled and true. I enabled DiscoverableTimeout, restarted the machine and... the same, the Bluetooth didn't start... :(

kopper
Posts: 139
Joined: 2016-09-30 14:30
Been thanked: 2 times

Re: [Networking] Bluetooth always disabled when starting Debian 12

#4 Post by kopper »

What desktop environment are you using (Gnome, KDE, etc.)? You could check whether for some reason Bluetooth daemon is disabled during boot.

Code: Select all

systemctl list-unit-files bluetooth.service
Debian 12 Stable with sway
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian

peer
Posts: 459
Joined: 2017-03-26 10:14
Has thanked: 9 times
Been thanked: 22 times

Re: [Networking] Bluetooth always disabled when starting Debian 12

#5 Post by peer »

Check if power is on:

Code: Select all

/usr/bin/bluetoothctl show
Controller 4C:44:5B:86:16:49 (public)
        Name: debian
        Alias: debian
        Class: 0x00000000
        Powered: no
        Discoverable: no
        DiscoverableTimeout: 0x000000b4
        Pairable: yes
        ....................
In the output there is a line: ¨Powered: no" or "Powered: yes"
If it is not powered you can turn it on with:

Code: Select all

/usr/bin/bluetoothctl power on

Post Reply