Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202284 > unrolled thread

Pulseaudio as bluetooth Headset Audio Gateway (HSP/HFP)

Started byMartin <keine-eile@online.de>
First post2018-11-09 14:50 +0100
Last post2018-11-09 23:10 +0100
Articles 5 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Pulseaudio as bluetooth Headset Audio Gateway (HSP/HFP) Martin <keine-eile@online.de> - 2018-11-09 14:50 +0100
    Re: Pulseaudio as bluetooth Headset Audio Gateway (HSP/HFP) deloptes <deloptes@gmail.com> - 2018-11-09 20:10 +0100
      Re: Pulseaudio as bluetooth Headset Audio Gateway (HSP/HFP) Martin <keine-eile@online.de> - 2018-11-11 12:30 +0100
        Re: Pulseaudio as bluetooth Headset Audio Gateway (HSP/HFP) deloptes <deloptes@gmail.com> - 2018-11-11 16:40 +0100
    Re: Pulseaudio as bluetooth Headset Audio Gateway (HSP/HFP) dekks herton <dekkzz78@gmail.com> - 2018-11-09 23:10 +0100

#202284 — Pulseaudio as bluetooth Headset Audio Gateway (HSP/HFP)

FromMartin <keine-eile@online.de>
Date2018-11-09 14:50 +0100
SubjectPulseaudio as bluetooth Headset Audio Gateway (HSP/HFP)
Message-ID<wSfkC-1aQ-11@gated-at.bofh.it>
Hi folks,

I wonder if some of you uses pulseaudio with cell phone telephony. For me, I see in the pulseaudio configuration window a Headset Audio Gateway (HSP/HFP) with is offered by an Android phone. But the Buetooth blueman-manager refuses to set this audio profile. A2DP works fine though.

[toc] | [next] | [standalone]


#202296

Fromdeloptes <deloptes@gmail.com>
Date2018-11-09 20:10 +0100
Message-ID<wSkkh-4tx-3@gated-at.bofh.it>
In reply to#202284
Martin wrote:

> I wonder if some of you uses pulseaudio with cell phone telephony. For me,
> I see in the pulseaudio configuration window a Headset Audio Gateway
> (HSP/HFP) with is offered by an Android phone. But the Buetooth
> blueman-manager refuses to set this audio profile. A2DP works fine though.

Hi,
this topic is PITA for me since many moons.
I use Sailfish OS on the phone, but also spent some time recently on BT
integration with TDE. So to put it short, I recommend compiling and
installing PA 11.99 and higher. Someone reported that in 12.2 most of the
issues are resolved. Of course if you can get a backport is also fine.
The other thing is HSP/HFP profile. The protocols are different, I didn't go
into the details, but both should work fine - you need ofono installed for
this.
I actually tested the phone with recent car (I think it was KIA) and it
worked fine. Also the access to the phone book from the car was working
fine.

Do not forget that you depend on the BT lower level, so look forward to have
the kernel (drivers), the BT adapter and the tools in good shape.

Perhaps you use the crap python/gtk manager - it might work if you install
ofono (after installing you probably need to restart this and that). If it
does not work, just use bluetoothctl and play with UUIDs.
The problem is usually it picks up the first one profile available, which is
Audio. Here are the UUIDs from my notes

        { "00001108-0000-1000-8000-00805f9b34fb", "Headset" },
        { "00001112-0000-1000-8000-00805f9b34fb", "Headset AG" },

        { "0000111e-0000-1000-8000-00805f9b34fb", "Handsfree" },
        { "0000111f-0000-1000-8000-00805f9b34fb", "Handsfree AG" },

I hope it helps

regards

[toc] | [prev] | [next] | [standalone]


#202322

FromMartin <keine-eile@online.de>
Date2018-11-11 12:30 +0100
Message-ID<wSW6e-3a7-15@gated-at.bofh.it>
In reply to#202296
Hi,

I guess, my description was a kind of misleading: I want to connect the phone (Samsung A3) to the PC's audio system, which is Pulseaudio in this case. Just like you would connect it to a headset or your car's hands free bluetooth thing.

