[pulseaudio-discuss] Bluetooth : A2DP and AVRCP is working fine , but HFP is showing working but No sound -Mic/Speaker ?

Samiran Sarkar samiran.s at hcl.com
Mon Feb 1 01:06:06 PST 2016


root at baytrail32:~# journalctl -u pulseaudio
-- Logs begin at Sun 2012-01-01 00:00:34 UTC, end at Thu 2015-12-10 10:16:46 UTC. --
Dec 10 10:09:45 baytrail32 pulseaudio[312]: E: [pulseaudio] main.c: Sink alsa_output.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000-
Dec 10 10:09:45 baytrail32 pulseaudio[312]: E: [pulseaudio] main.c: Source alsa_input.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000
Dec 10 10:10:18 baytrail32 pulseaudio[312]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is
Dec 10 10:15:52 baytrail32 pulseaudio[312]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is
Dec 10 10:16:30 baytrail32 systemd[1]: pulseaudio.service: main process exited, code=killed, status=11/SEGV
Dec 10 10:16:30 baytrail32 systemd[1]: Unit pulseaudio.service entered failed state.
Dec 10 10:16:36 baytrail32 pulseaudio[362]: E: [pulseaudio] main.c: Sink alsa_output.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000-
Dec 10 10:16:36 baytrail32 pulseaudio[362]: E: [pulseaudio] main.c: Source alsa_input.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000
Dec 10 10:16:36 baytrail32 pulseaudio[362]: E: [pulseaudio] backend-ofono.c: Deferred setup failed on fd -1: Transport endpoint is


#pactl list modules

Module #23
        Name: module-bluez5-device
        Argument: path=/org/bluez/hci0/dev_F8_32_E4_FB_FD_28
        Usage counter: 2
        Properties:
                module.author = "João Paulo Rechi Vita"
                module.description = "BlueZ 5 Bluetooth audio sink and source"
                module.version = "6.0-dirty"

Module #24
        Name: module-loopback
        Argument: sink="bluez_sink.F8_32_E4_FB_FD_28" sink_dont_move="true" source_output_properties="media.role=phone"
        Usage counter: n/a
        Properties:
                module.author = "Pierre-Louis Bossart"
                module.description = "Loopback from source to sink"
                module.version = "6.0-dirty"

Module #25
        Name: module-loopback
        Argument: source="bluez_source.F8_32_E4_FB_FD_28" source_dont_move="true" sink_input_properties="media.role=phone"
        Usage counter: n/a
        Properties:
                module.author = "Pierre-Louis Bossart"
                module.description = "Loopback from source to sink"
                module.version = "6.0-dirty"

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This( Above) is the normal condition -- if I make a call I can't transfer my Smart Phone voice to Bluetooth Device/
then if I do loopback it allows to transfer Voice from Phone to Bluetooth device ( no sound at Phone , making sure that Conversation has transferred to BT Device) 


#pacmd load-module module-loopback source=bluez_source.F8_32_E4_FB_FD_28 sink=alsa_output.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000-00-duo.analog-stereo

again whatever I 'm speaking over MIC I 'm able to listen in headphone Speaker. But Voice conversation is missing which supposed to get via Bluetooth

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#pactl list modules

Module #23
        Name: module-bluez5-device
        Argument: path=/org/bluez/hci0/dev_F8_32_E4_FB_FD_28
        Usage counter: 0
        Properties:
                module.author = "João Paulo Rechi Vita"
                module.description = "BlueZ 5 Bluetooth audio sink and source"
                module.version = "6.0-dirty"

Module #26
        Name: module-cli-protocol-unix
        Argument:
        Usage counter: n/a
        Properties:
                module.author = "Lennart Poettering"
                module.description = "Command line interface protocol (UNIX sockets)"
                module.version = "6.0-dirty"

Module #27
        Name: module-loopback
        Argument: source=bluez_source.F8_32_E4_FB_FD_28 sink=alsa_output.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000-00-duo.analog-stereo
        Usage counter: n/a
        Properties:
                module.author = "Pierre-Louis Bossart"
                module.description = "Loopback from source to sink"
                module.version = "6.0-dirty"




Thanks
Samiran










-----Original Message-----
From: Tanu Kaskinen [mailto:tanuk at iki.fi] 
Sent: Saturday, January 30, 2016 5:06 PM
To: Samiran Sarkar; pulseaudio-discuss at lists.freedesktop.org
Subject: Re: [pulseaudio-discuss] Bluetooth : A2DP and AVRCP is working fine , but HFP is showing working but No sound -Mic/Speaker ?

On Fri, 2016-01-29 at 13:32 +0000, Samiran Sarkar wrote:
> Thanks Tanu , really appreciated for your support
> 
> 1. pactl set-card-profile bluez_card.F8_32_E4_FB_FD_28  
> headset_audio_gateway then Loop back is like this 2. pacmd load-module 
> module-loopback source=bluez_source.F8_32_E4_FB_FD_28 
> sink=alsa_output.usb-Jabra_Jabra_UC_VOICE_150_duo_000000000000-00-duo.
> analog-stereo
> 
> But I can listen in the headphone speaker whatever I 'm speaking over 
> MIC  ( it seems loop back within the device)

Maybe the module-loopback source output got moved from the bluez source to the alsa source for some reason? You can verify what streams are connected to what devices with "pactl list", and prevent unwanted source output moves from happening by giving parameter "source_dont_move=true" to module-loopback ("sink_dont_move" exists too, which will prevent the sink input from moving from the initial sink to somewhere else).

--
Tanu


More information about the pulseaudio-discuss mailing list