[pulseaudio-discuss] [RFC v0 0/5] Multiple Bluetooth SCO connections

Luiz Augusto von Dentz luiz.dentz at gmail.com
Wed May 23 02:55:30 PDT 2012


Hi Mikel,

On Wed, Apr 11, 2012 at 10:00 AM, Mikel Astiz <mikel.astiz.oss at gmail.com> wrote:
> From: Mikel Astiz <mikel.astiz at bmw-carit.de>
>
> This patch series includes patches that have been useful to connect two HCI-based SCO links simultaneously. This can be used for example to connect to HSP headsets at the same time.
>
> The patch series is divided in three groups: kernel patches, BlueZ userspace patches and PulseAudio patches for module-bluetooth-device.
>
> The kernel patches include some code cleanup and more importantly a dynamically changing alternate setting in btusb driver. These ideas have been taken from the patches I found in [1]. The last patch, “Bluetooth: Remove outgoing MTU check” should be considered with care, since there probably are better approaches to solve this (WIP).
>
> The BlueZ userspace patches add some necessary infrastructure to support such use-cases.
>
> The PulseAudio patches provide some changes to be able to test the rest of the code. The first three patches have been reused from a previously submitted patch series, and only the last two patches are relevant for this purpose. They provide some simple workarounds and should not be considered a proper solution.
>
> As I said, the easiest may to test these patches is by using two Bluetooth headsets. You should use the Media API (Enable=Media in audio.conf), connect both headsets, and use pacmd to set their profile to hsp.
>
> [1] http://bluetooth-alsa.sourceforge.net/future.html
>
> Mikel Astiz (5):
>  bluetooth: Check errors in init_bt
>  bluetooth: Avoid using IPC mechanism to BlueZ
>  bluetooth: Removed library for IPC to BlueZ
>  bluetooth: Consider different input and output MTU
>  bluetooth: Dynamically change outgoing MTU
>
>  src/Makefile.am                                 |   15 +-
>  src/modules/bluetooth/ipc.h                     |  244 +------
>  src/modules/bluetooth/module-bluetooth-device.c |  939 +++--------------------
>  3 files changed, 95 insertions(+), 1103 deletions(-)
>
> --
> 1.7.7.6

Patches 1-3 I can ack, but the changes to MTU we need to investigate a
bit better what is going on, so I would leave them out for now.

-- 
Luiz Augusto von Dentz


More information about the pulseaudio-discuss mailing list