As I understand, ofono builds the foundation to an actual telephony hardware, right?

But thanks to you anyway! Quite interesting, what people are hacking on.


Cheers, Martin


Am 09.11.18 um 20:01 schrieb deloptes:
> Martin wrote:
> 
>> I wonder if some of you uses pulseaudio with cell phone telephony. For me,
>> I see in the pulseaudio configuration window a Headset Audio Gateway
>> (HSP/HFP) with is offered by an Android phone. But the Buetooth
>> blueman-manager refuses to set this audio profile. A2DP works fine though.
> 
> Hi,
> this topic is PITA for me since many moons.
> I use Sailfish OS on the phone, but also spent some time recently on BT
> integration with TDE. So to put it short, I recommend compiling and
> installing PA 11.99 and higher. Someone reported that in 12.2 most of the
> issues are resolved. Of course if you can get a backport is also fine.
> The other thing is HSP/HFP profile. The protocols are different, I didn't go
> into the details, but both should work fine - you need ofono installed for
> this.
> I actually tested the phone with recent car (I think it was KIA) and it
> worked fine. Also the access to the phone book from the car was working
> fine.
> 
> Do not forget that you depend on the BT lower level, so look forward to have
> the kernel (drivers), the BT adapter and the tools in good shape.
> 
> Perhaps you use the crap python/gtk manager - it might work if you install
> ofono (after installing you probably need to restart this and that). If it
> does not work, just use bluetoothctl and play with UUIDs.
> The problem is usually it picks up the first one profile available, which is
> Audio. Here are the UUIDs from my notes
> 
>         { "00001108-0000-1000-8000-00805f9b34fb", "Headset" },
>         { "00001112-0000-1000-8000-00805f9b34fb", "Headset AG" },
> 
>         { "0000111e-0000-1000-8000-00805f9b34fb", "Handsfree" },
>         { "0000111f-0000-1000-8000-00805f9b34fb", "Handsfree AG" },
> 
> I hope it helps
> 
> regards
> 

[toc] | [prev] | [next] | [standalone]


#202327

Fromdeloptes <deloptes@gmail.com>
Date2018-11-11 16:40 +0100
Message-ID<wT00a-5AB-27@gated-at.bofh.it>
In reply to#202322
Martin wrote:

> I guess, my description was a kind of misleading: I want to connect the
> phone (Samsung A3) to the PC's audio system, which is Pulseaudio in this
> case. Just like you would connect it to a headset or your car's hands free
> bluetooth thing.
> 

Hi,
I understood that you want to connect, what is not clear is what role it
will play. Which functionality do you want to use?
Example: Phone Audio to PC (Audio Source) or PC Audio to Phone (Audio Sink).

> As I understand, ofono builds the foundation to an actual telephony
> hardware, right?
> 

Ofono provides the HSP/HFP profile if it is not running you can not use the
profile. You can try stopping ofono or removing it. 

You can enforce the profile with bluetoothctl (which was necessary with PA <
11.99). After this I think PA stores the profile as default for the device.

HSP/HFP is necessary if you want to use a headset on the PC and route the
audio from/to the phone (speaker/microphone).

> But thanks to you anyway! Quite interesting, what people are hacking on.

regards

[toc] | [prev] | [next] | [standalone]


#202298

Fromdekks herton <dekkzz78@gmail.com>
Date2018-11-09 23:10 +0100
Message-ID<wSn8v-6gL-9@gated-at.bofh.it>
In reply to#202284

[Multipart message — attachments visible in raw view] — view raw

On 11/09, Martin wrote:
>Hi folks,
>
>I wonder if some of you uses pulseaudio with cell phone telephony. For me, I see in the pulseaudio configuration window a Headset Audio Gateway (HSP/HFP) with is offered by an Android phone. But the Buetooth blueman-manager refuses to set this audio profile. A2DP works fine though.
>

Which cellphone which headphhones and which sink is active

-- 
regards.....

Thinkpad T60p 2.33Ghz 2GB SXGA+

Jabber IM: dekkzz76@jabber.hot-chilli.net

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web