Project

General

Profile

Support #681

Updated by Daniel Curtis over 8 years ago

This is a guide on how I got a pair of bluetooth stereo headphones on Arch Linux. 

 h2. Prepeare the Environment 

 * Make sure the system is up to date: 
 <pre> 
 pacman -Syu 
 </pre> 

 * Install a few dependencies: 
 <pre> 
 pacman -S pulseaudio-alsa pulseaudio-bluetooth bluez bluez-libs bluez-utils bluez-firmware bluez-hid2hci pavucontrol 
 </pre> 

 * Start the bluetooth service: 
 <pre> 
 systemctl start bluetooth 
 </pre> 

 


 * Put the +bluetooth headphones into pairing mode+. 

 * Use the bluetoothctl command line utility to pair and connect: 
 <pre> 
 bluetoothctl 
 </pre> 
 #* Turn on the bluetooth adapter on the Arch computer, and enable scanning: 
 <pre> 
 power on 
 agent on 
 default-agent 
 scan on 
 </pre> 
 #* Pair with a device: 
 <pre> 
 pair 1B:05:12:11:24:B4 
 trust 1B:05:12:11:24:B4 
 connect 1B:05:12:11:24:B4 
 </pre> 

 *NOTE*: I had problems with the audio sink automatically being set as the default device. So I just use pavucontrol to set where the audio output goes. 

 h2. Resources 

 * https://wiki.archlinux.org/index.php/Bluetooth

Back