Skip to content

Instantly share code, notes, and snippets.

@jralvarezc
Last active March 20, 2023 23:28
Show Gist options
  • Save jralvarezc/852d5d470e6a6165f205bf8d4aad41a3 to your computer and use it in GitHub Desktop.
Save jralvarezc/852d5d470e6a6165f205bf8d4aad41a3 to your computer and use it in GitHub Desktop.
# check if at hw level bluetooth is enabled (F10)
# Is it blocked bluetooth by the soft kill switch?
$ sudo rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth tpacpi_bluetooth_sw blocked unblocked
2 wlan phy0 unblocked unblocked
# Turn off kill switch
$ sudo rfkill unblock 0
# Check again
$ sudo rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth tpacpi_bluetooth_sw unblocked unblocked
2 wlan phy0 unblocked unblocked
3 bluetooth hci0 unblocked unblocked
# Pair
$ bluetoothctl
agent on
scan on
scan off
trust MAC_ADDRESS
pair MAC_ADDRRESS
connect MAC_ADDRESS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment