Hello, I was recently messing with my configs after which my Bluetooth has stoped working, I have attempted to revert back but the issue persists for whatever reason.
When I attempted to scan for the Bluetooth devices with bluetoothctl scan on I get the following error.
No default controller available
Here is some information which I hope will be useful for debugging.
❯ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; preset: enabled)
Drop-In: /nix/store/xx8r92yd5q6wnz00lijymnq5752vjv93-system-units/bluetooth.service.d
└─overrides.conf
Active: active (running) since Wed 2024-04-17 20:35:59 PDT; 10s ago
Docs: man:bluetoothd(8)
Main PID: 2399 (bluetoothd)
Status: "Running"
IP: 0B in, 0B out
IO: 1.5M read, 0B written
Tasks: 1 (limit: 38401)
Memory: 2.6M (peak: 2.6M)
CPU: 36ms
CGroup: /system.slice/bluetooth.service
└─2399 /nix/store/468hykzb473ascad7pkcdfi6sg2i73kz-bluez-5.72/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf
Apr 17 20:35:59 nixos systemd[1]: Starting Bluetooth service...
Apr 17 20:35:59 nixos bluetoothd[2399]: Bluetooth daemon 5.72
Apr 17 20:35:59 nixos systemd[1]: Started Bluetooth service.
Apr 17 20:35:59 nixos bluetoothd[2399]: Starting SDP server
Apr 17 20:35:59 nixos bluetoothd[2399]: Bluetooth management interface 1.22 initialized
❯ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
❯ ls /run/current-system/firmware | grep iwlwifi-cc-a0
iwlwifi-cc-a0-50.ucode.xz
iwlwifi-cc-a0-59.ucode.xz
iwlwifi-cc-a0-66.ucode.xz
iwlwifi-cc-a0-72.ucode.xz
iwlwifi-cc-a0-73.ucode.xz
iwlwifi-cc-a0-74.ucode.xz
iwlwifi-cc-a0-77.ucode.xz
❯ sudo dmesg | grep -i bluetooth
[ 21.656773] Bluetooth: Core ver 2.22
[ 21.656788] NET: Registered PF_BLUETOOTH protocol family
[ 21.656789] Bluetooth: HCI device and connection manager initialized
[ 21.656792] Bluetooth: HCI socket layer initialized
[ 21.656793] Bluetooth: L2CAP socket layer initialized
[ 21.656795] Bluetooth: SCO socket layer initialized
[ 613.284052] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 613.284073] Bluetooth: BNEP socket layer initialized
My config for Bluetooth
hardware.bluetooth = {
enable = true;
settings = {
General = {
Name = "Bluetooth_WOW";
FastConnectable = "true";
Experimental = "true";
};
Policy = {
AutoEnable = "true";
};
};
};