Raspberry Pi 4, Bluetooth issue with audio devices

Hi there,

I am using Xfce ARM 20.08 on RPI 4 using FW version: Thu Apr 16 05:11:26 PM UTC 2020 (1587057086).

The connection is on and off and sometimes when I connect (25% of the times ) the audio is cracking and shuttering.

But this is only with Manjaro, I tried with other distros like Ubuntu and Kali and the audio working great.

What I need to fix to get the audio working with Manjaro?

1 Like

I do not have a sound bluetooth device so can not test. Can you enable the device with Puldeaudio volume control? You can also try changing the value for snd-bcm2835.enable_compat_alsa=0 to snd-bcm2835.enable_compat_alsa=1 and reboot to see if it helps.

1 Like

No changes…still choppy sound. Tried Raspberry Pi OS, and of course not a problem, even better of Kali and Ubuntu, not choppy at all.

What info I can capture from it and see why I have issue in Manjaro?

Same issue with KDE on my Raspberry 4 8GB with bluetooth speakers.
Sound is ok with headphone connected to pin 3.5 Audio.

uname -a

Linux kde 5.4.59-1-MANJARO-ARM #1 SMP PREEMPT Wed Aug 19 16:08:10 CDT 2020 aarch64 GNU/Linux

and bluetooth

dmesg | grep -i bluetooth

[ 5.759578] Bluetooth: Core ver 2.22
[ 5.759632] Bluetooth: HCI device and connection manager initialized
[ 5.759648] Bluetooth: HCI socket layer initialized
[ 5.759655] Bluetooth: L2CAP socket layer initialized
[ 5.759666] Bluetooth: SCO socket layer initialized
[ 5.788850] Bluetooth: HCI UART driver ver 2.3
[ 5.788859] Bluetooth: HCI UART protocol H4 registered
[ 5.788888] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 5.789013] Bluetooth: HCI UART protocol Broadcom registered
[ 5.918711] Bluetooth: hci0: BCM: chip id 107
[ 5.920861] Bluetooth: hci0: BCM: features 0x2f
[ 5.944243] Bluetooth: hci0: BCM4345C0
[ 5.944255] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[ 6.226267] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 6.226277] Bluetooth: BNEP filters: protocol multicast
[ 6.226293] Bluetooth: BNEP socket layer initialized
[ 11.663884] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0315
[ 27.197921] Bluetooth: RFCOMM TTY layer initialized
[ 27.197960] Bluetooth: RFCOMM socket layer initialized
[ 27.198016] Bluetooth: RFCOMM ver 1.11

Sounds system or sound video are chopy

Hey !!!
I have the same issue with Bt in manjaro with RPI4 and KDE plasma

$ dmesg | grep -i bluetooth
[ 8.696428] Bluetooth: Core ver 2.22
[ 8.696517] Bluetooth: HCI device and connection manager initialized
[ 8.696534] Bluetooth: HCI socket layer initialized
[ 8.696542] Bluetooth: L2CAP socket layer initialized
[ 8.696555] Bluetooth: SCO socket layer initialized
[ 8.737514] Bluetooth: HCI UART driver ver 2.3
[ 8.737524] Bluetooth: HCI UART protocol H4 registered
[ 8.737563] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 8.737767] Bluetooth: HCI UART protocol Broadcom registered
[ 8.862320] Bluetooth: hci0: BCM: chip id 107
[ 8.864475] Bluetooth: hci0: BCM: features 0x2f
[ 8.887597] Bluetooth: hci0: BCM4345C0
[ 8.887613] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0000
[ 9.107705] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 9.107712] Bluetooth: BNEP filters: protocol multicast
[ 9.107727] Bluetooth: BNEP socket layer initialized
[ 14.608500] Bluetooth: hci0: BCM4345C0 (003.001.025) build 0315
[ 23.359188] Bluetooth: RFCOMM TTY layer initialized
[ 23.359220] Bluetooth: RFCOMM socket layer initialized
[ 23.359250] Bluetooth: RFCOMM ver 1.11
[ 68.725308] Bluetooth: hci0: advertising data len corrected
[ 68.729362] Bluetooth: hci0: advertising data len corrected
[ 390.145361] Bluetooth: hci0: advertising data len corrected
[ 390.149492] Bluetooth: hci0: advertising data len corrected

