Купил недавно на работу Sony WH-1000XM3 с активным шумоподавлением.
В целом наушники весьма приятные — осталось подключить их к ноутбуку с Arch Linux.
Документация тут>>> и тут>>>:
Установка
Устанавливаем пакеты:
sudo pacman -S bluez bluez-utils
Проверяем модуль ядра:
lsmod | grep btusb
btusb 40960 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 16384 1 btusb
bluetooth 475136 5 btrtl,btintel,btbcm,btusb
usbcore 208896 12 usbnet,uvcvideo,usbhid,cdc_mbim,ehci_hcd,cdc_acm,cdc_ncm,cdc_wdm,xhci_pci,btusb,xhci_hcd,ehci_pci
Если нет — подгружаем:
Запускаем сервис:
systemctl start bluetooth.service
systemctl enable bluetooth.service
bluetoothctl
Linux
Запускаем консоль управления Bluetooth:
bluetoothctl
[NEW] Controller B8:76:3F:AB:D0:24 BlueZ 5.47 [default]
Agent registered
[bluetooth]#
Помощь — по help
:
[bluetooth]# help
Available commands:
list List available controllers
show [ctrl] Controller information
select <ctrl> Select default controller
devices List available devices
paired-devices List paired devices
...
Включаем контроллер и запускаем bluetooth-агента, который отвечает за регистрацию клиента:
[bluetooth]# power on
[CHG] Controller B8:76:3F:AB:D0:24 Class: 0x0000010c
Changing power on succeeded
[CHG] Controller B8:76:3F:AB:D0:24 Powered: yes
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
Включаем наушники и ищем активные устройства:
[bluetooth]# scan on
Discovery started
[CHG] Controller 34:CF:F6:94:01:73 Discovering: yes
...
[NEW] Device 38:18:4C:BD:68:DE LE_WH-1000XM3
Регистрируем их:
[bluetooth]# pair 38:18:4C:BD:68:DE
Attempting to pair with 38:18:4C:BD:68:DE
[CHG] Device 38:18:4C:BD:68:DE Connected: yes
[CHG] Device 38:18:4C:BD:68:DE Name: WH-1000XM3
[CHG] Device 38:18:4C:BD:68:DE Alias: WH-1000XM3
...
[CHG] Device 38:18:4C:BD:68:DE Paired: yes
Pairing successful
[CHG] Device 38:18:4C:BD:68:DE ServicesResolved: no
[CHG] Device 38:18:4C:BD:68:DE Connected: no
Подключаем:
[bluetooth]# connect 38:18:4C:BD:68:DE
Attempting to connect to 38:18:4C:BD:68:DE
[CHG] Device 38:18:4C:BD:68:DE Connected: yes
Connection successful
[CHG] Device 38:18:4C:BD:68:DE ServicesResolved: yes
[WH-1000XM3]#
И звук пошёл:

Что бы наушники подключались автоматически в будущем — добавляем их в trusted-devices:
[CHG] Device 38:18:4C:BD:68:DE Trusted: yes
Changing 38:18:4C:BD:68:DE trust succeeded
Blueman
Имеется пакет, позволяющий выполнять настройку и подключение устройств через GUI — blueman
, плюс он добавляет иконку в трее, устанавливаем:
Запускаем апплет:

Для его автозапуска — в Openbox можно добавить в файл ~/.config/openbox/autostart
:
blueman-applet &
Готово.