Discussion:
[pulseaudio-discuss] Enabling HSP profie in i.MX6 board
Chinthamol CS.
2018-06-11 06:34:22 UTC
Permalink
Hi all,

I am using i.MX6 Evaluation board. I need to enable HSP profile in board and record voice from board to a mobile phone.
I have connected one USB Mic to board to record audio input.
Currently "a2dp_source" profile is the active one. Pulseaudio is up and running.
Able to list, pair and connect to mobile phone via bluetooth using bluetoothctl command.
Able to set Handset profile using following command.
"pactl set-card-profile 0 headset_audio_gateway"
I have given voice input to Mic. At the same time I tried to record this on my bluetooth connected mobile phone using a Voice recorder Application.
Not able to record voice to the Mic in mobile phone. Any input on this?
Any hint or clue will be greatly appreciated.

Thanks,
Chintha
________________________________

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.

________________________________
Tanu Kaskinen
2018-06-15 11:43:40 UTC
Permalink
Post by Chinthamol CS.
Hi all,
I am using i.MX6 Evaluation board. I need to enable HSP profile in board and record voice from board to a mobile phone.
I have connected one USB Mic to board to record audio input.
Currently "a2dp_source" profile is the active one. Pulseaudio is up and running.
Able to list, pair and connect to mobile phone via bluetooth using bluetoothctl command.
Able to set Handset profile using following command.
"pactl set-card-profile 0 headset_audio_gateway"
I have given voice input to Mic. At the same time I tried to record this on my bluetooth connected mobile phone using a Voice recorder Application.
Not able to record voice to the Mic in mobile phone. Any input on this?
Any hint or clue will be greatly appreciated.
Perhaps the loopback from the USB mic to the bluetooth sink is
missing... Do you have module-bluetooth-policy loaded? It should
automatically set up a loopback from the default source (which should
be the USB mic - check that that's the case with "pactl info") to the
bluetooth sink.
--
Tanu

https://liberapay.com/tanuk
https://www.patreon.com/tanuk
Loading...