Bluetooth Audio Crashing

  • Hardware: Raspberry Pi 3 B+

    Release: RPi2.arm-8.2.5


    I have a pair of bluetooth headphones paired with the raspberry pi. I change the audio output Bluetooth Audio (PULSEAUDIO) and start watching a movie and everything works great for a while. After some time the audio will stop working. If I look in the libreelec settings blue tooth is enable however no are connected or show up on the list. If you restart the app the issue continues to occur. If you reboot the device blue tooth will start working again and the headphones will automatically reconnect. It appears to be random when the issue occurs.


    My crash log shows:


    11:48:32.107 T:1216344992 ERROR: ## LibreELEC Addon ## bluetooth::menu_connections ## ERROR: (KeyError(dbus.ObjectPath('/org/bluez/hci0/dev_51_DF_42_F3_53_F0'),))

    11:48:32.110 T:1216344992 ERROR: Traceback (most recent call last):

    File "/home/chewitt/LibreELEC.82-images/build.LibreELEC-RPi2.arm-8.2.5/LibreELEC-settings-0768930/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/bluetooth.py", line 526, in menu_connections

    KeyError: dbus.ObjectPath('/org/bluez/hci0/dev_51_DF_42_F3_53_F0')

    11:50:28.907 T:1216344992 ERROR: ## LibreELEC Addon ## bluetooth::menu_connections ## ERROR: (KeyError(dbus.ObjectPath('/org/bluez/hci0/dev_51_DF_42_F3_53_F0'),))

    11:50:28.907 T:1216344992 ERROR: Traceback (most recent call last):

    File "/home/chewitt/LibreELEC.82-images/build.LibreELEC-RPi2.arm-8.2.5/LibreELEC-settings-0768930/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/bluetooth.py", line 526, in menu_connections

    KeyError: dbus.ObjectPath('/org/bluez/hci0/dev_51_DF_42_F3_53_F0')

    11:51:16.685 T:1216344992 ERROR: ## LibreELEC Addon ## bluetooth::menu_connections ## ERROR: (KeyError(dbus.ObjectPath('/org/bluez/hci0/dev_40_4E_36_42_F8_13'),))

    11:51:16.686 T:1216344992 ERROR: Traceback (most recent call last):

    File "/home/chewitt/LibreELEC.82-images/build.LibreELEC-RPi2.arm-8.2.5/LibreELEC-settings-0768930/.install_pkg/usr/share/kodi/addons/service.libreelec.settings/resources/lib/modules/bluetooth.py", line 526, in menu_connections

    KeyError: dbus.ObjectPath('/org/bluez/hci0/dev_40_4E_36_42_F8_13')

  • The internal BT on the RPi is fraught with problems. Most people solve many problems by just buying a good BT USB dongle.


    However, you could try an alpha build Here and see if things improve.

  • I have a new BT USB dongle being shipped. Once it gets here do I add "dtoverlay=pi3-disable-bt" to the /boot/config.txt? Then re-pair the headphones in the LibreElec settings?