UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Call for testing: updated Pulseaudio from Ubuntu 16.04

    Scheduled Pinned Locked Moved OS
    15 Posts 5 Posters 2.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • peat_psuwitP Offline
        peat_psuwit
        last edited by

        I've (re-)imported the changes made to Pulseaudio in Ubuntu 16.04. This primarily improves the experience of using Bluetooth headsets with the phone. However, there's a report of regression due to these changes before. I've fixed that one specific regression, but I'm not sure if there's any other regression due to these changes.

        Please only test this change on a device running the latest images from the devel channel, and test responsibly! In other words, try it on a spare device or when you know you'll be near a computer you can use for reflashing. [1]

        To test, please follow the instruction:

        1. Mount a tmpfs so apt can breathe: sudo mount -t tmpfs tmpfs /var/cache/apt/archives
        2. Install the repository: sudo ubports-qa install xenial_-_pulseaudio-updates-to-0ubuntu3.10
        3. Reboot your phone.

        See if there's any regression in both built-in speaker, wired headset and Bluetooth headset. If possible, use a Bluetooth headset that can be in both music mode (hi-fidelity audio) and call mode (low-latency 2-way audio).

        You may want to also follow this test plan from Canonical if you want to be extra sure there's no regression: https://wiki.ubuntu.com/Process/Merges/TestPlan/pulseaudio

        Note for OnePlus One users: It's been reported that Bluetooth on OnePlus One is unstable in general. Thus, you may want to skip testing Bluetooth on this particular device.

        Known issue: The issue that the playing streams won't switch to the headset after a re-connect is known, and will be fixed after this [2].

        [1] This specific instruction courtesy of Dalton Durst.
        [2] https://github.com/ubports/ubuntu-touch/issues/1045

        1 Reply Last reply Reply Quote 4
        • G Offline
          geekvine
          last edited by

          Not sure if we should be replying here or on issue 1045 so i'll just go ahead and post here for now.

          I noticed no issue with audio on any application that i tried while using the headset audio and a wired headset. Bluetooth audio is great for music and system sounds but still awful while making a call (audio feedback on the headphone side, mic volume appears to be too low on the other end of the call).

          On the plus side, once i ended the call, the phone immediately continued playing music on the Bluetooth headset. For completeness, I tested this with three bluetooth headsets and two bluetooth speakers with built in mics.

          mihaelM 1 Reply Last reply Reply Quote 0
          • mihaelM Offline
            mihael @geekvine
            last edited by

            @geekvine On what device?

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              geekvine @mihael
              last edited by

              @mihael sorry Nexus 5 on the latest devel

              1 Reply Last reply Reply Quote 0
              • mihaelM Offline
                mihael
                last edited by

                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...

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  Stefano @mihael
                  last edited by Stefano

                  @mihael Sadly, not any improvement. Sound did not get through, it did connect to Volvo Truck Bluetooth though. But it never worked on Pro5...

                  mihaelM 1 Reply Last reply Reply Quote 0
                  • mihaelM Offline
                    mihael @Stefano
                    last edited by

                    @Stefano Thank you for testing and posting.

                    1 Reply Last reply Reply Quote 1
                    • dR0WD Offline
                      dR0W
                      last edited by

                      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.

                      peat_psuwitP 1 Reply Last reply Reply Quote 0
                      • peat_psuwitP Offline
                        peat_psuwit @dR0W
                        last edited by

                        @dR0W Is it regression or it has been in this way for some time already?

                        1 Reply Last reply Reply Quote 0
                        • dR0WD Offline
                          dR0W
                          last edited by dR0W

                          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.

                          peat_psuwitP 1 Reply Last reply Reply Quote 0
                          • peat_psuwitP Offline
                            peat_psuwit @dR0W
                            last edited by

                            @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:

                            1. Are you using a wired or Bluetooth headset? If using Bluetooth, what make & model is it?
                            2. 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.
                            dR0WD 1 Reply Last reply Reply Quote 0
                            • dR0WD Offline
                              dR0W @peat_psuwit
                              last edited by

                              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:

                              1. 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>
                              
                              
                              1. 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>
                              
                              
                              1. 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.

                              peat_psuwitP 1 Reply Last reply Reply Quote 0
                              • peat_psuwitP Offline
                                peat_psuwit @dR0W
                                last edited by

                                @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?

                                dR0WD 1 Reply Last reply Reply Quote 0
                                • dR0WD Offline
                                  dR0W @peat_psuwit
                                  last edited by

                                  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:
                                  
                                  
                                  peat_psuwitP 1 Reply Last reply Reply Quote 0
                                  • peat_psuwitP Offline
                                    peat_psuwit @dR0W
                                    last edited by

                                    @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:

                                    1. Disconnect the headset if connected.
                                    2. Run echo 'exec pulseaudio --start -vv --log-target=syslog' >~/.config/upstart/pulseaudio.override to enable additional logging on Pulseaudio.
                                    3. Run initctl stop pulseaudio then initctl start pulseaudio. Note that restarting it won't take the settings above into effect.
                                    4. Now, connect your headset, then have a call.
                                    5. 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.
                                    6. 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?

                                    1 Reply Last reply Reply Quote 0
                                    • First post
                                      Last post