Call for testing: updated Pulseaudio from Ubuntu 16.04
-
@geekvine On what device?
-
@mihael sorry Nexus 5 on the latest devel
-
Did anyone test this on a Pro 5? - I'm on rc channel so I cannot test this right now. I'm very excited about any improvements to bluetooth audio...
-
@mihael Sadly, not any improvement. Sound did not get through, it did connect to Volvo Truck Bluetooth though. But it never worked on Pro5...
-
@Stefano Thank you for testing and posting.
-
Tested on BQ E4.5 and only audio music playing works correctly. When in calling mode, no sound is route to headset.
Thanks for working in this patch. -
@dR0W Is it regression or it has been in this way for some time already?
-
Sorry @peat_psuwit, I don't now if this is a regression. I only can tell you that I was playing music correctly and then I received an incoming call, then the music playing stopped correctly but I couldn't hear nothing through the headset.
I can test all that you need, but in that way give me instructions for testing so I will give you more information. -
@dR0W I've just received my BQ E4.5. Unfortunately, I'm unable to reproduce the problem you reported. I would like a bit more info from you:
- Are you using a wired or Bluetooth headset? If using Bluetooth, what make & model is it?
- Do you know how to use ADB/Developer mode? If so, please give me the result of
pacmd list-sinks
before, during, and after the call. If not (and you're interested in doing so), the instruction is available on the UBports website.
-
Hi @peat_psuwit,
I'm using a Bluetooth headset (SONY MDR-AS700BT) and running devel version 432 in BQ Aquaris E4.5 .
Here You have the requested outputs:- Output playing music before calling:
3 sink(s) available. index: 0 name: <sink.primary> driver: <module-droid-card.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9000 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 0 linked by: 0 fixed latency: 92,00 ms card: 0 <droid_card.primary> module: 5 properties: device.description = "Droid sink primary" device.class = "sound" droid.hw_module = "primary" device.icon_name = "audio-card" ports: output-earpiece: Output to earpiece (priority 200, latency offset 0 usec, available: unknown) properties: output-speaker: Output to speaker (priority 300, latency offset 0 usec, available: unknown) properties: output-wired_headset: Output to wired headset (priority 400, latency offset 0 usec, available: no) properties: output-wired_headphone: Output to wired headphone (priority 400, latency offset 0 usec, available: no) properties: output-bluetooth_sco: Output to bluetooth sco (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_headset: Output to sco headset (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_carkit: Output to sco carkit (priority 100, latency offset 0 usec, available: unknown) properties: output-aux_digital: Output to aux digital (priority 100, latency offset 0 usec, available: unknown) properties: output-analog_dock_headset: Output to analog dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-digital_dock_headset: Output to digital dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-speaker+wired_headphone: Output to speaker+wired headphone (priority 100, latency offset 0 usec, available: unknown) properties: output-parking: Parking port (priority 50, latency offset 0 usec, available: unknown) properties: active port: <output-speaker> index: 1 name: <sink.fake.sco> driver: <module-null-sink.c> flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: mono: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 31 KiB max rewind: 31 KiB monitor source: 2 sample spec: s16le 1ch 8000Hz channel map: mono Mono used by: 0 linked by: 0 configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms module: 7 properties: device.description = "Salida Nula" device.class = "abstract" device.icon_name = "audio-card" * index: 2 name: <bluez_sink.57_D3_98_09_C8_61> driver: <module-bluez5-device.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: RUNNING suspend cause: priority: 9030 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 31,50 ms max request: 3 KiB max rewind: 0 KiB monitor source: 4 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 1 linked by: 2 fixed latency: 45,32 ms card: 1 <bluez_card.57_D3_98_09_C8_61> module: 23 properties: bluetooth.protocol = "a2dp_sink" device.description = "MDR-AS700BT" device.string = "57:D3:98:09:C8:61" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_57_D3_98_09_C8_61" bluez.class = "0x240404" bluez.alias = "MDR-AS700BT" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" ports: headset-output: Auriculares (priority 0, latency offset 0 usec, available: yes) properties: active port: <headset-output>
- Output ringing:
3 sink(s) available. * index: 0 name: <sink.primary> driver: <module-droid-card.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: RUNNING suspend cause: priority: 9000 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 92,00 ms max request: 4 KiB max rewind: 0 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 1 linked by: 1 fixed latency: 92,00 ms card: 0 <droid_card.primary> module: 5 properties: device.description = "Droid sink primary" device.class = "sound" droid.hw_module = "primary" device.icon_name = "audio-card" ports: output-earpiece: Output to earpiece (priority 200, latency offset 0 usec, available: unknown) properties: output-speaker: Output to speaker (priority 300, latency offset 0 usec, available: unknown) properties: output-wired_headset: Output to wired headset (priority 400, latency offset 0 usec, available: no) properties: output-wired_headphone: Output to wired headphone (priority 400, latency offset 0 usec, available: no) properties: output-bluetooth_sco: Output to bluetooth sco (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_headset: Output to sco headset (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_carkit: Output to sco carkit (priority 100, latency offset 0 usec, available: unknown) properties: output-aux_digital: Output to aux digital (priority 100, latency offset 0 usec, available: unknown) properties: output-analog_dock_headset: Output to analog dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-digital_dock_headset: Output to digital dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-speaker+wired_headphone: Output to speaker+wired headphone (priority 100, latency offset 0 usec, available: unknown) properties: output-parking: Parking port (priority 50, latency offset 0 usec, available: unknown) properties: active port: <output-speaker+wired_headphone> index: 1 name: <sink.fake.sco> driver: <module-null-sink.c> flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: mono: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 31 KiB max rewind: 31 KiB monitor source: 2 sample spec: s16le 1ch 8000Hz channel map: mono Mono used by: 0 linked by: 0 configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms module: 7 properties: device.description = "Salida Nula" device.class = "abstract" device.icon_name = "audio-card" index: 2 name: <bluez_sink.57_D3_98_09_C8_61> driver: <module-bluez5-device.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9030 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 3 KiB max rewind: 0 KiB monitor source: 4 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 0 linked by: 2 fixed latency: 45,32 ms card: 1 <bluez_card.57_D3_98_09_C8_61> module: 23 properties: bluetooth.protocol = "a2dp_sink" device.description = "MDR-AS700BT" device.string = "57:D3:98:09:C8:61" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_57_D3_98_09_C8_61" bluez.class = "0x240404" bluez.alias = "MDR-AS700BT" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" ports: headset-output: Auriculares (priority 0, latency offset 0 usec, available: unknown) properties: active port: <headset-output>
- Output in calling:
3 sink(s) available. * index: 0 name: <sink.primary> driver: <module-droid-card.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9000 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 0 linked by: 1 fixed latency: 92,00 ms card: 0 <droid_card.primary> module: 5 properties: device.description = "Droid sink primary" device.class = "sound" droid.hw_module = "primary" device.icon_name = "audio-card" ports: output-earpiece: Output to earpiece (priority 200, latency offset 0 usec, available: unknown) properties: output-speaker: Output to speaker (priority 300, latency offset 0 usec, available: unknown) properties: output-wired_headset: Output to wired headset (priority 400, latency offset 0 usec, available: no) properties: output-wired_headphone: Output to wired headphone (priority 400, latency offset 0 usec, available: no) properties: output-bluetooth_sco: Output to bluetooth sco (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_headset: Output to sco headset (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_carkit: Output to sco carkit (priority 100, latency offset 0 usec, available: unknown) properties: output-aux_digital: Output to aux digital (priority 100, latency offset 0 usec, available: unknown) properties: output-analog_dock_headset: Output to analog dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-digital_dock_headset: Output to digital dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-speaker+wired_headphone: Output to speaker+wired headphone (priority 100, latency offset 0 usec, available: unknown) properties: output-parking: Parking port (priority 50, latency offset 0 usec, available: unknown) properties: active port: <output-earpiece> index: 1 name: <sink.fake.sco> driver: <module-null-sink.c> flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: mono: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 31 KiB max rewind: 31 KiB monitor source: 2 sample spec: s16le 1ch 8000Hz channel map: mono Mono used by: 0 linked by: 0 configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms module: 7 properties: device.description = "Salida Nula" device.class = "abstract" device.icon_name = "audio-card" index: 2 name: <bluez_sink.57_D3_98_09_C8_61> driver: <module-bluez5-device.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9030 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 3 KiB max rewind: 0 KiB monitor source: 4 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 0 linked by: 2 fixed latency: 45,32 ms card: 1 <bluez_card.57_D3_98_09_C8_61> module: 23 properties: bluetooth.protocol = "a2dp_sink" device.description = "MDR-AS700BT" device.string = "57:D3:98:09:C8:61" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_57_D3_98_09_C8_61" bluez.class = "0x240404" bluez.alias = "MDR-AS700BT" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" ports: headset-output: Auriculares (priority 0, latency offset 0 usec, available: unknown) properties: active port: <headset-output>
4.- Output after calling:
3 sink(s) available. index: 0 name: <sink.primary> driver: <module-droid-card.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9000 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 0 KiB max rewind: 0 KiB monitor source: 0 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 0 linked by: 0 fixed latency: 92,00 ms card: 0 <droid_card.primary> module: 5 properties: device.description = "Droid sink primary" device.class = "sound" droid.hw_module = "primary" device.icon_name = "audio-card" ports: output-earpiece: Output to earpiece (priority 200, latency offset 0 usec, available: unknown) properties: output-speaker: Output to speaker (priority 300, latency offset 0 usec, available: unknown) properties: output-wired_headset: Output to wired headset (priority 400, latency offset 0 usec, available: no) properties: output-wired_headphone: Output to wired headphone (priority 400, latency offset 0 usec, available: no) properties: output-bluetooth_sco: Output to bluetooth sco (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_headset: Output to sco headset (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_carkit: Output to sco carkit (priority 100, latency offset 0 usec, available: unknown) properties: output-aux_digital: Output to aux digital (priority 100, latency offset 0 usec, available: unknown) properties: output-analog_dock_headset: Output to analog dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-digital_dock_headset: Output to digital dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-speaker+wired_headphone: Output to speaker+wired headphone (priority 100, latency offset 0 usec, available: unknown) properties: output-parking: Parking port (priority 50, latency offset 0 usec, available: unknown) properties: active port: <output-speaker> index: 1 name: <sink.fake.sco> driver: <module-null-sink.c> flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: mono: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 31 KiB max rewind: 31 KiB monitor source: 2 sample spec: s16le 1ch 8000Hz channel map: mono Mono used by: 0 linked by: 0 configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms module: 7 properties: device.description = "Salida Nula" device.class = "abstract" device.icon_name = "audio-card" * index: 2 name: <bluez_sink.57_D3_98_09_C8_61> driver: <module-bluez5-device.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9030 volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 base volume: 65536 / 100% / 0,00 dB volume steps: 65537 muted: no current latency: 0,00 ms max request: 3 KiB max rewind: 0 KiB monitor source: 4 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Estéreo used by: 0 linked by: 2 fixed latency: 45,32 ms card: 1 <bluez_card.57_D3_98_09_C8_61> module: 23 properties: bluetooth.protocol = "a2dp_sink" device.description = "MDR-AS700BT" device.string = "57:D3:98:09:C8:61" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_57_D3_98_09_C8_61" bluez.class = "0x240404" bluez.alias = "MDR-AS700BT" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" ports: headset-output: Auriculares (priority 0, latency offset 0 usec, available: unknown) properties: active port: <headset-output>
You can say me if you need more info.
-
@dR0W Thank you for the information. I see something incorrect in the "in calling" case. However, I'm unable to pin it down yet. Could you please give me the output of
pacmd list-cards
while in the call? -
Hi @peat_psuwit, here you have the requested "on calling" output log:
2 card(s) available. index: 0 name: <droid_card.primary> driver: <module-droid-card.c> owner module: 5 properties: droid.hw_module = "primary" device.icon_name = "audio-card" profiles: primary-primary: primary output and primary input. (priority 300, available: yes) voicecall: Call mode (priority 0, available: yes) voicecall-record: Call mode record (priority 0, available: yes) communication: Communication mode (priority 0, available: yes) ringtone: Ringtone mode (priority 0, available: yes) off: Apagado (priority 0, available: unknown) active profile: <voicecall> sinks: sink.primary/#0: Droid sink primary sources: sink.primary.monitor/#0: Monitor of Droid sink primary source.primary/#1: Droid source primary ports: output-earpiece: Output to earpiece (priority 200, latency offset 0 usec, available: unknown) properties: output-speaker: Output to speaker (priority 300, latency offset 0 usec, available: unknown) properties: output-wired_headset: Output to wired headset (priority 400, latency offset 0 usec, available: no) properties: output-wired_headphone: Output to wired headphone (priority 400, latency offset 0 usec, available: no) properties: output-bluetooth_sco: Output to bluetooth sco (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_headset: Output to sco headset (priority 100, latency offset 0 usec, available: unknown) properties: output-sco_carkit: Output to sco carkit (priority 100, latency offset 0 usec, available: unknown) properties: output-aux_digital: Output to aux digital (priority 100, latency offset 0 usec, available: unknown) properties: output-analog_dock_headset: Output to analog dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-digital_dock_headset: Output to digital dock headset (priority 100, latency offset 0 usec, available: unknown) properties: output-speaker+wired_headphone: Output to speaker+wired headphone (priority 100, latency offset 0 usec, available: unknown) properties: output-parking: Parking port (priority 50, latency offset 0 usec, available: unknown) properties: input-communication: Input from communication (priority 200, latency offset 0 usec, available: unknown) properties: input-ambient: Input from ambient (priority 200, latency offset 0 usec, available: unknown) properties: input-builtin_mic: Input from builtin mic (priority 300, latency offset 0 usec, available: unknown) properties: input-bluetooth_sco_headset: Input from bluetooth sco headset (priority 200, latency offset 0 usec, available: unknown) properties: input-wired_headset: Input from wired headset (priority 500, latency offset 0 usec, available: no) properties: input-aux_digital: Input from aux digital (priority 200, latency offset 0 usec, available: unknown) properties: input-voice_call: Input from voice call (priority 200, latency offset 0 usec, available: unknown) properties: input-back_mic: Input from back mic (priority 200, latency offset 0 usec, available: unknown) properties: input-default: Input from default (priority 200, latency offset 0 usec, available: unknown) properties: input-parking: Parking port (priority 50, latency offset 0 usec, available: unknown) properties: index: 1 name: <bluez_card.57_D3_98_09_C8_61> driver: <module-bluez5-device.c> owner module: 23 properties: device.description = "MDR-AS700BT" device.string = "57:D3:98:09:C8:61" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_57_D3_98_09_C8_61" bluez.class = "0x240404" bluez.alias = "MDR-AS700BT" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" profiles: headset_head_unit: Unidad de auriculares (HSP/HFP) (priority 20, available: no) a2dp_sink: Reproducción de alta fidelidad (A2DP Sink) (priority 10, available: unknown) off: Apagado (priority 0, available: yes) active profile: <a2dp_sink> sinks: bluez_sink.57_D3_98_09_C8_61/#2: MDR-AS700BT sources: bluez_sink.57_D3_98_09_C8_61.monitor/#4: Monitor of MDR-AS700BT ports: headset-output: Auriculares (priority 0, latency offset 0 usec, available: unknown) properties: headset-input: Auriculares (priority 0, latency offset 0 usec, available: no) properties:
-
@dR0W Ok. It seems like Pulseaudio is unable to enable "voice call mode" on your BT headset for some reason. To help investigate this, please follow this:
- Disconnect the headset if connected.
- Run
echo 'exec pulseaudio --start -vv --log-target=syslog' >~/.config/upstart/pulseaudio.override
to enable additional logging on Pulseaudio. - Run
initctl stop pulseaudio
theninitctl start pulseaudio
. Note that restarting it won't take the settings above into effect. - Now, connect your headset, then have a call.
- Send me the file
/var/log/syslog
. I'm not sure if it contains sensitive information or not, so you can PM me if you want. - After testing, remove the config file by
rm ~/.config/upstart/pulseaudio.override
Also, if possible, could you please retry this with the old version of Pulseaudio?