Bluetooth works for a minute or so, then just disconnects

First I paired my EndeavourOS laptop with my phone called e, that shares it’s internet connection via Bluetooth.

It worked! For 1 minute, then it automatically disconnected and disappeared from the network menu applet down in the right corner.
In order to make e come back to the menu, the service bluetooth just needs to be restarted.

Is there anything that can be done to make the connection remain stable?

Have you tried disabling tlp to see if that’ll make a difference?

Will try that tomorrow. Thanks for the advice.

tlp was never loaded in the first place, instead the power-profiles-daemon was loaded. Stopped the power-profiles-daemon and connected to the phone that was sharing internet connection via bluetooth. I stayed connected for about 30 seconds, then Bluetooth shut off on the laptop.

dmesg output:

[ 1371.070943] audit: type=1131 audit(1651977359.019:231): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1457.983474] wlan0: deauthenticating from 04:d4:c4:c4:a8:d4 by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1458.035745] audit: type=1130 audit(1651977446.007:232): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1458.046590] audit: type=1111 audit(1651977446.020:233): pid=335 uid=0 auid=4294967295 ses=4294967295 msg='op=radio-control arg="wireless-enabled:off" pid=674 uid=1000 result=success exe="/usr/bin/NetworkManager" hostname=? addr=? terminal=? res=success'
[ 1458.097139] audit: type=1130 audit(1651977446.070:234): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1463.041191] audit: type=1131 audit(1651977451.015:235): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1468.112777] audit: type=1131 audit(1651977456.086:236): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1614.383504] usb 1-4: USB disconnect, device number 6
[ 1614.440058] audit: type=1130 audit(1651977602.395:237): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1614.537280] audit: type=1130 audit(1651977602.491:238): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 1614.670918] usb 1-4: new full-speed USB device number 7 using xhci_hcd
[ 1614.812945] usb 1-4: New USB device found, idVendor=8087, idProduct=07dc, bcdDevice= 0.01
[ 1614.812956] usb 1-4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1614.828706] Bluetooth: hci0: Legacy ROM 2.5 revision 8.0 build 1 week 45 2013
[ 1614.828718] Bluetooth: hci0: Intel device is already patched. patch num: 2a
[ 1618.443465] audit: type=1101 audit(1651977606.392:239): pid=3252 uid=1000 auid=1000 ses=2 msg='op=PAM:accounting grantors=pam_unix,pam_permit,pam_time acct="e" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1618.446315] audit: type=1110 audit(1651977606.395:240): pid=3252 uid=1000 auid=1000 ses=2 msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'
[ 1618.455955] audit: type=1105 audit(1651977606.405:241): pid=3252 uid=1000 auid=1000 ses=2 msg='op=PAM:session_open grantors=pam_systemd_home,pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 res=success'

Please run journalctl -f | grep bluetooth and try to connect. Wait until it automatically disconnects.

[e@candy ~]$ journalctl -f | grep bluetooth
maj 10 10:42:47 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
maj 10 10:42:47 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream
maj 10 10:42:47 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream_duplex
maj 10 10:43:02 candy bluetoothd[1888]: bnep0 connected
maj 10 10:45:53 candy bluetoothd[1888]: bnep0 disconnected
maj 10 10:45:53 candy NetworkManager[316]: <info>  [1652172353.7394] device (F4:C2:48:DD:B6:D5): state change: activated -> failed (reason 'bluetooth-failed', sys-iface-state: 'managed')
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/ldac
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSink/aptx_hd
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_hd
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSink/aptx
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aac
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc_xq
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc_xq
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_1
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_0
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream
maj 10 10:45:53 candy bluetoothd[1888]: Endpoint unregistered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream_duplex
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:53 candy dbus-daemon[308]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.35" (uid=1000 pid=642 comm="/usr/bin/pipewire-media-session") interface="(unset)" member="(unset)" error name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.79" (uid=0 pid=1888 comm="/usr/lib/bluetooth/bluetoothd")
maj 10 10:45:54 candy bluetoothd[1888]: Player registered: sender=:1.35 path=/media_player3
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/ldac
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/aptx_hd
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_hd
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/aptx
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aac
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSink/sbc_xq
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/sbc_xq
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_1
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_0
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream
maj 10 10:45:54 candy bluetoothd[1888]: Endpoint registered: sender=:1.35 path=/MediaEndpoint/A2DPSource/faststream_duplex
^C
[e@candy ~]$
1 Like

Screenshot from 2022-05-10 10-59-13

thanks for the instruction

In opposite to the built-in Bluetooth adapter, I have now tested a Bluetooth USB-dongle. It showed the exact same behavior as the built-in one: Pairing works fine, connecting and using the phone as Internet access point works, for a while at least. It disconnects after 1~60 seconds and the dongle disappears from the applet in the lower right corner. Argh.