You are not logged in.

#1 2019-01-20 00:46:20

ewon_c
Member
Registered: 2018-12-06
Posts: 5

Bluetooth headphones glitch after connected to Android phone

Hey guys, I've experienced a really weird phenomenon:
My QC35 works fine with my Dell Inspiron 7573 laptop, it's using A2DP profile and plays smoothly
Then I switch on Bluetooth on my Android phone , after it automatically connects to QC35, the sound from laptop starts to glitch/shutter. Meanwhile sound from Android phone is normal.
Even if I switch off Bluetooth on my Android phone, the sound from laptop still glitches. I have to turn QC35 off and on to make it normal again.
QC35 is running on the latest firmware 2.5.5, this problem happened to old firmware too.

PS: I replaced pulseaudio-bluetooth with pulseaudio-modules-bt-git from AUR, but this doesn't seem to have any effect.

Some parameters and outputs: (all of them are printed when my headphone is working normally)

$ pacmd list-cards
2 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_1f.3>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xd1128000 irq 16"
                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 = "0"
                device.description = "Built-in Audio"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5965, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 865, available: unknown)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
                output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 865, available: unknown)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5765, available: unknown)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
                output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5765, available: unknown)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
                output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
                output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5765, available: unknown)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
                output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
                output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5765, available: unknown)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: unknown)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
                output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_1f.3.analog-stereo/#0: Built-in Audio Analog Stereo
        sources:
                alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
                alsa_input.pci-0000_00_1f.3.analog-stereo/#1: Built-in Audio Analog Stereo
        ports:
                analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-headphone-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-headset-mic: Headset Microphone (priority 8800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
                hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 5
        name: <bluez_card.04_52_C7_08_EE_D0>
        driver: <module-bluez5-device.c>
        owner module: 32
        properties:
                device.description = "QC35"
                device.string = "04:52:C7:08:EE:D0"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headphone"
                bluez.path = "/org/bluez/hci0/dev_04_52_C7_08_EE_D0"
                bluez.class = "0x240418"
                bluez.alias = "QC35"
                device.icon_name = "audio-headphones-bluetooth"
        profiles:
                headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown)
                a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: unknown)
                off: Off (priority 0, available: yes)
        active profile: <a2dp_sink>
        sinks:
                bluez_sink.04_52_C7_08_EE_D0.a2dp_sink/#7: QC35
        sources:
                bluez_sink.04_52_C7_08_EE_D0.a2dp_sink.monitor/#9: Monitor of QC35
        ports:
                headphone-output: Headphone (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                headphone-input: Bluetooth Input (priority 0, latency offset 0 usec, available: unknown)
                        properties:
$ pacmd list-sinks
2 sink(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9039
        volume: front-left: 3273 /   5% / -78.09 dB,   front-right: 3273 /   5% / -78.09 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 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.pci-0000_00_1f.3>
        module: 6
        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 16"
                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 = "384000"
                device.buffering.fragment_size = "192000"
                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,102807ec,00100002 HDA:8086280b,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>
  * index: 7
        name: <bluez_sink.04_52_C7_08_EE_D0.a2dp_sink>
        driver: <module-bluez5-device.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY 
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9950
        volume: front-left: 49809 /  76% / -7.15 dB,   front-right: 49809 /  76% / -7.15 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 4 KiB
        max rewind: 0 KiB
        monitor source: 9
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        fixed latency: 46.33 ms
        card: 5 <bluez_card.04_52_C7_08_EE_D0>
        module: 32
        properties:
                bluetooth.protocol = "a2dp_sink"
                bluetooth.a2dp_codec = "AAC"
                device.description = "QC35"
                device.string = "04:52:C7:08:EE:D0"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headphone"
                bluez.path = "/org/bluez/hci0/dev_04_52_C7_08_EE_D0"
                bluez.class = "0x240418"
                bluez.alias = "QC35"
                device.icon_name = "audio-headphones-bluetooth"
        ports:
                headphone-output: Headphone (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <headphone-output>
$ dmesg | grep Bluetooth
[    9.062961] Bluetooth: Core ver 2.22
[    9.062984] Bluetooth: HCI device and connection manager initialized
[    9.062988] Bluetooth: HCI socket layer initialized
[    9.062992] Bluetooth: L2CAP socket layer initialized
[    9.062995] Bluetooth: SCO socket layer initialized
[    9.200615] Bluetooth: hci0: read Intel version: 370810011003110e32
[    9.200619] Bluetooth: hci0: Intel device is already patched. patch num: 32
[    9.967273] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    9.967274] Bluetooth: BNEP filters: protocol multicast
[    9.967279] Bluetooth: BNEP socket layer initialized
[   17.860053] Bluetooth: RFCOMM TTY layer initialized
[   17.860059] Bluetooth: RFCOMM socket layer initialized
[   17.860065] Bluetooth: RFCOMM ver 1.11
[   43.835440] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[   43.835446] Bluetooth: HIDP socket layer initialized
[ 9440.755596] Bluetooth: hci0: read Intel version: 370810011003110e00
[ 9440.757313] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[ 9441.085822] Bluetooth: hci0: Intel firmware patch completed and activated
[ 9585.848688] Bluetooth: hci0: read Intel version: 370810011003110e00
[ 9585.848719] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq
[ 9586.171540] Bluetooth: hci0: Intel firmware patch completed and activated
[10598.355524] Bluetooth: hci0: SCO packet for unknown connection handle 0
[10598.355532] Bluetooth: hci0: SCO packet for unknown connection handle 0
[10598.355535] Bluetooth: hci0: SCO packet for unknown connection handle 0
[10598.365560] Bluetooth: hci0: SCO packet for unknown connection handle 0
[10598.365568] Bluetooth: hci0: SCO packet for unknown connection handle 0
[10601.530660] Bluetooth: hci0: SCO packet for unknown connection handle 258
[10601.530666] Bluetooth: hci0: SCO packet for unknown connection handle 258
[10601.530669] Bluetooth: hci0: SCO packet for unknown connection handle 258
$ systemctl status bluetooth
● bluetooth.service - Bluetooth service
   Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2019-01-19 12:15:01 EST; 7h ago
     Docs: man:bluetoothd(8)
 Main PID: 728 (bluetoothd)
   Status: "Running"
    Tasks: 1 (limit: 4915)
   Memory: 5.4M
   CGroup: /system.slice/bluetooth.service
           └─728 /usr/lib/bluetooth/bluetoothd

Jan 19 17:38:48 Dell-Arch bluetoothd[728]: bt_uhid_send: Invalid argument (22)
Jan 19 17:38:48 Dell-Arch bluetoothd[728]: bt_uhid_send: Invalid argument (22)
Jan 19 17:41:02 Dell-Arch bluetoothd[728]: /org/bluez/hci0/dev_04_52_C7_08_EE_D0/fd1: fd(40) ready
Jan 19 17:43:10 Dell-Arch bluetoothd[728]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Jan 19 17:43:10 Dell-Arch bluetoothd[728]: Unable to get io data for Phone Book Access: getpeername: Transport endpoint is not connected (107)
Jan 19 17:43:18 Dell-Arch bluetoothd[728]: /org/bluez/hci0/dev_04_52_C7_08_EE_D0/fd2: fd(42) ready
Jan 19 17:48:49 Dell-Arch bluetoothd[728]: /org/bluez/hci0/dev_04_52_C7_08_EE_D0/fd3: fd(42) ready
Jan 19 18:00:08 Dell-Arch bluetoothd[728]: Unable to get io data for Headset Voice gateway: getpeername: Transport endpoint is not connected (107)
Jan 19 18:00:08 Dell-Arch bluetoothd[728]: Unable to get io data for Phone Book Access: getpeername: Transport endpoint is not connected (107)
Jan 19 19:04:05 Dell-Arch bluetoothd[728]: /org/bluez/hci0/dev_04_52_C7_08_EE_D0/fd4: fd(40) ready
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP Integrated Sensor Hub (rev 21)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)
$ pacman -Qs blu
local/bluedevil 1:5.14.5-1 (plasma)
    Integrate the Bluetooth technology within KDE workspace and applications
local/bluez 5.50-6
    Daemons for the bluetooth protocol stack
local/bluez-libs 5.50-6
    Deprecated libraries for the bluetooth protocol stack
local/bluez-qt 5.54.0-1 (kf5)
    Qt wrapper for Bluez 5 DBus API
local/bluez-utils 5.50-6
    Development and debugging utilities for the bluetooth protocol stack
local/libbluray 1.0.2-2
    Library to access Blu-Ray disks for video playback
local/pulseaudio-modules-bt-git r87.4b0cde16-1
    PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support
local/sbc 1.4-1
    Bluetooth Subband Codec (SBC) library

$ pacman -Qs pulseaudio
local/libcanberra-pulse 0.30+2+gc0620e4-2
    PulseAudio plugin for libcanberra
local/plasma-pa 5.14.5-1 (plasma)
    Plasma applet for audio volume management using PulseAudio
local/pulseaudio 12.2-2
    A featureful, general-purpose sound server
local/pulseaudio-alsa 2-4
    ALSA Configuration for PulseAudio
local/pulseaudio-modules-bt-git r87.4b0cde16-1
    PulseAudio Bluetooth modules with SBC, AAC, APTX, APTX-HD, Sony LDAC (A2DP codec) support
$ rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
3: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Lastly some system info

$ inxi -Fz
System:    Host: Dell-Arch Kernel: 4.20.3-arch1-1-ARCH x86_64 bits: 64 Desktop: KDE Plasma 5.14.5 Distro: Arch Linux 
Machine:   Type: Convertible System: Dell product: Inspiron 7573 v: N/A serial: <filter> 
           Mobo: Dell model: 06TMW5 v: A00 serial: <filter> UEFI: Dell v: 1.12.0 date: 08/09/2018 
Battery:   ID-1: BAT0 charge: 31.8 Wh condition: 31.8/42.0 Wh (76%) 
CPU:       Topology: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP L2 cache: 6144 KiB 
           Speed: 800 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel UHD Graphics 620 driver: i915 v: kernel 
           Display: x11 server: X.org 1.20.3 driver: modesetting resolution: <xdpyinfo missing> 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel 
           Sound Server: ALSA v: k4.20.3-arch1-1-ARCH 
Network:   Device-1: Intel Wireless 7265 driver: iwlwifi 
           IF: wlp1s0 state: up mac: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 44.03 GiB (18.5%) 
           ID-1: /dev/sda vendor: Micron model: 1100 SATA 256GB size: 238.47 GiB 
Partition: ID-1: / size: 195.86 GiB used: 32.52 GiB (16.6%) fs: ext4 dev: /dev/sda2 
           ID-2: /home size: 37.14 GiB used: 11.50 GiB (31.0%) fs: ext4 dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 35.0 C mobo: 34.0 C sodimm: 33.0 C 
           Fan Speeds (RPM): cpu: 0 
Info:      Processes: 207 Uptime: 7h 26m Memory: 7.54 GiB used: 1.86 GiB (24.6%) Shell: bash inxi: 3.0.30

I will provide more diagnostics if needed. Any help is appreciated!

Offline

#2 2019-01-21 12:47:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 6,037

Re: Bluetooth headphones glitch after connected to Android phone

I'm not entirely convinced there's an actable issue here. Do you know that your Bluetooth headset should be able to deal with multiple sources intending to use up all the bandwidth both providing HQ audio? Can you do the same on e.g. a windows setup? FWIW

pacmd list-sinks

during working and not working playback?

Last edited by V1del (2019-01-21 12:50:29)

Online

#3 2019-01-21 16:04:20

ewon_c
Member
Registered: 2018-12-06
Posts: 5

Re: Bluetooth headphones glitch after connected to Android phone

QC35 used to work well when simultaneously connected to this laptop (pre-installed Windows 10) and Android  phone.  It even works well on my Manjaro Desktop computer.

I ran ``pacmd list-sinks`` again on this laptop first when sound is normal (turn on the headphones and just connected to the laptop)

$ pacmd list-sinks
2 sink(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9039
        volume: front-left: 22935 /  35% / -27.36 dB,   front-right: 22935 /  35% / -27.36 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 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.pci-0000_00_1f.3>
        module: 6
        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 16"
                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 = "384000"
                device.buffering.fragment_size = "192000"
                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,102807ec,00100002 HDA:8086280b,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>
  * index: 6
        name: <bluez_sink.04_52_C7_08_EE_D0.a2dp_sink>
        driver: <module-bluez5-device.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY 
        state: IDLE
        suspend cause: (none)
        priority: 9950
        volume: front-left: 49809 /  76% / -7.15 dB,   front-right: 49809 /  76% / -7.15 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 56.32 ms
        max request: 4 KiB
        max rewind: 0 KiB
        monitor source: 10
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        fixed latency: 46.33 ms
        card: 4 <bluez_card.04_52_C7_08_EE_D0>
        module: 32
        properties:
                bluetooth.protocol = "a2dp_sink"
                bluetooth.a2dp_codec = "AAC"
                device.description = "QC35"
                device.string = "04:52:C7:08:EE:D0"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headphone"
                bluez.path = "/org/bluez/hci0/dev_04_52_C7_08_EE_D0"
                bluez.class = "0x240418"
                bluez.alias = "QC35"
                device.icon_name = "audio-headphones-bluetooth"
        ports:
                headphone-output: Headphone (priority 0, latency offset 0 usec, available: yes)
                        properties:

        active port: <headphone-output> 

And when sound is not normal (connected to Android for a few seconds and disconnected, while keeping connected to the laptop)

$ pacmd list-sinks
2 sink(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9039
        volume: front-left: 22935 /  35% / -27.36 dB,   front-right: 22935 /  35% / -27.36 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 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 0 <alsa_card.pci-0000_00_1f.3>
        module: 6
        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 16"
                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 = "384000"
                device.buffering.fragment_size = "192000"
                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,102807ec,00100002 HDA:8086280b,80860101,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-speaker>
  * index: 6
        name: <bluez_sink.04_52_C7_08_EE_D0.a2dp_sink>
        driver: <module-bluez5-device.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY 
        state: SUSPENDED
        suspend cause: IDLE
        priority: 9950
        volume: front-left: 49809 /  76% / -7.15 dB,   front-right: 49809 /  76% / -7.15 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 4 KiB
        max rewind: 0 KiB
        monitor source: 10
        sample spec: s16le 2ch 48000Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 1
        fixed latency: 46.33 ms
        card: 4 <bluez_card.04_52_C7_08_EE_D0>
        module: 32
        properties:
                bluetooth.protocol = "a2dp_sink"
                bluetooth.a2dp_codec = "AAC"
                device.description = "QC35"
                device.string = "04:52:C7:08:EE:D0"
                device.api = "bluez"
                device.class = "sound"
                device.bus = "bluetooth"
                device.form_factor = "headphone"
                bluez.path = "/org/bluez/hci0/dev_04_52_C7_08_EE_D0"
                bluez.class = "0x240418"
                bluez.alias = "QC35"
                device.icon_name = "audio-headphones-bluetooth"
        ports:
                headphone-output: Headphone (priority 0, latency offset 0 usec, available: unknown)
                        properties:

        active port: <headphone-output> 

When compare these two outputs, the differences are at line 73, 74, 81, 107. It seems the state of the driver is IDLE when the sound is normal, SUSPEND when abnormal.

Offline

Board footer

Powered by FluxBB