The bluetooth controller disappeared a few days ago without making any change to the system except automatic upgrades (system.autoUpgrade.enable = true):
➜ ~ bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]# scan on
No default controller available
How can I get back my bluetooth controller?
Here some output which might help:
➜ ~ rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
➜ ~ systemctl status bluetooth
● bluetooth.service - Bluetooth service
Loaded: loaded (/etc/systemd/system/bluetooth.service; enabled; preset: enabled)
Drop-In: /nix/store/9n9kyxy7jd6mc4p76jh5j21ypmhr6522-system-units/bluetooth.service.d
└─overrides.conf
Active: active (running) since Mon 2024-05-20 12:42:08 CEST; 12min ago
Docs: man:bluetoothd(8)
Main PID: 1087 (bluetoothd)
Status: "Running"
IP: 0B in, 0B out
IO: 3.9M read, 0B written
Tasks: 1 (limit: 154454)
Memory: 2.8M
CPU: 317ms
CGroup: /system.slice/bluetooth.service
└─1087 /nix/store/h5z7lwsr57mrbkqxrw6m2gqpl7dc2a9f-bluez-5.70/libexec/bluetooth/bluetoothd -f /etc/bluetooth/main.conf
Mai 20 12:42:08 maxiTower bluetoothd[1087]: Starting SDP server
Mai 20 12:42:08 maxiTower bluetoothd[1087]: src/plugin.c:plugin_init() System does not support csip plugin
Mai 20 12:42:08 maxiTower bluetoothd[1087]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Mai 20 12:42:08 maxiTower bluetoothd[1087]: src/plugin.c:plugin_init() System does not support micp plugin
Mai 20 12:42:08 maxiTower bluetoothd[1087]: src/plugin.c:plugin_init() System does not support vcp plugin
Mai 20 12:42:08 maxiTower bluetoothd[1087]: src/plugin.c:plugin_init() System does not support mcp plugin
Mai 20 12:42:08 maxiTower bluetoothd[1087]: src/plugin.c:plugin_init() System does not support bass plugin
Mai 20 12:42:08 maxiTower bluetoothd[1087]: src/plugin.c:plugin_init() System does not support bap plugin
Mai 20 12:42:08 maxiTower bluetoothd[1087]: Bluetooth management interface 1.22 initialized
Mai 20 12:42:08 maxiTower systemd[1]: Started Bluetooth service.
➜ ~ dmesg -k | egrep -i blue
[ 14.622952] Bluetooth: Core ver 2.22
[ 14.622971] NET: Registered PF_BLUETOOTH protocol family
[ 14.622972] Bluetooth: HCI device and connection manager initialized
[ 14.622976] Bluetooth: HCI socket layer initialized
[ 14.622978] Bluetooth: L2CAP socket layer initialized
[ 14.622983] Bluetooth: SCO socket layer initialized
[ 14.673421] bluetooth hci0: Direct firmware load for mediatek/BT_RAM_CODE_MT7961_1a_2_hdr.bin failed with error -2
[ 14.673425] Bluetooth: hci0: Failed to load firmware file (-2)
[ 14.673714] Bluetooth: hci0: Failed to set up firmware (-2)
[ 14.673993] Bluetooth: hci0: HCI Enhanced Setup Synchronous Connection command is advertised, but not supported.
[ 16.066789] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 16.066793] Bluetooth: BNEP socket layer initialized
Same here. I just upgraded to 6.10 and now my bluetooth controler isn’t working anymore.
Is it related to missing Firmware on AMD ??? Any clue how to solve this for now current kernel.
I also have the following messages in the log:
jun 04 23:57:41 nixos sddm-helper[2486]: gkr-pam: unable to locate daemon control file
jun 04 23:58:01 nixos bluetoothd[1916]: src/gatt-database.c:database_add_chrc() Failed to create characteristic entry in database
jun 04 23:58:01 nixos bluetoothd[1916]: src/gatt-database.c:database_add_service() Failed to add characteristic
jun 04 23:58:01 nixos bluetoothd[1916]: src/gatt-database.c:database_add_app() Failed to add service
jun 04 23:58:01 nixos bluetoothd[1916]: src/gatt-database.c:client_ready_cb() Failed to create GATT service entry in local database
jun 05 00:08:32 nixos sddm-helper[3623]: gkr-pam: unable to locate daemon control file
jun 05 00:08:37 nixos bluetoothd[1916]: src/gatt-database.c:database_add_chrc() Failed to create characteristic entry in database
jun 05 00:08:37 nixos bluetoothd[1916]: src/gatt-database.c:database_add_service() Failed to add characteristic
jun 05 00:08:37 nixos bluetoothd[1916]: src/gatt-database.c:database_add_app() Failed to add service
jun 05 00:08:37 nixos bluetoothd[1916]: src/gatt-database.c:client_ready_cb() Failed to create GATT service entry in local database
jun 05 00:19:16 nixos sddm-helper[7989]: gkr-pam: unable to locate daemon control file
jun 05 00:19:18 nixos bluetoothd[1916]: src/gatt-database.c:database_add_chrc() Failed to create characteristic entry in database
jun 05 00:19:18 nixos bluetoothd[1916]: src/gatt-database.c:database_add_service() Failed to add characteristic
jun 05 00:19:18 nixos bluetoothd[1916]: src/gatt-database.c:database_add_app() Failed to add service
jun 05 00:19:18 nixos bluetoothd[1916]: src/gatt-database.c:client_ready_cb() Failed to create GATT service entry in local database
-- Boot d3fbe09959ef4ce2b748a796ef55da8b --
jun 06 22:15:22 nixos kernel: Bluetooth: hci0: FW download error recovery failed (-19)