No default controller available in bluetooth

Hi,

I’m new to EndeavourOS. It looks like everything works, but I’m unable to get my bluetooth up and running in a stable way. This morning it was all fine, but it stoped working and I’m unable to connect. I tried all the steps in the Bluetooth tips page and the Arch wiki, but I still get this after following all the steps:

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Thu 2022-07-07 17:03:22 CEST; 10min ago
       Docs: man:bluetoothd(8)
   Main PID: 2646 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9364)
     Memory: 2.0M
        CPU: 42ms
     CGroup: /system.slice/bluetooth.service
             └─2646 /usr/lib/bluetooth/bluetoothd

Jul 07 17:03:22 DESKTOP-USR systemd[1]: Starting Bluetooth service...
Jul 07 17:03:22 DESKTOP-USR bluetoothd[2646]: Bluetooth daemon 5.64
Jul 07 17:03:22 DESKTOP-USR systemd[1]: Started Bluetooth service.
Jul 07 17:03:22 DESKTOP-USR bluetoothd[2646]: Starting SDP server
Jul 07 17:03:22 DESKTOP-USR bluetoothd[2646]: Bluetooth management interface 1.22 initialized

I have a Lenovo-L340.

Any tips what to try next?

What does your kernel log say? Also, what chipset do you have? What are you trying to connect?

What desktop environment (DE) are you running EnOS on? If a bluetooth-manager is missing, you could go with installing Blueman.

Also, some computers do have a hardware swith for turning Bluetooth on / off. It could also be on your keyboard, most likely an Fn-key.

Kernel log:

$ sudo journalctl -b | grep bluetooth
Jul 07 17:00:02 DESKTOP-USR NetworkManager[629]: <info>  [1657206002.8884] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.38.2-1/libnm-device-plugin-bluetooth.so)
Jul 07 17:00:08 DESKTOP-USR systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
Jul 07 17:00:30 DESKTOP-USR rfkill[1907]: unblock set for type bluetooth
Jul 07 17:01:02 DESKTOP-USR systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
Jul 07 17:01:37 DESKTOP-USR dbus-daemon[588]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.44' (uid=0 pid=2579 comm="sudo bluetoothctl")
Jul 07 17:01:53 DESKTOP-USR sudo[2579]:      usr : 1 incorrect password attempt ; TTY=pts/0 ; PWD=/home/usr ; USER=root ; COMMAND=/usr/bin/bluetoothctl
Jul 07 17:03:22 DESKTOP-USR dbus-daemon[588]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.47' (uid=0 pid=2643 comm="sudo systemctl restart bluetooth")
Jul 07 17:03:22 DESKTOP-USR sudo[2643]:      usr : TTY=pts/0 ; PWD=/home/usr ; USER=root ; COMMAND=/usr/bin/systemctl restart bluetooth
Jul 07 17:03:22 DESKTOP-USR bluetoothd[2646]: Bluetooth daemon 5.64
Jul 07 17:03:22 DESKTOP-USR audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 07 17:03:22 DESKTOP-USR bluetoothd[2646]: Starting SDP server
Jul 07 17:03:22 DESKTOP-USR kernel: audit: type=1130 audit(1657206202.644:98): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=bluetooth comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 07 17:03:22 DESKTOP-USR bluetoothd[2646]: Bluetooth management interface 1.22 initialized
Jul 07 17:03:22 DESKTOP-USR dbus-daemon[588]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.48' (uid=0 pid=2646 comm="/usr/lib/bluetooth/bluetoothd")
Jul 07 17:03:29 DESKTOP-USR dbus-daemon[588]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.50' (uid=0 pid=2783 comm="sudo bluetoothctl")
Jul 07 17:03:29 DESKTOP-USR sudo[2783]:      usr : TTY=pts/0 ; PWD=/home/usr ; USER=root ; COMMAND=/usr/bin/bluetoothctl
Jul 07 17:07:52 DESKTOP-USR rfkill[3135]: block set for type bluetooth
Jul 07 17:07:54 DESKTOP-USR rfkill[3140]: unblock set for type bluetooth
Jul 07 17:10:34 DESKTOP-USR dbus-daemon[588]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.56' (uid=0 pid=3262 comm="sudo bluetoothctl")
Jul 07 17:10:34 DESKTOP-USR sudo[3262]:      usr : TTY=pts/0 ; PWD=/home/usr ; USER=root ; COMMAND=/usr/bin/bluetoothctl
Jul 07 17:14:13 DESKTOP-USR dbus-daemon[588]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.61' (uid=0 pid=3409 comm="sudo systemctl status bluetooth")
Jul 07 17:14:17 DESKTOP-USR sudo[3409]:      usr : TTY=pts/1 ; PWD=/home/usr ; USER=root ; COMMAND=/usr/bin/systemctl status bluetooth

I think this is my chipset:
Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter

And i want to connect my keyboard, but it doesn’t even show any bluetooth signals now.

I use XFCE and have blueberry installed, since this page advised that. I don’t seem to have a Fn-key that’s controlling Bluetooth. It’s a Lenovo Ideapad L340.

It’s strange, since it seemed to be working for a day or two…

That is not your bluetooth adapter.

What does it show?

inxi -Na

You could remove blueberry and install blueman instead.

If that still fails, you could try installing an LTS kernel.

It says:

Network:
  Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 07:00.0 chip-ID: 168c:0042 class-ID: 0280
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Lenovo driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 08:00.0 chip-ID: 10ec:8168 class-ID: 0200
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152 bus-ID: 2-4.1:3 chip-ID: 0bda:8153 class-ID: 0000
    serial: 001000001

Please use code tags around what you post. :wink:

Edit: This is your bluetooth

Device-1: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 bus-ID: 07:00.0 chip-ID: 168c:0042 class-ID: 0280

Thanks! Will do

So the module is loaded for WiFi and Bluetooth is on the same chip.

Edit: What is your desktop? What is the issue? No Gui for bluetooth shown?

I removed blueberry, installed blueman, rebooted, and now it says:

$ bluetoothctl
Waiting to connect to bluetoothd...

Before rebooting, I also (re)installed the linux-firmware.

The problem is that I can’t get my Bluetooth working.

Again what desktop? Is there a gui or button to turn on bluetooth? Is there a function key on the L340 to turn it on or off. Airplane mode turns it off for both wifi and bluetooth. Not sure if there is a separate key for bluetooth.

XFCE4. I installed blueman gui, but I can’t seem to get past anything. I suppose this is because bluetoothctl isn’t working either. It keep saying Waiting to connect to bluetoothd...
I don’t think airplane mode is turned on, since the WiFi is working.

what does this show?

sudo systemctl status bluetooth

Did you go to the Settings GUI and click Bluetooth there yet?

bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: inactive (dead)
       Docs: man:bluetoothd(8)

Jul 07 17:51:06 DESKTOP-USR systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
Jul 07 17:51:36 DESKTOP-USR systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
Jul 07 17:52:31 DESKTOP-USR systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth).

sudo systemctl enable --now bluetooth

Edit: Then check status again.

sudo systemctl enable bluetooth.service && 
sudo systemctl start --now bluetooth.service

I can’t click on it, it gives this error:
image