$ hcitool scan
Device is not available: No such device
$ bluetoothctl
Agent registered
[bluetooth]# list
[bluetooth]# show
No default controller available
I saw a few posts reporting issues after kernel upgrade lately, I tried downgrading linux-rpi4 5.4.83 to 5.4.81, 5.4.80 with no effect.
Note that after the fresh install, bluetooth was working fine. After a some update I had to install pi-bluetooth package from AUR to get it working. Now, nothing.
I switched to the testing branch and did an upgrade and switch to the linux-rpi4 5.4.83 kernel and I also had bluetooth connecting issues with the image’s default bluetooth package. I then switched to the linux-rpi4-mainline kernel and was able to connect.
Try installing the linux-rpi4-mainline & linux-rpi4-mainline -headers packages and re-boot and see what it does.
You might as well stay on the linux-rpi4-mainline kernel as that is what the RPi folks are going to and all of their efforts right now is on the 5.10 kernel. They have not upgraded the 5.4 kernel in a month.
Ok bluetooth is back.
I downgraded linux-firmware from 20201218.646f159-1 to 20201120.bc9cd0b-1 which had no effect.
What made it work is to reinstall the pi-bluetooth package version 1-3
I’m pretty sure I installed it manually at some point because I had troubles with bluetooth after an update a couple of months ago. For some reason it was replaced by 1.2_4 at some point. Today checking my pkg cache I found the 1-3 pkg and tried to reinstall it, it works fine.
Since I had downgraded stuff after the update I have currently:
linux-rpi4-headers [Installed] 5.4.80-1
linux-rpi4 [Installed] 5.4.80-1
linux-firmware [Installed] 20201120.bc9cd0b-1
pi-bluetooth [Installed] 1-3 AUR
Note that 1-3 is not the version on AUR.
Now that I know how to get it working I’ll try to upgrade the kernel and firmware later.
We stopped using that a while back because of people were having choppy bluetooth audio; it it not even in the repo now. We switched to brcm-patchram-plus. Both of these packages should work as they use the firmware in /usr/lib/firmware/brcm/.
While trying to fix my issue, I did fresh install on another SD card using same image I used a few months ago in order to compare with my current system, the image was Manjaro sway 20.10 on Oct 17 according to my fs’ timestamp (I just checked, the sha1sum for this img is different from the one currently available for download on the website), it comes with community/pi-bluetooth 1-2 installed. The timestamp for pi-bluetooth 1-3 in my pkg cache is Nov 15, so I don’t know whether it somewhat matches the time when pi-bluetooth was removed, but I remember that it was already related to this package last time I had to fix a bluetooth issue.
We switched to brcm-patchram-plus. Both of these packages should work as they use the firmware in /usr/lib/firmware/brcm/.
This is not installed on my setup, I’ll try it see how it goes.