Bluetooth Setup on Arch

Posted on Mon 20 February 2017 in Arch, Bluetooth

Bought a new bluetooth keyboard and mouse so I had to get bluetooth up and running on the Arch box. Had a bit of an issue with powering the dongle on at boot so I thought I'd leave the fix here just in case.

Arch Wiki Entry

Install packages:

# pacman -S bluez bluez-utils

Load the kernel module:

# modprobe btusb

Edit the config to enable automatically enable power on boot:

# vim /etc/bluetooth/main.conf

Edit the config and start the service:

[Policy]
AutoEnable=true

Enable and start the service:

# systemctl enable bluetooth.service
# systemctl start bluetooth.service

Connect and pair devices:

# bluetoothctl
[bluetooth]# scan on
Discovery started
[bluetooth]# agent on
[CHG] Controller 00:10:20:30:40:50 Discovering: yes
[NEW] Device 00:12:34:56:78:90 myLino
[CHG] Device 00:12:34:56:78:90 LegacyPairing: yes
[bluetooth]# pair 00:12:34:56:78:90