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

Konrad Zapałowicz konrad.zapalowicz at canonical.com
Fri Mar 4 12:28:49 UTC 2016


The information from debugging pulseaudio:

0. Info

phablet at 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 at 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 at ubuntu-phablet:~$ paplay /usr/share/sounds/alsa/Front_Left.wav

-- 
You received this bug notification because you are a member of
Bluetooth, 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

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



More information about the Ubuntu-bluetooth mailing list