Bluetooth Not Working

I disabled the bluetooth adapter by mistake, and after a restart I can no longer enable it.

rfkill list all
0: tpacpi_bluetooth_sw: Bluetooth
	Soft blocked: no
	Hard blocked: no
1: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

and after enabling modprobe btusb and restarting the bluetooth systemd service, I get

May 02 12:41:45 orca bluetoothd[3020]: Bluetooth daemon 5.66
May 02 12:41:45 orca systemd[1]: Started Bluetooth service.
May 02 12:41:45 orca bluetoothd[3020]: Starting SDP server
May 02 12:41:45 orca bluetoothd[3020]: profiles/audio/vcp.c:vcp_init() D-Bus experimental not enabled
May 02 12:41:45 orca bluetoothd[3020]: src/plugin.c:plugin_init() Failed to init vcp plugin
May 02 12:41:45 orca bluetoothd[3020]: profiles/audio/mcp.c:mcp_init() D-Bus experimental not enabled
May 02 12:41:45 orca bluetoothd[3020]: src/plugin.c:plugin_init() Failed to init mcp plugin
May 02 12:41:45 orca bluetoothd[3020]: profiles/audio/bap.c:bap_init() D-Bus experimental not enabled
May 02 12:41:45 orca bluetoothd[3020]: src/plugin.c:plugin_init() Failed to init bap plugin
May 02 12:41:45 orca bluetoothd[3020]: Bluetooth management interface 1.22 initialized

bluetoothctl now shows

[bluetooth]# power on
No default controller available

I think I ran into this once. And I think, not sure, but adding Experimental option to bluetooth settings helped. Example:

  hardware.bluetooth = {
    enable = true;
    settings = {
      General = {
        Name = "Hello";
        ControllerMode = "dual";
        FastConnectable = "true";
        Experimental = "true";
      };
      Policy = {
        AutoEnable = "true";
      };
    };
  };

2 Likes

Thank you so much. That fixed the issue. I tried adding Experimental to it before, but I didn’t know the schema.

No problem. I struggled with the schema at first too. Glad it works!

bluez config options for reference: https://github.com/bluez/bluez/blob/3818b99c764efe84cd3455081f6392c256564085/src/main.conf