You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am experiencing random Bluetooth connect drop between the Pi and an audio speaker. These drops appear after a random time, sometime few minutes, sometime few hours.
Once the the drop happen, the only fix is to reboot the PI: RFKILL report no block, Bluez report an Unknown Error, hciconfig hci0 down && hciconfig hci0 up has no effect, only the dmesg seems to spot a problem.
I am using LibreElec 9 (8.95.003)
I am using both onboard Wi-Fi and Bluetooth (I upgraded to 3 to 3B+ because I read the antenna design was changed and allow both in use)
To reproduce
Connect a Bluetooth speaker, and start playing audio on it.
Expected behaviour
No drop at any time, or at least no need for reboot
Actual behaviour
Bluetooth getting completely unusable after drop
System
Which model of Raspberry Pi? Pi3B+
Which OS and version (cat /etc/rpi-issue)? LibreElec 9 (8.95.003)
Which firmware version (vcgencmd version)? bcefbb195b77d6b9a02dfbad0e1fff3b18122585 (Jan 9 2019 20:07:49)
We've recently received an updated Bluettooth firmware for the BCM43455 that hasn't made its way into a release yet. Can you see if it improves the symptoms for you?
@pelwell as this is LibreELEC the firmware should be copied to
/storage/.config/firmware/brcm/BCM4345C0.hcd
and there is no need to backup the existing firmware (which is in the read-only squashfs).
I've actually been including the new Bluetooth firmware in LibreELEC test builds for the last 10 days (not yet merged) since build #0117 so upgrading from 8.95.003 to a recent nightly will automatically include the new firmware (along with 4.19.17 in the latest #0126 release).
However upgrading only the Bluetooth firmware will result in a simplified before/after testing scenario, which might be the best option for now.
Unfortunately, I'm still experiencing the same issue. I don't have a computer with me currently, so I can't check if dmesg is logging the same error, but the symptoms are strictly the same. Do I have a way to ensure the new driver is loaded correctly?
Same problem here. After what seems to be a random period of time, an error occurs and bluetooth stops working. Restarting hciuart reports the device is not responding.
Which kernel versions are you all running (uname -a)? The recent 4.19.58 release includes a trial fix for a UART driver bug that would cause it to lose chunks of characters under the right conditions. You can try the new kernel by running sudo rpi-update (I'm not aware of any major issues with the current testing builds, but it's wise to make a backup first and not run bleeding-edge firmware on systems you can't afford to be without).
@acolombier@iczero@orclex Did moving to 4.19.58 fix your issues?
Unfortunately I cannot test it anymore. I've disabled the bluetooth device and added an external bluetooth USB device which is working without problems. Now the RPi is working productive and I cannot experiment anymore. Maybe someone other can confirm that it is working now?
This issue still appears to be open as OP has described on version 4.19.66, RPi3B+.
Bluetooth connects, audio plays. Then, audio drops at a random time and I am unable to determine why it drops and how to reconnect without rebooting as a workaround. It is worth noting that when attempting to 'power on' bluetooth after a dropout, it never does:
sudo bluetoothctl
Agent registered
[bluetooth]# show
:
Powered: no
:
[bluetooth]# power on
[bluetooth]# show
:
Powered: no
:
Failed to set power on: org.bluez.Error.Failed
Linux 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv71 GNU/Linux
&BCM43455 37.4MHz Raspberry Pi 3+-0156 # Raspbian 10 ( Buster )
running the 5.15.61-v7l+ kernel and seeing this issue on several pi 3/4s that i use for BLE/BT tracking around the house (mKeRix/room-assistant#1158). Only recourse so far has been to reboot the pi when hci0 goes away
pi@pi-office:~ $ hcitool dev
Devices:
pi@pi-office:~ $ hciconfig hci0 down
pi@pi-office:~ $ hciconfig hci0 up
Can't init device hci0: Connection timed out (110)
Did anyone find the reason for the hardware error 0x00 and any possible work around, for the same? I am randomly facing this issue, on another BLE module though.
I also have bluetooth dropping on Pi4B, bnep0 tethering:
Bluetooth connected to miniuart 921600 noflow,:
no drop works ok
Bluetooth connected to PL011 3000000 flow but also at 921600 noflow:
random drop with hardware error 0x00, simple wget download seem more stable, browser traffic cause drop in few minute
or second
Activity
pelwell commentedon Jan 27, 2019
We've recently received an updated Bluettooth firmware for the BCM43455 that hasn't made its way into a release yet. Can you see if it improves the symptoms for you?
To return to the original firmware, should you need to:
MilhouseVH commentedon Jan 27, 2019
@pelwell as this is LibreELEC the firmware should be copied to
and there is no need to backup the existing firmware (which is in the read-only squashfs).
I've actually been including the new Bluetooth firmware in LibreELEC test builds for the last 10 days (not yet merged) since build
#0117so upgrading from 8.95.003 to a recent nightly will automatically include the new firmware (along with 4.19.17 in the latest#0126release).However upgrading only the Bluetooth firmware will result in a simplified before/after testing scenario, which might be the best option for now.
pelwell commentedon Jan 27, 2019
Thanks, @MilhouseVH.
acolombier commentedon Jan 27, 2019
Thanks @pelwell and @MilhouseVH. I have just installed the driver at the indicated location, I will come back here for the result of this fix.
acolombier commentedon Feb 1, 2019
Unfortunately, I'm still experiencing the same issue. I don't have a computer with me currently, so I can't check if
dmesgis logging the same error, but the symptoms are strictly the same. Do I have a way to ensure the new driver is loaded correctly?pelwell commentedon Feb 1, 2019
I haven't found a way of reading the version of the loaded firmware, but you can extract version info from the firmware file using strings:
orclex commentedon Jul 5, 2019
Same problem with bluetooth connection drops here. Only a pi restart helps, bluetooth restart does nothing.
Raspberry Pi 3B+
Raspbian GNU/Linux 10 (buster)
$ strings /lib/firmware/brcm/BCM4345C0.hcd | grep Raspberry
&BCM43455 37.4MHz Raspberry Pi 3+-0159
iczero commentedon Jul 21, 2019
Same problem here. After what seems to be a random period of time, an error occurs and bluetooth stops working. Restarting hciuart reports the device is not responding.
pelwell commentedon Jul 21, 2019
Which kernel versions are you all running (
uname -a)? The recent 4.19.58 release includes a trial fix for a UART driver bug that would cause it to lose chunks of characters under the right conditions. You can try the new kernel by runningsudo rpi-update(I'm not aware of any major issues with the current testing builds, but it's wise to make a backup first and not run bleeding-edge firmware on systems you can't afford to be without).JamesH65 commentedon Sep 19, 2019
@acolombier @iczero @orclex Did moving to 4.19.58 fix your issues?
notare-alname commentedon Sep 19, 2019
I had similar issues and rpi-update solved it for me.
orclex commentedon Sep 23, 2019
rixwoodling commentedon Oct 7, 2019
This issue still appears to be open as OP has described on version 4.19.66, RPi3B+.
Bluetooth connects, audio plays. Then, audio drops at a random time and I am unable to determine why it drops and how to reconnect without rebooting as a workaround. It is worth noting that when attempting to 'power on' bluetooth after a dropout, it never does:
sudo bluetoothctl57 remaining items
libbt: call hw_reset() in upio_set_bluetooth_power()
libbt: call hw_reset() in upio_set_bluetooth_power()
libbt: call hw_reset() in upio_set_bluetooth_power()
wtangofoxtrot commentedon Nov 6, 2022
running the 5.15.61-v7l+ kernel and seeing this issue on several pi 3/4s that i use for BLE/BT tracking around the house (mKeRix/room-assistant#1158). Only recourse so far has been to reboot the pi when hci0 goes away
libbt: call hw_reset() in upio_set_bluetooth_power()
libbt: call hw_reset() in upio_set_bluetooth_power()
libbt: call hw_reset() in upio_set_bluetooth_power()
libbt: call hw_reset() in upio_set_bluetooth_power()
libbt: call hw_reset() in upio_set_bluetooth_power()
guma72 commentedon Jan 16, 2024
I still have a similar issue on Pi 4b.
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
pi@raspberrypi:~ $ cat /proc/device-tree/model
Raspberry Pi 4 Model B Rev 1.1
pi@raspberrypi:~ $ strings /lib/firmware/brcm/BCM4345C0.hcd | grep Raspberry
&BCM43455 37.4MHz Raspberry Pi 3+-0190
None of the proposed ways of resetting works for me - reboot is needed. The connection drops after few minutes to few hours.
libbt: call hw_reset() in upio_set_bluetooth_power()
libbt: call hw_reset() in upio_set_bluetooth_power()
sai-kiran-y commentedon Sep 2, 2024
Hi,
Did anyone find the reason for the hardware error 0x00 and any possible work around, for the same? I am randomly facing this issue, on another BLE module though.
Thanks,
Sai Kiran.
Nicceboy commentedon Jan 3, 2025
Similar problem.
Bluetooth completely freezes after some hours.
The workload attempts to capture Bluetooth LE advertising packets of nearby devices and nothing else.
Versions:
Kernel log might have something useful
suezz commentedon Feb 7, 2025
I also have bluetooth dropping on Pi4B, bnep0 tethering:
Bluetooth connected to miniuart 921600 noflow,:
no drop works ok
Bluetooth connected to PL011 3000000 flow but also at 921600 noflow:
random drop with hardware error 0x00, simple wget download seem more stable, browser traffic cause drop in few minute
or second