From: Daniel Wagner <wagi@monom.org>
To: ofono@ofono.org
Subject: Re: [HELP Required]Routing Of SCO data to BT Host Speaker
Date: Thu, 17 Mar 2011 15:21:57 +0100 [thread overview]
Message-ID: <4D821905.7010402@monom.org> (raw)
In-Reply-To: <10D123A956DC4B4FA9D7A48B3335836214DEF015CB@INDXM3131.dir.svc.accenture.com>
[-- Attachment #1: Type: text/plain, Size: 3520 bytes --]
Hi Milan,
sorry, your mail got drowned in my inbox. I saw that Andreas had a tip.
HTH,
daniel
On 03/11/2011 03:43 PM, milan.satpathy(a)accenture.com wrote:
> Hi Daniel,
>
> Thanks for the quick assistance.
>
> I tried the same approach as suggested by you.
>
> Steps:
> ------
> 1.$pacmd
> 2.$list-sources
> ( got 2 sources )
>
> name:<alsa_output.pci-0000_00_05.0.analog-stereo.monitor>
>
> (and)
>
> name:<alsa_input.pci-0000_00_05.0.analog-stereo>
> 3.$list-sinks
> ( got 1 sink )
>
> name:<alsa_output.pci-0000_00_05.0.analog-stereo>
>
> 4.created a shell script "ofono.sh" with contents as below:
> pactl load-module module-loopback source="alsa_input.pci-0000_00_05.0.analog-stereo" sink="bluez_sink.A8_7E_33_AF_23_A4"
> pactl load-module module-loopback source="bluez_source.A8_7E_33_AF_23_A4" sink="alsa_output.pci-0000_00_05.0.analog-stereo"
> (A8_7E_33_AF_23_A4 is the BT address of handset paired to the host)
>
> 5. Now I connect the host to the handset through HFP.
> 6.After SLC is established , I dial a number and establish a voice call.
> 7.As soon as the state is "Playing" ( SCO connected) , I run the "ofono.sh" ( as mentioned in step 4).
>
> Result:
> -------
> I am getting the following errors:
>
> Failure: Module initalization failed
> Failure: Module initalization failed
>
>
> Requesting Clarification
> ------------------------
> 1.I was wondering if any modification is required in pulseaudio configuration files to enable dynamic loading of module-loopback.( e.g "module-loading = yes" in /etc/pulse/daemon.conf ).Currently all settings are maintained as default.
>
> 2.Also, do I need to modify "SCORouting=PCM" in "audio.conf" file. (default is HCI)
>
> It will be of great help to receive any further inputs regarding the above issue.
>
> Best Regards,
> Milan
>
> -----Original Message-----
> From: Daniel Wagner [mailto:wagi(a)monom.org]
> Sent: Friday, March 11, 2011 12:52 PM
> To: Satpathy, Milan
> Cc: ofono(a)ofono.org
> Subject: Re: [HELP Required]Routing Of SCO data to BT Host Speaker
>
> Hi Milan,
>
> On Fri, Mar 11, 2011 at 10:56:34AM +0530, milan.satpathy(a)accenture.com wrote:
>> Hi,
>>
>> Recently I have been trying to use Ofono to write a Handsfree based application( Using C on Ubuntu 10.10).
>> I am able to connect(SLC) to the AG using Ofono. After connection I am also successful in dialing to another number.
>> Bluetoothd indicates status as "Playing" ( SCO connection successful) once the call is established.
>>
>> Problem Faced:
>> ----------------------
>> However, after accepting the call I am unable to hear any voice through the speaker.
>
> You might have to loop back the PulseAudio BT source and sink to your sound card, e.g.
>
> pactl load-module module-loopback source="alsa_input.pci-0000_00_1b.0.analog-stereo" sink="bluez_sink.78_47_1D_44_34_10"
> pactl load-module module-loopback source="bluez_source.78_47_1D_44_34_10" sink="alsa_output.pci-0000_00_1b.0.analog-stereo"
>
> You have to do this within 5 seconds after the SCO connection has been
> established otherwise PulseAudio will suspend (which leads to a BT
> stream stop) the streams.
>
> HTH,
> daniel
>
>
> This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.
prev parent reply other threads:[~2011-03-17 14:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-11 5:26 [HELP Required]Routing Of SCO data to BT Host Speaker milan.satpathy
2011-03-11 7:21 ` Daniel Wagner
2011-03-11 14:43 ` milan.satpathy
2011-03-15 14:34 ` Andreas Hohn
2011-03-17 14:21 ` Daniel Wagner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D821905.7010402@monom.org \
--to=wagi@monom.org \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.