RPi-Distro / pi-bluetooth

Loads BCM43430A1 firmware on boot
42 stars 34 forks source link

Integrated (UART) bluetooth adapter not working after restart if another (USB) adapter connected. #18

Closed magorski closed 3 years ago

magorski commented 3 years ago

If you have an USB adapter connected to pi then after restart the integrated (UART) Bluetooth adapter is not initiated.

The bug was introduced in revision 0.1.14 , most likely this commit https://github.com/RPi-Distro/pi-bluetooth/commit/294a534c0e0e25fdbf6392ad3753aa84960df2d1

Tested on pi 3 and 4 with three different vendor CSR 4.0 USB Bluetooth adapters.

More details here: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=282948

I was trying to pinpoint the exact line causing trouble but had to give up and leave it to professionals.

The workaround I've suggested is to downgrade to 1.1.13 until a fix is released.

The steps are:

  1. Download pi-bluetooth 0.1.13 wget https://archive.raspberrypi.org/debian/pool/main/p/pi-bluetooth/pi-bluetooth_0.1.13_all.deb
  2. Install it sudo dpkg -i pi-bluetooth_0.1.13_all.deb
  3. (optional) Lock pi-blutooth from updating when you update your pi through "apt-get upgrade" echo "pi-bluetooth hold" | sudo dpkg --set-selections
  4. Restart PI sudo reboot

If it gets fixed in 0.1.16 or later than to unlock upgrades you would need to run: echo "pi-bluetooth install" | sudo dpkg --set-selections