Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluetooth headset/mic not working
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
nitro322
Guru
Guru


Joined: 24 Jul 2002
Posts: 594
Location: USA

PostPosted: Wed Mar 18, 2020 1:25 am    Post subject: Bluetooth headset/mic not working Reply with quote

Hi. I have a bluetooth headset w/ microphone that I just can't get working. Would really appreciate any assistance.

I'm not especially familiar with either bluez or pulseaudio, but I got as far as getting the headphones working. Just can't get the mic working.

It looks like the main issue is that my headphones are connecting with the "High Fidelity Playback (A2DP Sink)" profile. That works fine for playback, but no mic is available. If I switch the profile to "Headset Head Unit (HSP/HFP)" a new input device for the microphone appears, but the headphones stop working.

When I say stops working, I mean audio will not play through it. Eg., if I have Clementine playing music through my headphones (when set to A2DP), when I switch it to HSP/HFP the audio just stops playing. Clementine doesn't stop playback, it just hangs, like the audio is somehow being blocked.

I've done a fair amount of searching, but so far only see people asking about the opposite problem - how to make A2DP playback work because it's apparently better quality. I don't care about A2DP, I just need both the headphones and mic working.

Any pointers?

I'm not sure what would be helpful for troubleshooting this. Here's my bluetooth headset as output by 'pacmd list-cards':

Code:
    index: 5
        name: <bluez_card.20_74_CF_41_D3_03>
        driver: <module-bluez5-device.c>
        owner module: 27
        properties:
                device.description = "Aeropex by AfterShokz"
                device.string = "20:74:CF:41:D3:03"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headphone"
                bluez.path = "/org/bluez/hci0/dev_20_74_CF_41_D3_03"
                bluez.class = "0x240418"
                bluez.alias = "Aeropex by AfterShokz"
                device.icon_name = "audio-headphones-bluetooth"
        profiles:
                headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown)
                a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
                off: Off (priority 0, available: yes)
        active profile: <a2dp_sink>
        sinks:
                bluez_sink.20_74_CF_41_D3_03.a2dp_sink/#13: Aeropex by AfterShokz
        sources:
                bluez_sink.20_74_CF_41_D3_03.a2dp_sink.monitor/#22: Monitor of Aeropex by AfterShokz
        ports:
                headphone-output: Headphone (priority 0, latency offset 0 usec, available: yes)
                        properties:

                headphone-input: Bluetooth Input (priority 0, latency offset 0 usec, available: unknown)
                        properties


And here's the device info from bluetoothctl:

Code:
Device 20:74:CF:41:D3:03 (public)
        Name: Aeropex by AfterShokz
        Alias: Aeropex by AfterShokz
        Class: 0x00240418
        Icon: audio-card
        Paired: yes
        Trusted: yes
        Blocked: no
        Connected: yes
        LegacyPairing: no
        UUID: Serial Port               (00001101-0000-1000-8000-00805f9b34fb)
        UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
        UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
        UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
        UUID: Handsfree                 (0000111e-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        Modalias: bluetooth:v000ApFFFFdFFFF


Finally, here are the versions and USE flags enabled for each:

Code:
[ebuild   R    ] net-wireless/bluez-5.52-r1:0/3::gentoo  USE="cups mesh obex readline udev -btpclient -debug -deprecated -doc -experimental -extra-tools -midi (-selinux) -systemd -test -test-programs -user-session" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="-python2_7" 0 KiB

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


Again, would appreciate any pointers. I'm completely out of ideas at this point.
_________________
https://www.legroom.net/
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Thu Mar 19, 2020 9:22 pm    Post subject: Reply with quote

I am also trying to make my bluetooth headset working right now :)

Check your /var/log/daemon.log where bluetoothd writes its log on your system.
I have there

Code:

Mar 19 14:59:24 grizzly bluetoothd[6539]: RFCOMM server failed for HSP Audio Gateway: socket(STREAM, RFCOMM): Protocol not supported (93)
Mar 19 14:59:24 grizzly bluetoothd[6539]: RFCOMM server failed for HFP Audio Gateway: socket(STREAM, RFCOMM): Protocol not supported (93)
Mar 19 14:59:35 grizzly bluetoothd[6539]: Unable to connect HFP Audio Gateway: socket(STREAM, RFCOMM): Protocol not supported (93)
Mar 19 14:59:35 grizzly bluetoothd[6539]: Connecting HFP Audio Gateway failed: Input/output error


what do you have ?
Back to top
View user's profile Send private message
AlexJGreen
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 149

PostPosted: Fri Mar 20, 2020 10:07 am    Post subject: Reply with quote

_

Last edited by AlexJGreen on Mon Dec 28, 2020 3:15 am; edited 1 time in total
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Fri Mar 20, 2020 4:20 pm    Post subject: Reply with quote

Well, there are links that state that hands-free profiles suffered regression under Bluez5, but I thought it would have been solved by now ?
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Fri Mar 20, 2020 4:25 pm    Post subject: Reply with quote

coderanger wrote:
I think it is something not implemented in Bluez5.
My Parrot Zik 3 works well in MacOS (speakers+mic), works well with iphone, but with Bluez5 mic is not working.
The only option is to use USB cable
Code:
    index: 1
        name: <bluez_card.A0_14_3D_6C_33_85>
        driver: <module-bluez5-device.c>
        owner module: 26
        properties:
                device.description = "kbx86 V3.07"
                device.string = "A0:14:3D:6C:33:85"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "hands-free"
                bluez.path = "/org/bluez/hci0/dev_A0_14_3D_6C_33_85"
                bluez.class = "0x240408"
                bluez.alias = "kbx86 V3.07"
                device.icon_name = "audio-handsfree-bluetooth"
                device.intended_roles = "phone"
        profiles:
                a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: unknown)
                headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: no)
                off: Off (priority 0, available: yes)
        active profile: <a2dp_sink>
        sinks:
                bluez_sink.A0_14_3D_6C_33_85.a2dp_sink/#2: kbx86 V3.07
        sources:
                bluez_sink.A0_14_3D_6C_33_85.a2dp_sink.monitor/#3: Monitor of kbx86 V3.07
        ports:
                handsfree-output: Handsfree (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                handsfree-input: Handsfree (priority 0, latency offset 0 usec, available: no)
                        properties:
Wiki


What command does give this output ?
Back to top
View user's profile Send private message
AlexJGreen
Tux's lil' helper
Tux's lil' helper


Joined: 19 Sep 2018
Posts: 149

PostPosted: Fri Mar 20, 2020 4:45 pm    Post subject: Reply with quote

_

Last edited by AlexJGreen on Mon Dec 28, 2020 3:15 am; edited 1 time in total
Back to top
View user's profile Send private message
pcmaster
Advocate
Advocate


Joined: 04 Dec 2003
Posts: 2222
Location: Barcelona

PostPosted: Sun May 24, 2020 3:24 pm    Post subject: Reply with quote

I also have issues with my bluetooth headset. It only works (re)starting bluetooth manualy after boot.
_________________
pcmaster
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