Trying to use Bluetooth as A2DP only device

I have a pair of bluetooth headphones which upon connection always use the HSP/HFP profile. This also happens every time I make a Skype call. However, I only want to use this as an A2DP device. I’d like to disable auto switching, or even lock out HSP/HFP all together. In RFTMing, I’ve looked at:

Perhaps I didn’t read these carefully enough, but I couldn’t find how to get it to do what I want. I also had a look at: /etc/pulse/default.pa

I’d be grateful for any ideas or suggestions.

1 Like

Helo @Philo-Phineas

https://wiki.archlinux.org/index.php/Bluetooth_headset#Switch_between_HSP/HFP_and_A2DP_setting

Edit: The first thing is to check if the A2DP sink profile is available.

1 Like

Hello @Philo-Phineas
Did you install all the bluetooth as per the wiki? Did you go through this setup?

https://endeavouros.com/docs/hardware-and-network/bluetooth/get-bluetoth-auto-connected-with-a2dp/

It is available, the trouble is that I gneed to select it manually every time.

Did you add this to the file?

sudo nano /etc/pulse/default.pa

Add:

# automatically switch to newly-connected devices 
load-module module-switch-on-connect

Yes I added that.

Are you using bluetoothctl to try and connect and pair.

Yes, I went through those steps in a terminal… but I’m not sure why that will change anything, as it used HSP/HFP on connect, and there was no step to switch to A2DP. The other thing to knote is that I’ve been using KDE rather than gnome.

sudo systemctl status bluetooth

[philo@Spooner ~]$ sudo systemctl status bluetooth
[sudo] password for philo: 
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Fri 2020-07-31 09:54:34 EDT; 2 days ago
       Docs: man:bluetoothd(8)
   Main PID: 945 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 9433)
     Memory: 2.3M
     CGroup: /system.slice/bluetooth.service
             └─945 /usr/lib/bluetooth/bluetoothd

bluetoothctl

Edit:

https://wiki.archlinux.org/index.php/Bluetooth_headset#Configuration_via_CLI

Have you looked at bluedevil which is a package to integrate into kde? Not sure if it’s any help?

@Philo-Phineas
Here are some tools to maybe help.

dmesg | grep -i bluetooth

See what modules are loaded.

lsmod | grep -i bluetooth

You can run btmon in a separate terminal while you’re scanning for your device and see if there are logs that contain e.g. the name of your device.

btmon

Use lsusb -v to find more information about the type of device that it is when it’s plugged in.

lsusb -v

See what bluetooth packages are installed

pacman -Qs blue

See what pulseaudio is installed.

pacman -Qs pulse