You are not logged in.

#1 2024-05-31 05:57:03

ei
Member
Registered: 2020-07-16
Posts: 9

Bluetooth (non-audio) device won't connect or won't stay connected.

Hello, I'm trying to set up a bluetooth connection between my Arch Linux laptop and my Android phone*.

I followed the ArchWiki instructions for installation and troubleshooting. I successfully paired my phone and laptop, but the devices quickly disconnect from each other, and I cannot get them to reconnect.

Here is the exact process I followed.

  • Installed bluez and bluez-utils via pacman.

  • Ran bluetoothd in debug mode:

    sudo /usr/lib/bluetooth/bluetoothd -n -d
  • Started bluetoothctl.

  • Set "discoverable on"

  • Located my laptop on my phone's bluetooth menu and initiated pairing

  • Confirmed the pairing passcode on both ends.

After the above steps, both devices would register each other as connected for a few seconds, then disconnect from each other. At the instant of disconnection, the following shows up in both the bluetoothd debug output and my system journal:

bluetoothd[11263]: src/adapter.c:dev_disconnected() Device XX:XX:XX:XX:XX:XX disconnected, reason 3

I tried "connect XX:XX:XX:XX:XX:XX" in bluetoothctl. bluetoothctl said:

Failed to connect: org.bluez.Error.Failed br-connection-profile-unavailable

I was hoping I wouldn't need to take a summer course in Linux Bluetooth Connections in order to get a simple bluetooth connection up and running, but such is life.

If anyone has any troubleshooting ideas or pointers to documentation I should study, I'd greatly appreciate it!

*My use case: I'm trying to use my phone as a wireless trackpad, and this appears to be the only way to do it. I'm using a hotel's WiFi, so things like KDEConnect-over-WiFi do not work. If anyone has any suggestions, whether they use bluetooth or not, please let me know.

Last edited by ei (2024-05-31 06:10:57)

Offline

Board footer

Powered by FluxBB