Now i’m on
Linux duncan 5.4.70-1-MANJARO-ARM #1 SMP PREEMPT Wed Oct 7 10:57:38 CDT 2020 aarch64 GNU/Linux

and always same issue : sound is choppy on my bluetooth speakers
pacmd list-cards

pacmd list-cards

1 card(s) available.
index: 0
name: <bluez_card.B7_32_F6_45_6B_D7>
driver: <module-bluez5-device.c>
owner module: 29
properties:
device.description = “GS-BT5.0”
device.string = “B7:32:F6:45:6B:D7”
device.api = “bluez”
device.class = “sound”
device.bus = “bluetooth”
device.form_factor = “hands-free”
bluez.path = “/org/bluez/hci0/dev_B7_32_F6_45_6B_D7”
bluez.class = “0x240408”
bluez.alias = “GS-BT5.0”
device.icon_name = “audio-handsfree-bluetooth”
device.intended_roles = “phone”
profiles:
a2dp_sink: Lecture haute fidélité (A2DP Sink) (priority 40, available: unknown)
off: Éteint (priority 0, available: yes)
active profile: <a2dp_sink>
sinks:
bluez_sink.B7_32_F6_45_6B_D7.a2dp_sink/#1: GS-BT5.0
sources:
bluez_sink.B7_32_F6_45_6B_D7.a2dp_sink.monitor/#1: Monitor of GS-BT5.0
ports:
handsfree-output: Mains-libres (priority 0, latency offset 0 usec, available: unknown)
properties:

            handsfree-input: Mains-libres (priority 0, latency offset 0 usec, available: no)
                    properties:

pacmd list-sinks

1 sink(s) available.
  • index: 1
    name: <bluez_sink.B7_32_F6_45_6B_D7.a2dp_sink>
    driver: <module-bluez5-device.c>
    flags: HARDWARE DECIBEL_VOLUME LATENCY
    state: SUSPENDED
    suspend cause: IDLE
    priority: 9050
    volume: front-left: 57664 / 88% / -3,33 dB, front-right: 57664 / 88% / -3,33 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: 1
    sample spec: s16le 2ch 44100Hz
    channel map: front-left,front-right
    Stéréo
    used by: 0
    linked by: 1
    fixed latency: 51,12 ms
    card: 0 <bluez_card.B7_32_F6_45_6B_D7>
    module: 29
    properties:
    bluetooth.protocol = “a2dp_sink”
    device.description = “GS-BT5.0”
    device.string = “B7:32:F6:45:6B:D7”
    device.api = “bluez”
    device.class = “sound”
    device.bus = “bluetooth”
    device.form_factor = “hands-free”
    bluez.path = “/org/bluez/hci0/dev_B7_32_F6_45_6B_D7”
    bluez.class = “0x240408”
    bluez.alias = “GS-BT5.0”
    device.icon_name = “audio-handsfree-bluetooth”
    device.intended_roles = “phone”
    ports:
    handsfree-output: Mains-libres (priority 0, latency offset 0 usec, available: unknown)
    properties:

    active port: <handsfree-output>
    

Any ideas to solve my issue.
My bluetooth speakers work well with Ubuntu-mate or windows 10

Apologies for my previous post (queued for deletion), as it was misguiding and false.
When I was removing alsa configuration, clear sound was working fine, but via the HDMI, not
bluetooth. But I have a solution for you. It was working on Archlinux ARM and it is working on
manjaro :slight_smile:

  1. Get rid of brcm43438.service.
    systemctl stop brcm43438.service
    systemctl disable brcm43438.service

  2. Install and enable community/brcm-patchram-plus
    pacman -S community/brcm-patchram-plus
    systemctl enable attach-bluetooth.service

  3. Reboot

Now bluetooth audio works fine.

4 Likes

Great !
Now it works very well

I had the same problem and your solution definitely works!!!
Thank you!

Works like a charm. Had the same problem until I did a quick check on here :slight_smile: Thank you!!

Kudos it worked like you said.