RE: Use HFP as sco sink and source at the same time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Luiz,

Thanks for your response.

For https://bugs.tizen.org/jira/browse/TC-160, we can get the related log of pulseaudio.

[pulseaudio] router.c: routing 'dialer' => 'Bluetooth Mono Handsfree'
D: [pulseaudio] audiomgr.c: skip registering nodes while the domain is down
D: [pulseaudio] constrain.c: node 'Bluetooth Mono Handsfree' added to constrain profile/bluez_card.00_16_44_FD_35_D2
D: [pulseaudio] discover.c: card 'bluez_card.00_16_44_FD_35_D2' default profile 'off'
D: [pulseaudio] discover.c: scheduling card check
I: [pulseaudio] module.c: Loaded "module-bluez5-device" (index: #21; argument: "path=/org/bluez/hci0/dev_00_16_44_FD_35_D2").
D: [pulseaudio] bluez5-util.c: Transport /org/bluez/hci0/dev_00_16_44_FD_35_D2/fd1 available for profile a2dp_sink
D: [pulseaudio] discover.c: card check starts
D: [pulseaudio] discover.c: card 'bluez_card.00_16_44_FD_35_D2' has no sinks/sources. Do routing ...
D: [pulseaudio] router.c: using 'phone' router group when routing 'dialer'
D: [pulseaudio] constrain.c: applying constrain profile/bluez_card.00_16_44_FD_35_D2
D: [pulseaudio] constrain.c:    unblocking 'Bluetooth Mono Handsfree' in table 'default_driver'
D: [pulseaudio] constrain.c:    unblocking 'Bluetooth Mono Handsfree' in table 'phone'
D: [pulseaudio] constrain.c:    blocking 'Bluetooth Stereo Headphone' in table 'default_driver'
D: [pulseaudio] constrain.c:    unblocking 'Bluetooth Mono Handsfree' in table 'phone'
D: [pulseaudio] router.c: routing 'dialer' => 'Bluetooth Mono Handsfree'
D: [pulseaudio] audiomgr.c: ignoring default route dialer => Bluetooth Mono Handsfree: incomplete input or output
D: [pulseaudio] switch.c: changing profile 'off' => 'hsp'
W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to hsp: Not connected
D: [pulseaudio] switch.c: can't route to 'Bluetooth Mono Handsfree': no sink
D: [pulseaudio] volume.c: reset volume classes on node 'Bluetooth Mono Handsfree'
D: [pulseaudio] volume.c: add volume class 7 (Phone) to node 'Bluetooth Mono Handsfree' (clmask 0x0)
D: [pulseaudio] router.c: using 'phone' router group when routing 'Car Kit'
D: [pulseaudio] router.c: routing 'Car Kit' => 'Bluetooth Mono Handsfree'
D: [pulseaudio] audiomgr.c: ignoring default route Car Kit => Bluetooth Mono Handsfree: incomplete input or output
D: [pulseaudio] switch.c: changing profile 'off' => 'hsp'
W: [pulseaudio] module-bluez5-device.c: Refused to switch profile to hsp: Not connected
D: [pulseaudio] switch.c: can't route to 'Bluetooth Mono Handsfree': no sink

Not make sure if the Bluetooth handle to pulseaudio can work well or not?

What do you think?

Best Regards
Zheng Wu


-----Original Message-----
From: Luiz Augusto von Dentz [mailto:luiz.dentz@xxxxxxxxx] 
Sent: Monday, October 20, 2014 5:03 PM
To: Zheng, Wu
Cc: Von Dentz, Luiz; linux-bluetooth@xxxxxxxxxxxxxxx
Subject: Re: Use HFP as sco sink and source at the same time

Hi,

On Mon, Oct 20, 2014 at 11:15 AM, Zheng, Wu <wu.zheng@xxxxxxxxx> wrote:
> Hi Luiz,
>
> HFP is used on IVI and meet some issues.
>
> EXACT STEPS LEADING TO PROBLEM:
> ===========================================================
> 1. pair BT phone by bluetoothctl
> 2. launch dialer app
> 3. make voice call and answer, the voice can be heard from IVI speaker 
> 4. pair and connect BT headset with bluetoothctl
>
> EXPECTED OUTCOME:
> ===================
> Voice send out from the BT headset
> ACTUAL OUTCOME
> ===================
> sound still heard from IVI speaker, doesn't auto switch to BT handset
>
> I don't make sure if Bluez can support it or not?
>
> Question: the SCOs connection of HFP on IVI can be used as SCO sink and source at the same time?
>
> It is the issue of https://bugs.tizen.org/jira/browse/TC-160.

Yes, by design it is duplex so both sink and source works simultaneously, perhaps you are talking about of sending the microphone data to the other end which has probably nothing to do with Bluetooth but with audio routing not being properly configured.


--
Luiz Augusto von Dentz
��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux