← Back to team overview

kernel-packages team mailing list archive

[Bug 1552128] Re: Music audio is not transferred to headset after it is connected

 

The information from debugging pulseaudio:

0. Info

phablet@ubuntu-phablet:~$ pactl info
Server String: /run/user/32011/pulse/native
Library Protocol Version: 30
Server Protocol Version: 30
Is Local: yes
Client Index: 26
Tile Size: 65496
User Name: phablet
Host Name: ubuntu-phablet
Server Name: pulseaudio
Server Version: 6.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: bluez_sink.68_76_4F_6C_31_E9
Default Source: source.primary
Cookie: babf:0d7f

1.

Sinks:

phablet@ubuntu-phablet:~$ pactl list sinks

This is the state after the headset is connected from the 2nd time.
Notice that the music is playing through Sink#0 although it should go
through BT headset.

Sink #0
        State: RUNNING
        Name: sink.primary
        Description: Droid sink primary
        Driver: module-droid-card.c


Sink #1
        State: SUSPENDED
        Name: sink.fake.sco
        Description: Null Output
        Driver: module-null-sink.c
 
Sink #3
        State: SUSPENDED
        Name: bluez_sink.68_76_4F_6C_31_E9
        Description: SBH52
        Driver: module-bluez5-device.c

2.

Headset as a card:

Card #2
        Name: bluez_card.68_76_4F_6C_31_E9
        Driver: module-bluez5-device.c
        Owner Module: 24
        Properties:
                device.description = "SBH52"
                device.string = "68:76:4F:6C:31:E9"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_68_76_4F_6C_31_E9"
                bluez.class = "0x240404"
                bluez.alias = "SBH52"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
        Profiles:
                a2dp_sink: High Fidelity Playback (A2DP Sink) (sinks: 1, sources: 0, priority: 10, available: yes)
                headset_head_unit: Headset Head Unit (HSP/HFP) (sinks: 1, sources: 1, priority: 20, available: yes)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: a2dp_sink
        Ports:
                headset-output: Headset (priority: 0, latency offset: 0 usec)
                        Part of profile(s): a2dp_sink, headset_head_unit
                headset-input: Headset (priority: 0, latency offset: 0 usec)
                        Part of profile(s): headset_head_unit

3.

This test goes through BT headset:

phablet@ubuntu-phablet:~$ paplay /usr/share/sounds/alsa/Front_Left.wav

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1552128

Title:
  Music audio is not transferred to headset after it is connected

Status in bluez package in Ubuntu:
  New

Bug description:
  Device and Ubuntu version
  =====================

  Tested on Krillin [Aquaris E4.5], with BlueZ 5.37

  phablet@ubuntu-phablet:~$ lsb_release -rd
  Description:    Ubuntu 15.04
  Release:        15.04
  phablet@ubuntu-phablet:~$

  Tested with:
  1. Sony SBH52 headset
  2. Philips SHB5500 headphones

  Description:
  =========

  In disconnect state play the music on the phone and do the connection
  (bluetoothctl connect <device>).

  Audio is not transferred to the BT headset but it still plays on the
  phone instead. On the other hand the bluetoothctl and UI shows that
  the device is connected. The headset blinkenlights indicate that it is
  connected too.

  The audio is properly routed again after the incoming call is made and
  rejected/accepted+terminated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1552128/+subscriptions


References