[pulseaudio-discuss] Enabling HSP profie in Pulseaudio
Chinthamol.CS at nestgroup.net
Tue Jun 19 10:28:09 UTC 2018
Thankyou for your reply.
I updated pulseaudio to 11.1
Now ofono is not running in my setup. Still i couldn't enable HSP profile in pulseaudio.
Also I tried with headset=native to module- bluetooth-discover . But No Hope.
My i.MX6 board is connected to Andrid mobile phone via bluetooth. BT microphone(connected to board) is not replacing the internal microphone of Andrid mobile phone.
Whether we need to do any additional configuration for this? Please help.
pactl list cards shows below log.
root at imx6qsabreauto:~# pactl list cards
Owner Module: 24
device.description = "NTP RAG (Galaxy S4)"
device.string = "50:32:75:FC:64:B6"
device.api = "bluez"
device.class = "sound"
device.bus = "bluetooth"
device.form_factor = "phone"
bluez.path = "/org/bluez/hci0/dev_50_32_75_FC_64_B6"
bluez.class = "0x5a020c"
bluez.alias = "NTP RAG (Galaxy S4)"
device.icon_name = "audio-card-bluetooth"
headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: no)
a2dp_source: High Fidelity Capture (A2DP Source) (sinks: 0, sources: 1, priority: 10, available: yes)
headset_audio_gateway: Headset Audio Gateway (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: yes)
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
Active Profile: headset_audio_gateway
phone-output: Phone (priority: 0, latency offset: 0 usec)
Part of profile(s): headset_head_unit, headset_audio_gateway
phone-input: Phone (priority: 0, latency offset: 0 usec)
Part of profile(s): headset_head_unit, a2dp_source, headset_audio_gateway
From: pulseaudio-discuss [mailto:pulseaudio-discuss-bounces at lists.freedesktop.org] On Behalf Of Tanu Kaskinen
Sent: Friday, June 15, 2018 5:37 PM
To: General PulseAudio Discussion
Subject: Re: [pulseaudio-discuss] Enabling HSP profie in Pulseaudio
On Wed, 2018-06-13 at 10:15 +0000, Chinthamol CS. wrote:
> Hi all,
> Need to act pulseaudio as headset. Currently we are using pulseaudio 8.0 and bluez_5.37 .
> Current setting of default.pa is attaching with this email.
> What changes are needed inorder to run pulseaudio in Hand set profile.
> We need to connect i.MX6 board( in which ofono and pulse audio service is running) as headset in bluetooth enabled mobile phone.
> Also we need to record voice from i.MX6 board to mobile phone.
> By default, in our setup ofono is running.
> I did changes as per
> r/Bluetooth/ I restarted pulseaudio after killing current ofono.
> Still HSP profile is not activated.
It's unclear whether you want to use HSP or HFP. You say you want to use HSP, but ofono is only relevant for HFP.
If you want to use HSP as you say, then you'll need to upgrade PulseAudio to 11.0 (or 11.1), because older versions don't implement the headset role. You also should either remove ofono altogether, or make sure that it's not configured to enable the HFP hands-free role, because that will interfere with PulseAudio's HSP implementation. If you don't remove ofono, you should also pass headset=native to module- bluetooth-discover, because if ofono is running and you use headset=auto, then PulseAudio will assume that you want to use ofono.
pulseaudio-discuss mailing list
pulseaudio-discuss at lists.freedesktop.org
Confidentiality Statement / Disclaimer : This message and any attachments is intended for the sole use of the intended recipient. It may contain confidential information. Any unauthorized use, dissemination or modification is strictly prohibited. If you are not the intended recipient, please notify the sender immediately then delete it from all your systems, and do not copy, use or print. Internet communications are not secure and it is the responsibility of the recipient to make sure that it is virus/malicious code exempt.
The company/sender cannot be responsible for any unauthorized alterations or modifications made to the contents. If you require any form of confirmation of the contents, please contact the company/sender. The company/sender is not liable for any errors or omissions in the content of this message.
More information about the pulseaudio-discuss