broadcom-bt-firmware icon indicating copy to clipboard operation
broadcom-bt-firmware copied to clipboard

Kernel 5.12 - Bluetooth: hci0: BCM: firmware Patch file not found

Open Xavron opened this issue 3 years ago • 8 comments

Describe the bug Resume computer and screen may wake up to this error. Never happened before kernel 5.12.6.

uname -a Linux 5.12.6-200.fc33.x86_64

dmesg | grep -i Bluetooth usb 1-9: Product: BCM920702 Bluetooth 4.0 Core ver 2.22 ... initialized... ... hci0: BCM20702A1 (001.002.014) build 1764 hci0: BCM: firmware Patch file not found, tried: hci0: BCM: 'brcm/BCM20702A1-0a5c-21e8.hcd' hci0: BCM: 'brcm/BCM-0a5c-21e8.hcd' ...

Xavron avatar May 26 '21 21:05 Xavron

I'm not sure what's going on. Maybe Redhat messed up Fedora 33 or something but the hcd file wasn't in /lib/... and dnf isn't finding broadcom-bt-firmware even though I thought that I installed it from there and another update from a different repo isn't being found either.

If it looks like something to you, let me know. I will see if the hcd file fixes it. Thanks.

*Just found the other software with dnf and see that somehow that repo switched to Fedora 32. But the non-free one for broadcom-bt-firmware looks to be on Fedora 33 so different issue. Crazy crazy.

Xavron avatar May 26 '21 22:05 Xavron

Adding the file manually produces: hci0: BCM20702A1 (001.002.014) build 0000 hci0: BCM20702A1 'brcm/BCM20702A1-0a5c-21e8.hcd' Patch hci0: Broadcom Bluetooth Device

Guess its fine now but I still have no idea what happened as it was always fine before now.

Also dnf history somewhat shows broadcom-bt-firmware was installed previously. It doesn't display the package name. So I suppose it changed with rpmfusion since then. Either that or dnf is totally messed up.

I will leave it to you to close. Maybe you will see something I don't see.

Xavron avatar May 27 '21 00:05 Xavron

Finally figured out why broadcom-bt-firmware is missing with rpmfusion nonfree and dnf... the rpmfusion devs decided to change how rpmfusion repo's worked breaking existing uses.

Then they or Redhat have that messed up and put broadcom-bt-firmware in nonfree tainted repo which isn't even available on Fedora 33 through dnf install. Only free tainted is.

Looks like have to manually download the rpm at this time.

Xavron avatar May 27 '21 04:05 Xavron

Reinstalling the rpm added additional 113 missing files and thus can solve the issue I suppose. Probably more important why files went missing in the first place.

Probably not a bug for here.

Xavron avatar May 27 '21 04:05 Xavron

And now dnf has broadcom-bt-firmware again lol. Feels like I'm going nuts. It was there, it wasn't there, its there again. :-)

Looks like it can find it when side installing it but still won't grab it from the repo.

I'm officially done here.

Xavron avatar May 28 '21 10:05 Xavron

Adding the file manually produces: hci0: BCM20702A1 (001.002.014) build 0000 hci0: BCM20702A1 'brcm/BCM20702A1-0a5c-21e8.hcd' Patch hci0: Broadcom Bluetooth Device

Guess its fine now but I still have no idea what happened as it was always fine before now.

Also dnf history somewhat shows broadcom-bt-firmware was installed previously. It doesn't display the package name. So I suppose it changed with rpmfusion since then. Either that or dnf is totally messed up.

I will leave it to you to close. Maybe you will see something I don't see.

What file did you add? Im getting the same error (among others) with my bluetooth. it works for e second and is disbled. When query "dmesg | grep Bluetooth" Im getting that same error. Just installed Ubuntu fresh and getting this.

Edit: okay I just installed the latest .deb and it seems to solve the problem after a restart.

garcipat avatar Nov 13 '22 13:11 garcipat

Adding the file manually produces: hci0: BCM20702A1 (001.002.014) build 0000 hci0: BCM20702A1 'brcm/BCM20702A1-0a5c-21e8.hcd' Patch hci0: Broadcom Bluetooth Device Guess its fine now but I still have no idea what happened as it was always fine before now. Also dnf history somewhat shows broadcom-bt-firmware was installed previously. It doesn't display the package name. So I suppose it changed with rpmfusion since then. Either that or dnf is totally messed up. I will leave it to you to close. Maybe you will see something I don't see.

What file did you add? Im getting the same error (among others) with my bluetooth. it works for e second and is disbled. When query "dmesg | grep Bluetooth" Im getting that same error. Just installed Ubuntu fresh and getting this.

Edit: okay I just installed the latest .deb and it seems to solve the problem after a restart.

Can you advise that deb file? Got same problem on my Lenovo

berrycow2 avatar Jun 11 '23 07:06 berrycow2

It's ok, found it here: https://github.com/winterheart/broadcom-bt-firmware/releases

berrycow2 avatar Jun 11 '23 07:06 berrycow2