Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluetooth headset only registers as A2DP
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Abbott
n00b
n00b


Joined: 23 Mar 2020
Posts: 15

PostPosted: Thu Feb 17, 2022 4:16 am    Post subject: Bluetooth headset only registers as A2DP Reply with quote

I have been trying to get my headphones to register as HSP/HFP for a while now.

[ebuild R ] media-sound/pulseaudio-15.0-r1::gentoo USE="X alsa alsa-plugin asyncns bluetooth daemon dbus elogind gdbm glib gtk ipv6 native-headset orc ssl udev webrtc-aec -doc -equalizer -gstreamer -jack -lirc -ofono-headset (-oss) (-selinux) -sox (-system-wide) -systemd -tcpd -test -zeroconf" ABI_X86="32 (64) (-x32)" 0 KiB

I am using the native-headset USE and using bluez with blueman-applet/blueman and pavucontrol to control the audio device. I can pair and connect the headset (EarFun Free) to use A2DP, but when I try to change the profile to HFP, blueman-applet gives an error "Failed to change profile to handsfree_head_unit"

This is what shows up under info:

Code:
20:10:10:14:F2:8D
public
EarFun Free
EarFun Free
0x240404
0x0000
audio-headset
yes
yes
no
no
yes
00000000-0000-0000-0099-aabbccddeeff Proprietary
0000110b-0000-1000-8000-00805f9b34fb Audio Sink
0000110c-0000-1000-8000-00805f9b34fb Remote Control Target
0000110e-0000-1000-8000-00805f9b34fb Remote Control
0000111e-0000-1000-8000-00805f9b34fb Handsfree
/org/bluez/hci0


Is there anything I can check or try to figure out what is going wrong?
Back to top
View user's profile Send private message
garrison
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 251

PostPosted: Thu Feb 17, 2022 6:37 am    Post subject: Reply with quote

Please collect verbose log like this:

Code:

1. disconnect headset
2. issue these commands in terminal to enable verbose log in daemon, this will persist until pulseaudio is restarted

  pacmd set-log-target file:/tmp/pulse-verbose.log
  pacmd set-log-time true
  pacmd set-log-level 4

3. connect headset and wait ~10 sec
4. open pavucontrol and try switching headset to HFP profile
5. wait ~10 sec
6. disconnect headset

Please share /tmp/pulse-verbose.log

Your headset only supports HFP (has 'Handsfree' profile but not 'Headset' profile) and there could be hardware or kernel issue with wideband speech implementation. Please try this change to load-module module-bluetooth-discover line in /etc/pulse/default.pa
Code:
load-module module-bluetooth-discover enable_msbc=false

If this helps, verbose log you collected should will contain confirmation of issue with wideband speech implementation as well. Checking kernel dmesg and log from bluez bluetoothd would be useful.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum