winterheart / broadcom-bt-firmware

Repository for various Broadcom Bluetooth firmware
Other
998 stars 142 forks source link

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

Open Xavron opened 3 years ago

Xavron commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.

garcipat commented 1 year ago

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.

berrycow2 commented 1 year ago

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 commented 1 year ago

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

gwapocom commented 1 month ago

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.

How to add that file where did you add it???

zz64 commented 1 month ago

Hi, same here

[   10.858572] Bluetooth: hci0: BCM: chip id 84
[   10.859131] Bluetooth: hci0: BCM: features 0x0f
[   10.860321] Bluetooth: hci0: BCM4324B3
[   10.860334] Bluetooth: hci0: BCM4324B3 (002.004.006) build 0000
[   10.863195] bluetooth hci0: firmware: failed to load brcm/BCM4324B3.hcd (-2)
[   10.863456] bluetooth hci0: firmware: failed to load brcm/BCM4324B3.hcd (-2)
[   10.863518] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   10.863769] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   10.863781] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   10.863833] Bluetooth: hci0: BCM: 'brcm/BCM4324B3.hcd'
[   10.863867] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
[   10.933392] rt5645 i2c-10EC5640:00: Device with ID register 0x6271 is not rt5645 or rt5650
[   11.013913] rt5651 i2c-10EC5640:00: Device with ID register 0x6271 is not rt5651
[   11.052245] rt5670 i2c-10EC5640:00: quirk GPIO1 is IRQ
[   11.052257] rt5670 i2c-10EC5640:00: quirk DMIC enabled
[   11.052262] rt5670 i2c-10EC5640:00: quirk DMIC2 on INR pin
[   11.052266] rt5670 i2c-10EC5640:00: quirk JD mode 1

Hardware:

System Information
        Manufacturer: Dell Inc.
        Product Name: Venue 10 Pro 5055
        Version: A08
        Wake-up Type: Power Switch
        SKU Number: Venue 10 Pro 5055
        Family: Venue

Debian Trixie, Kernel Linux 6.10.3-amd64

Thanks.

winterheart commented 1 month ago

Hi, same here

[   10.858572] Bluetooth: hci0: BCM: chip id 84
[   10.859131] Bluetooth: hci0: BCM: features 0x0f
[   10.860321] Bluetooth: hci0: BCM4324B3
[   10.860334] Bluetooth: hci0: BCM4324B3 (002.004.006) build 0000
[   10.863195] bluetooth hci0: firmware: failed to load brcm/BCM4324B3.hcd (-2)
[   10.863456] bluetooth hci0: firmware: failed to load brcm/BCM4324B3.hcd (-2)
[   10.863518] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   10.863769] bluetooth hci0: firmware: failed to load brcm/BCM.hcd (-2)
[   10.863781] Bluetooth: hci0: BCM: firmware Patch file not found, tried:
[   10.863833] Bluetooth: hci0: BCM: 'brcm/BCM4324B3.hcd'
[   10.863867] Bluetooth: hci0: BCM: 'brcm/BCM.hcd'
[   10.933392] rt5645 i2c-10EC5640:00: Device with ID register 0x6271 is not rt5645 or rt5650
[   11.013913] rt5651 i2c-10EC5640:00: Device with ID register 0x6271 is not rt5651
[   11.052245] rt5670 i2c-10EC5640:00: quirk GPIO1 is IRQ
[   11.052257] rt5670 i2c-10EC5640:00: quirk DMIC enabled
[   11.052262] rt5670 i2c-10EC5640:00: quirk DMIC2 on INR pin
[   11.052266] rt5670 i2c-10EC5640:00: quirk JD mode 1

Hardware:

System Information
        Manufacturer: Dell Inc.
        Product Name: Venue 10 Pro 5055
        Version: A08
        Wake-up Type: Power Switch
        SKU Number: Venue 10 Pro 5055
        Family: Venue

Debian Trixie, Kernel Linux 6.10.3-amd64

Thanks.

Hello. Your device belongs to another type of Broadcom BT devices - UART, which is not covered by this repository. You can try to manually download cab from MS Update, unpack and try one of HCD files inside on it.

winterheart commented 1 month ago

You need one of BCM4324B3_002.004.006.*.hcd files.

zz64 commented 1 month ago

You need one of BCM4324B3_002.004.006.*.hcd files.

Thanks winterheart, you right :+1: is succesfully working using " Broadcom - Bluetooth Controller Non USB - Broadcom Serial Bus Driver over UART Bus Enumerator " (2/23/2016).