pacman -S bluez
pacman -S bluez-utils
systemctl enable bluetooth.service
systemctl start bluetooth.service
- start command line prompt
bluetoothctl
- turn power on, turn agent, start scanning for devices
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# default-agent
[bluetooth]# scan on
- find MAC address of device
-
note: might be spammed by other devices, exit to prevent
- pair, connect, and trust for future auto-connect
[bluetooth]# pair MAC_ADDRESS
[bluetooth]# connect MAC_ADDRESS
[bluetooth]# trust MAC_ADDRESS
-
enable auto power-on of bluetooth module in
/etc/bluetooth/main.conf
[Policy]
AutoEnable=true
- bluetooth stuck after waking up from sleep
-
sudo systemctl restart bluetooth.service
and the
like hangs
- kill daemon directly
sudo pkill -9 bluetoothd
[bluetooth]# menu scan
[bluetooth]# transport le
[bluetooth]# back
[bluetooth]# scan on
[bluetooth]# devices