I had enabled bluetooth but bluetoothctl was starting only as root, and even after that it was not able to connect with my bluetooth earphones. So I disabled it. I did try this again.
┌─[sharad] (06:45 AM)-(Sat Jan 19) [~]
└───▶ rc-service bluetooth status
* status: started
┌─[sharad] (06:45 AM)-(Sat Jan 19) [~]
└───▶ bluetoothctl
[bluetooth]# scan on
No default controller available
[bluetooth]#
[bluetooth]# exit
┌─[sharad] (06:46 AM)-(Sat Jan 19) [~]
└───▶ sudo bluetoothctl
[sudo] password for sharad:
Agent registered
[bluetooth]# scan on
Discovery started
[CHG] Controller A4:DB:30:B8:2D:78 Discovering: yes
[CHG] Device 00:1E:7C:68:3F:45 RSSI: -70
[bluetooth]# connect 00:1E
Device 00:1E not available
[bluetooth]# connect 00:1E:7C:68:3F:45
Attempting to connect to 00:1E:7C:68:3F:45
Failed to connect: org.bluez.Error.Failed
I had also tried remove/trust/pair/connect sequence. The last step connect always fails.
Here are the logs
Jan 19 06:15:37 [pulseaudio] [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.20" (uid=1000 pid=2364 comm="/usr/bin/pulseaudio --start --use-pid-file=true ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (bus)
Jan 19 06:45:42 [openrc-settingsd] GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Jan 19 06:45:42 [openrc-settingsd] Failed to acquire dbus name org.freedesktop.hostname1
Jan 19 06:45:42 [pulseaudio] [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.22" (uid=1000 pid=2420 comm="/usr/bin/pulseaudio --start --use-pid-file=true ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=2344 comm="/usr/lib/bluetooth/bluetoothd ")
Jan 19 06:45:47 [ntpd] bind(24) AF_INET6 fe80::522c:f733:fd7b:2966%4#123 flags 0x11 failed: Cannot assign requested address
Jan 19 06:45:47 [ntpd] unable to create socket on wlan0 (5) for fe80::522c:f733:fd7b:2966%4#123
Jan 19 06:47:08 [kernel] [ 95.570998] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:47:24 [kernel] [ 111.570693] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:47:40 [kernel] [ 127.571366] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:47:56 [kernel] [ 143.571158] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:48:12 [kernel] [ 159.570818] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:48:16 [bluetoothd] a2dp-sink profile connect failed for 00:1E:7C:68:3F:45: Protocol not available
Jan 19 06:48:28 [kernel] [ 175.570506] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:48:44 [kernel] [ 191.570238] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:49:00 [kernel] [ 207.569954] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:49:06 [bluetoothd] a2dp-sink profile connect failed for 00:1E:7C:68:3F:45: Protocol not available
Jan 19 06:49:30 [kernel] [ 237.444363] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:49:46 [kernel] [ 253.449081] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:49:56 [bluetoothd] a2dp-sink profile connect failed for 00:1E:7C:68:3F:45: Protocol not available
Jan 19 06:50:02 [kernel] [ 269.451788] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:50:18 [kernel] [ 285.452519] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:50:25 [bluetoothd] a2dp-sink profile connect failed for 00:1E:7C:68:3F:45: Protocol not available
Jan 19 06:50:34 [kernel] [ 301.456165] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:50:58 [kernel] [ 325.567021] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:51:14 [kernel] [ 341.566829] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:51:30 [kernel] [ 357.569501] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:51:46 [kernel] [ 373.573881] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:52:02 [kernel] [ 389.576538] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:52:18 [kernel] [ 405.578980] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:52:34 [kernel] [ 421.578025] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:52:50 [kernel] [ 437.568882] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:53:06 [kernel] [ 453.561887] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:53:22 [kernel] [ 469.559090] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:53:38 [kernel] [ 485.556699] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:53:54 [kernel] [ 501.552703] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:54:10 [kernel] [ 517.553935] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:54:26 [kernel] [ 533.549637] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:54:42 [kernel] [ 549.550493] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:54:58 [kernel] [ 565.549277] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:55:14 [kernel] [ 581.548947] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:55:30 [kernel] [ 597.550702] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:55:46 [kernel] [ 613.550226] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:55:52 [bluetoothd] a2dp-sink profile connect failed for 00:1E:7C:68:3F:45: Protocol not available
Jan 19 06:56:02 [kernel] [ 629.335990] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:56:18 [kernel] [ 645.548785] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:56:34 [kernel] [ 661.552324] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:56:50 [kernel] [ 677.548468] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:57:06 [kernel] [ 693.551820] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:57:22 [kernel] [ 709.547480] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:57:38 [kernel] [ 725.547126] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:57:54 [kernel] [ 741.547806] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:58:10 [kernel] [ 757.547626] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:58:26 [kernel] [ 773.547297] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:58:42 [kernel] [ 789.546869] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:58:58 [kernel] [ 805.546794] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:59:14 [kernel] [ 821.546969] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:59:30 [kernel] [ 837.546194] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 06:59:46 [kernel] [ 853.545899] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:00:02 [kernel] [ 869.546015] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:00:18 [kernel] [ 885.546223] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:00:34 [kernel] [ 901.545979] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:00:50 [kernel] [ 917.545496] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:01:06 [kernel] [ 933.544275] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:01:22 [kernel] [ 949.545079] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:01:38 [kernel] [ 965.545466] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:01:54 [kernel] [ 981.547466] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:02:10 [kernel] [ 997.544260] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:02:26 [kernel] [ 1013.544702] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:02:42 [kernel] [ 1029.546475] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:02:58 [kernel] [ 1045.544312] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:03:14 [kernel] [ 1061.544054] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:03:30 [kernel] [ 1077.542614] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:03:46 [kernel] [ 1093.539605] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:04:02 [kernel] [ 1109.538160] Bluetooth: hci0: last event is not cmd complete (0x0f)
Jan 19 07:04:18 [kernel] [ 1125.536481] Bluetooth: hci0: last event is not cmd complete (0x0f)
Generated by metalog, with minimum=3 level