Bluetooth for rtl8761u based dongles

I’m writing this time after I configured it so… maybe something is missing.

1. Install

  • bluez
  • bluez-runit (in case of using runit)
  • bluez-utils
  • aur/rtl8761usb-dkm

Then reboot

2. Usage

Check that rfkill (if used) doesn’t block bluetooth

[ecomaikgolf@desktop ~]$ sudo rfkill                                                                             (130) [13:04:09]
ID TYPE      DEVICE         SOFT         HARD
 0 bluetooth hci0   desbloqueado desbloqueado

Start bluetoothctl

[bluetooth]# power on
[CHG] Controller XX:XX:XX:XX:XX:XX Class: 0x006c0104
Changing power on succeeded
[CHG] Controller XX:XX:XX:XX:XX:XX Powered: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller XX:XX:XX:XX:XX:XX Discovering: yes
[NEW] Device XX:XX:XX:XX:XX:XX ATH-SR5BT
[bluetooth]# connect XX:XX:XX:XX:XX:XX
Attempting to connect to XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 000...
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 000...
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 000...
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 000...
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 000...
[CHG] Device XX:XX:XX:XX:XX:XX ServicesResolved: yes
[CHG] Device XX:XX:XX:XX:XX:XX Paired: yes
Connection successful
[ATH-SR5BT]#

3. A2DP

To get high fidelity sound with bluetooth headsets you’ll need “A2DP”.

I tried getting it with pipewire and pipewire-pulse but i’m getting:

Sep  5 16:55:35 desktop bluetoothd[2868]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for 20:19:03:AB:46:AD: Protocol not available

So I have to use pulseaudio:

  • pulseaudio
  • pulseaudio-bluetooth