I ran the following steps:

1. Power laptop on with bluetooth turned off
2. Turn BT on in gnome settings and set my BT headphones in pairing mode
3. Pair the headphones.
4. In Sound settings, it looks like the selected device is the BT headphones, 
but if I play something it outputs on the laptop speakers.

output of `pactl list` gives something interesting though:

Source #1
        State: RUNNING
        Name: alsa_input.pci-0000_00_1f.3.analog-stereo
        Description: Built-in Audio Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 30421 /  46% / -20.00 dB,   front-right: 30421 /  
46% / -20.00 dB
                balance 0.00
        Base Volume: 6554 /  10% / -60.00 dB
        Monitor of Sink: n/a
        Latency: 123 usec, configured 40000 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC3254 Analog"
                alsa.id = "ALC3254 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xd1128000 irq 128"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "9d71"
                device.product.name = "Sunrise Point-LP HD Audio"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                alsa.mixer_name = "Realtek ALC3254"
                alsa.components = "HDA:10ec0295,102807e9,00100002 
HDA:8086280b,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-input-internal-mic: Internal Microphone (priority: 8900)
                analog-input-headphone-mic: Microphone (priority: 8700, not 
available)
                analog-input-headset-mic: Headset Microphone (priority: 8800, 
not available)
        Active Port: analog-input-internal-mic
        Formats:
                pcm

Source #2
        State: SUSPENDED
        Name: bluez_sink.E3_28_E9_21_94_78.a2dp_sink.monitor
        Description: Monitor of TaoTronics TT-BH07
        Driver: module-bluez5-device.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 25
        Mute: no
        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
        Monitor of Sink: bluez_sink.E3_28_E9_21_94_78.a2dp_sink
        Latency: 0 usec, configured 0 usec
        Flags: DECIBEL_VOLUME LATENCY 
        Properties:
                device.description = "Monitor of TaoTronics TT-BH07"
                device.class = "monitor"
                device.string = "E3:28:E9:21:94:78"
                device.api = "bluez"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_E3_28_E9_21_94_78"
                bluez.class = "0x240404"
                bluez.alias = "TaoTronics TT-BH07"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
        Formats:
                pcm


This matches what I have, but not what I see in Sound settings.

5. Now, if I select the speakers as the output device in the sound
settings, then back to BT device, the sound is correctly output to the
BT headphones (and not the laptop speakers), and I see this in `pactl
list`:

Source #1
        State: RUNNING
        Name: alsa_input.pci-0000_00_1f.3.analog-stereo
        Description: Built-in Audio Analog Stereo
        Driver: module-alsa-card.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 7
        Mute: no
        Volume: front-left: 30421 /  46% / -20.00 dB,   front-right: 30421 /  
46% / -20.00 dB
                balance 0.00
        Base Volume: 6554 /  10% / -60.00 dB
        Monitor of Sink: n/a
        Latency: 6610 usec, configured 40000 usec
        Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        Properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC3254 Analog"
                alsa.id = "ALC3254 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xd1128000 irq 128"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "9d71"
                device.product.name = "Sunrise Point-LP HD Audio"
                device.form_factor = "internal"
                device.string = "front:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                alsa.mixer_name = "Realtek ALC3254"
                alsa.components = "HDA:10ec0295,102807e9,00100002 
HDA:8086280b,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Ports:
                analog-input-internal-mic: Internal Microphone (priority: 8900)
                analog-input-headphone-mic: Microphone (priority: 8700, not 
available)
                analog-input-headset-mic: Headset Microphone (priority: 8800, 
not available)
        Active Port: analog-input-internal-mic
        Formats:
                pcm

Source #2
        State: IDLE
        Name: bluez_sink.E3_28_E9_21_94_78.a2dp_sink.monitor
        Description: Monitor of TaoTronics TT-BH07
        Driver: module-bluez5-device.c
        Sample Specification: s16le 2ch 44100Hz
        Channel Map: front-left,front-right
        Owner Module: 25
        Mute: no
        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
        Monitor of Sink: bluez_sink.E3_28_E9_21_94_78.a2dp_sink
        Latency: 0 usec, configured 45317 usec
        Flags: DECIBEL_VOLUME LATENCY 
        Properties:
                device.description = "Monitor of TaoTronics TT-BH07"
                device.class = "monitor"
                device.string = "E3:28:E9:21:94:78"
                device.api = "bluez"
                device.bus = "bluetooth"
                device.form_factor = "headset"
                bluez.path = "/org/bluez/hci0/dev_E3_28_E9_21_94_78"
                bluez.class = "0x240404"
                bluez.alias = "TaoTronics TT-BH07"
                device.icon_name = "audio-headset-bluetooth"
                device.intended_roles = "phone"
        Formats:
                pcm

The Bluetooth source goes from SUSPENDED to IDLE.

I'll attach both logs: one from step 4 (with the BT device shown as
selected in Sound Settings Output Device even though the sound outputs
to the laptop speakers) and one from step 5 (after switching Output
Device back and forth in the Sound settings screen).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1850766

Title:
  Bluetooth headset selected as default sound output, yet sound outputs
  to laptop speakers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1850766/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to